summaryrefslogtreecommitdiff
path: root/ssl/ssl_txt.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-12 17:01:19 +0000
committerBen Laurie <ben@openssl.org>2011-03-12 17:01:19 +0000
commitedc032b5e3f3ebb1006a9c89e0ae00504f47966f (patch)
tree34145e288daa107b0f9fcb951abd786804624081 /ssl/ssl_txt.c
parent0c4e67102eb8a05ab1f6673b670a09ce89aeb568 (diff)
downloadopenssl-new-edc032b5e3f3ebb1006a9c89e0ae00504f47966f.tar.gz
Add SRP support.
Diffstat (limited to 'ssl/ssl_txt.c')
-rw-r--r--ssl/ssl_txt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c
index cab712b9a8..552ec2b058 100644
--- a/ssl/ssl_txt.c
+++ b/ssl/ssl_txt.c
@@ -189,6 +189,10 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_puts(bp,"\n PSK identity hint: ") <= 0) goto err;
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)
{