summaryrefslogtreecommitdiffstats
path: root/crypto/store
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-07-07 20:11:12 +0000
committerAndy Polyakov <appro@openssl.org>2007-07-07 20:11:12 +0000
commitaa8d6f3e8654478e22d3de6b407c6ca6f692f079 (patch)
treea14f327410d36e8aa34183a6efcff146ce610bfe /crypto/store
parent62aa5dd415dc24c3ea62007647ca3637f4764e5d (diff)
Typo in str_lib.c
PR: 1177
Diffstat (limited to 'crypto/store')
-rw-r--r--crypto/store/str_lib.c2
1 files changed, 1 insertions, 1 deletions
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; \