projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops, reinstate TLSv1 string
[openssl.git]
/
ssl
/
ssl_lib.c
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 9990246fcb4b90c959d4cda1af3828516debbb3c..698d2e005e02be2d775e1d2a8e51ba608ae522d4 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-2567,6
+2567,8
@@
const char *SSL_get_version(const SSL *s)
{
if (s->version == TLS1_1_VERSION)
return("TLSv1.1");
{
if (s->version == TLS1_1_VERSION)
return("TLSv1.1");
+ else if (s->version == TLS1_VERSION)
+ return("TLSv1");
else if (s->version == SSL3_VERSION)
return("SSLv3");
else if (s->version == SSL3_VERSION)
else if (s->version == SSL3_VERSION)
return("SSLv3");
else if (s->version == SSL3_VERSION)