diff options
Diffstat (limited to 'crypto/rsa_helper.c')
-rw-r--r-- | crypto/rsa_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa_helper.c b/crypto/rsa_helper.c index 0b66dc824606..cad395d70d78 100644 --- a/crypto/rsa_helper.c +++ b/crypto/rsa_helper.c | |||
@@ -30,7 +30,7 @@ int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, | |||
30 | return -EINVAL; | 30 | return -EINVAL; |
31 | 31 | ||
32 | if (fips_enabled) { | 32 | if (fips_enabled) { |
33 | while (!*ptr && n_sz) { | 33 | while (n_sz && !*ptr) { |
34 | ptr++; | 34 | ptr++; |
35 | n_sz--; | 35 | n_sz--; |
36 | } | 36 | } |