projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437e505
)
Remove OPENSSL_assert() from conf_api.c
author
Matt Caswell
<matt@openssl.org>
Wed, 21 Jun 2017 14:54:25 +0000
(15:54 +0100)
committer
Matt Caswell
<matt@openssl.org>
Mon, 21 Aug 2017 07:44:44 +0000
(08:44 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3740)
crypto/conf/conf_api.c
patch
|
blob
|
history
diff --git
a/crypto/conf/conf_api.c
b/crypto/conf/conf_api.c
index 5535416ab3bf31fe8837fd48d8ef3e42333474ca..6026dca928214b06d9348ce841bd459cc9b3a275 100644
(file)
--- 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: