projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5686d
)
oops, reinstate TLSv1 string
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Nov 2010 18:17:08 +0000
(18:17 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Nov 2010 18:17:08 +0000
(18:17 +0000)
ssl/ssl_lib.c
patch
|
blob
|
history
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");
+ else if (s->version == TLS1_VERSION)
+ return("TLSv1");
else if (s->version == SSL3_VERSION)
return("SSLv3");
else if (s->version == SSL3_VERSION)