diff options
-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 0b66dc8..cad395d 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, return -EINVAL; if (fips_enabled) { - while (!*ptr && n_sz) { + while (n_sz && !*ptr) { ptr++; n_sz--; } |