From: Andy Polyakov Date: Sat, 7 Jul 2007 20:12:12 +0000 (+0000) Subject: Typo in str_lib.c [from HEAD]. X-Git-Tag: FIPS_098_TEST_2~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0225c7a41e31c5cd39c7acf53250195a290f11a8;p=oweals%2Fopenssl.git Typo in str_lib.c [from HEAD]. PR: 1177 --- diff --git a/crypto/store/str_lib.c b/crypto/store/str_lib.c index c0ad763e9a..32ae5bd395 100644 --- a/crypto/store/str_lib.c +++ b/crypto/store/str_lib.c @@ -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; \