From a41735288c0d80f3fcb72051bdf75d2d33fed08d Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 13 Sep 2013 16:19:15 +0100 Subject: [PATCH] Add missing code from SSL_CONF backport. --- ssl/t1_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index ea10a52f91..10f094fcd5 100644 --- 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 */ -- 2.40.0