You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2018/03/15 22:17:15 UTC
svn commit: r1826880 - /httpd/httpd/trunk/support/ab.c
Author: ylavic
Date: Thu Mar 15 22:17:15 2018
New Revision: 1826880
URL: http://svn.apache.org/viewvc?rev=1826880&view=rev
Log:
ab: follow up to r1738415: handle any tmp key id.
Otherwise, we print garbage (e.g. for X25519).
Modified:
httpd/httpd/trunk/support/ab.c
Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=1826880&r1=1826879&r2=1826880&view=diff
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Thu Mar 15 22:17:15 2018
@@ -764,6 +764,11 @@ static void ssl_proceed_handshake(struct
break;
}
#endif
+ default:
+ apr_snprintf(ssl_tmp_key, 128, "%s %d bits",
+ OBJ_nid2sn(EVP_PKEY_id(key)),
+ EVP_PKEY_bits(key));
+ break;
}
EVP_PKEY_free(key);
}