From aa8d6f3e8654478e22d3de6b407c6ca6f692f079 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 7 Jul 2007 20:11:12 +0000 Subject: [PATCH] Typo in str_lib.c PR: 1177 --- crypto/store/str_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.25.1