diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_txt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index 5186e396ec..91664ffe43 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
| @@ -114,9 +114,7 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) | |||
| 114 | goto err; | 114 | goto err; |
| 115 | if (BIO_puts(bp, "SSL-Session:\n") | 115 | if (BIO_puts(bp, "SSL-Session:\n") |
| 116 | <= 0) goto err; | 116 | <= 0) goto err; |
| 117 | if (x->ssl_version == SSL2_VERSION) | 117 | if (x->ssl_version == SSL3_VERSION) |
| 118 | s="SSLv2"; | ||
| 119 | else if (x->ssl_version == SSL3_VERSION) | ||
| 120 | s="SSLv3"; | 118 | s="SSLv3"; |
| 121 | else if (x->ssl_version == TLS1_2_VERSION) | 119 | else if (x->ssl_version == TLS1_2_VERSION) |
| 122 | s="TLSv1.2"; | 120 | s="TLSv1.2"; |
