OSDN Git Service

xprtrdma: Per-mode handling for Remote Invalidation
[uclinux-h8/linux.git] / crypto / rsa_helper.c
index 0b66dc8..cad395d 100644 (file)
@@ -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--;
                }