From edc032b5e3f3ebb1006a9c89e0ae00504f47966f Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 12 Mar 2011 17:01:19 +0000 Subject: Add SRP support. --- ssl/ssl_txt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ssl/ssl_txt.c') 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) { -- cgit v1.2.3