diff options
Diffstat (limited to 'crypto/store/str_lib.c')
| -rw-r--r-- | crypto/store/str_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/store/str_lib.c b/crypto/store/str_lib.c index c0ad763e9a1c..32ae5bd3957d 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; \ |
