diff options
author | djm <> | 2012-10-13 21:25:14 +0000 |
---|---|---|
committer | djm <> | 2012-10-13 21:25:14 +0000 |
commit | 93723b50b639d8dc717bc1bf463fd46e1b321239 (patch) | |
tree | 281e0a29ae8f87a8c47fbd4deaa1f3d48b8cc5c1 /src/lib/libssl/ssl_txt.c | |
parent | 65e72ac55a6405783db7a12d7e35a7561d46005b (diff) | |
download | openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.tar.gz openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.tar.bz2 openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.zip |
resolve conflicts
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r-- | src/lib/libssl/ssl_txt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index 3122440e26..6479d52c0c 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
@@ -115,6 +115,10 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) | |||
115 | s="SSLv2"; | 115 | s="SSLv2"; |
116 | else if (x->ssl_version == SSL3_VERSION) | 116 | else if (x->ssl_version == SSL3_VERSION) |
117 | s="SSLv3"; | 117 | s="SSLv3"; |
118 | else if (x->ssl_version == TLS1_2_VERSION) | ||
119 | s="TLSv1.2"; | ||
120 | else if (x->ssl_version == TLS1_1_VERSION) | ||
121 | s="TLSv1.1"; | ||
118 | else if (x->ssl_version == TLS1_VERSION) | 122 | else if (x->ssl_version == TLS1_VERSION) |
119 | s="TLSv1"; | 123 | s="TLSv1"; |
120 | else if (x->ssl_version == DTLS1_VERSION) | 124 | else if (x->ssl_version == DTLS1_VERSION) |
@@ -187,6 +191,10 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) | |||
187 | if (BIO_puts(bp,"\n PSK identity hint: ") <= 0) goto err; | 191 | if (BIO_puts(bp,"\n PSK identity hint: ") <= 0) goto err; |
188 | if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) goto err; | 192 | if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) goto err; |
189 | #endif | 193 | #endif |
194 | #ifndef OPENSSL_NO_SRP | ||
195 | if (BIO_puts(bp,"\n SRP username: ") <= 0) goto err; | ||
196 | if (BIO_printf(bp, "%s", x->srp_username ? x->srp_username : "None") <= 0) goto err; | ||
197 | #endif | ||
190 | #ifndef OPENSSL_NO_TLSEXT | 198 | #ifndef OPENSSL_NO_TLSEXT |
191 | if (x->tlsext_tick_lifetime_hint) | 199 | if (x->tlsext_tick_lifetime_hint) |
192 | { | 200 | { |