httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: svn commit: r1738415 - /httpd/httpd/trunk/support/ab.c
Date Fri, 29 Apr 2016 07:50:58 GMT
On Fri, Apr 29, 2016 at 9:38 AM, Ruediger Pluem <rpluem@apache.org> wrote:
> Anyone? Otherwise I would just revert on Monday.

Maybe:

Index: support/ab.c
===================================================================
--- support/ab.c    (revision 1741496)
+++ support/ab.c    (working copy)
@@ -725,11 +725,13 @@ static void ssl_proceed_handshake(struct connectio
                         break;
 #ifndef OPENSSL_NO_EC
                     case EVP_PKEY_EC: {
-                        const char *cname;
+                        const char *cname = NULL;
                         EC_KEY *ec = EVP_PKEY_get1_EC_KEY(key);
                         int nid =
EC_GROUP_get_curve_name(EC_KEY_get0_group(ec));
                         EC_KEY_free(ec);
+#if OPENSSL_VERSION_NUMBER >= 0x10002000L
                         cname = EC_curve_nid2nist(nid);
+#endif
                         if (!cname)
                             cname = OBJ_nid2sn(nid);

?

Regards,
Yann.

Mime
View raw message