diff options
author | tedu <> | 2014-04-16 20:39:09 +0000 |
---|---|---|
committer | tedu <> | 2014-04-16 20:39:09 +0000 |
commit | e7892d59587f55067ca2e2bc6fa26cf4bcd6c084 (patch) | |
tree | 761d3461cd8f278c74120d2836c29dd21dc95be6 /src/lib/libssl/ssl_txt.c | |
parent | 750d86a4fc04f53024575d65269281ea6c4e450c (diff) | |
download | openbsd-e7892d59587f55067ca2e2bc6fa26cf4bcd6c084.tar.gz openbsd-e7892d59587f55067ca2e2bc6fa26cf4bcd6c084.tar.bz2 openbsd-e7892d59587f55067ca2e2bc6fa26cf4bcd6c084.zip |
add back SRP. i was being too greedy.
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r-- | src/lib/libssl/ssl_txt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index d3f304b73d..91664ffe43 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
@@ -193,6 +193,12 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) | |||
193 | if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") | 193 | if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") |
194 | <= 0) goto err; | 194 | <= 0) goto err; |
195 | #endif | 195 | #endif |
196 | #ifndef OPENSSL_NO_SRP | ||
197 | if (BIO_puts(bp, "\n SRP username: ") | ||
198 | <= 0) goto err; | ||
199 | if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None") | ||
200 | <= 0) goto err; | ||
201 | #endif | ||
196 | #ifndef OPENSSL_NO_TLSEXT | 202 | #ifndef OPENSSL_NO_TLSEXT |
197 | if (x->tlsext_tick_lifetime_hint) { | 203 | if (x->tlsext_tick_lifetime_hint) { |
198 | if (BIO_printf(bp, | 204 | if (BIO_printf(bp, |