summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-03-15 22:17:15 +0000
committerYann Ylavic <ylavic@apache.org>2018-03-15 22:17:15 +0000
commit731b9cbe4854d8772b441b877ca076dfa4e42759 (patch)
treee824f580201856ced01dbf72f93e071b9cb0b122 /support
parentcd65f789940914587c7a3a853d7c1932eb5329f9 (diff)
downloadhttpd-731b9cbe4854d8772b441b877ca076dfa4e42759.tar.gz
ab: follow up to r1738415: handle any tmp key id.
Otherwise, we print garbage (e.g. for X25519). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1826880 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/ab.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/ab.c b/support/ab.c
index 273654586c..a7c4df8c6c 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -764,6 +764,11 @@ static void ssl_proceed_handshake(struct connection *c)
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);
}