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:
0338648
)
Add missing code from SSL_CONF backport.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 13 Sep 2013 15:19:15 +0000
(16:19 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 14 Sep 2013 12:53:44 +0000
(13:53 +0100)
ssl/t1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index ea10a52f9190610921ce2d8936fe2ef91b46bf33..10f094fcd5fc70d9121debffed7ab542ecb91005 100644
(file)
--- a/
ssl/t1_lib.c
+++ b/
ssl/t1_lib.c
@@
-525,6
+525,8
@@
int tls1_set_curves_list(unsigned char **pext, size_t *pextlen,
ncb.nidcnt = 0;
if (!CONF_parse_list(str, ':', 1, nid_cb, &ncb))
return 0;
+ if (pext == NULL)
+ return 1;
return tls1_set_curves(pext, pextlen, ncb.nid_arr, ncb.nidcnt);
}
/* For an EC key set TLS id and required compression based on parameters */