Typo in str_lib.c [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Sat, 7 Jul 2007 20:12:12 +0000 (20:12 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 7 Jul 2007 20:12:12 +0000 (20:12 +0000)
PR: 1177

crypto/store/str_lib.c

index c0ad763e9a1cc4068f03e97a61e54891681a4c83..32ae5bd3957dfe8bc95b610d3503d4ceb48972b6 100644 (file)
@@ -236,7 +236,7 @@ const STORE_METHOD *STORE_set_method(STORE *store, const STORE_METHOD *meth)
 #define check_store(s,fncode,fnname,fnerrcode) \
        do \
                { \
-               if ((s) == NULL || (s)->meth) \
+               if ((s) == NULL || (s)->meth == NULL) \
                        { \
                        STOREerr((fncode), ERR_R_PASSED_NULL_PARAMETER); \
                        return 0; \