diff options
author | Matt Caswell <matt@openssl.org> | 2017-06-21 15:54:25 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-21 08:44:44 +0100 |
commit | 64d9844ab6b6fb97ca270e236741f7dd61c1940b (patch) | |
tree | 7526fa8215d191e0219e5ca520a1acb9a2857084 /crypto | |
parent | 437e5050d585ede90301ddeee1532e22064e63eb (diff) |
Remove OPENSSL_assert() from conf_api.c
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3740)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/conf/conf_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/conf/conf_api.c b/crypto/conf/conf_api.c index 5535416ab3..6026dca928 100644 --- a/crypto/conf/conf_api.c +++ b/crypto/conf/conf_api.c @@ -204,7 +204,8 @@ CONF_VALUE *_CONF_new_section(CONF *conf, const char *section) v->value = (char *)sk; vv = lh_CONF_VALUE_insert(conf->data, v); - OPENSSL_assert(vv == NULL); + if (vv != NULL) + goto err; return v; err: |