OSDN Git Service

Update OpenSSL to 1.0.1l.
[ffftp/ffftp.git] / contrib / openssl / include / openssl / bn.h
index 14ad109..c49acb9 100644 (file)
@@ -780,7 +780,9 @@ int RAND_pseudo_bytes(unsigned char *buf,int num);
 #define bn_wcheck_size(bn, words) \\r
        do { \\r
                const BIGNUM *_bnum2 = (bn); \\r
-               assert(words <= (_bnum2)->dmax && words >= (_bnum2)->top); \\r
+               assert((words) <= (_bnum2)->dmax && (words) >= (_bnum2)->top); \\r
+               /* avoid unused variable warning with NDEBUG */ \\r
+               (void)(_bnum2); \\r
        } while(0)\r
 \r
 #else /* !BN_DEBUG */\r