summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-04-16 20:39:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-04-16 20:39:10 +0000
commit0b42c8e9442d14354d0c3dc40ea11ca81744f39f (patch)
treea88e15f71e751ac54787e17e12ad4420e78d46f2 /lib/libssl/ssl_txt.c
parentd1c2971263880f9044c4db378bfe322cd012ab6b (diff)
add back SRP. i was being too greedy.
Diffstat (limited to 'lib/libssl/ssl_txt.c')
-rw-r--r--lib/libssl/ssl_txt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libssl/ssl_txt.c b/lib/libssl/ssl_txt.c
index d3f304b73d9..91664ffe432 100644
--- a/lib/libssl/ssl_txt.c
+++ b/lib/libssl/ssl_txt.c
@@ -193,6 +193,12 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None")
<= 0) goto err;
#endif
+#ifndef OPENSSL_NO_SRP
+ if (BIO_puts(bp, "\n SRP username: ")
+ <= 0) goto err;
+ if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None")
+ <= 0) goto err;
+#endif
#ifndef OPENSSL_NO_TLSEXT
if (x->tlsext_tick_lifetime_hint) {
if (BIO_printf(bp,