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:
1904342
)
oops, reinstate TLSv1 string
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Nov 2010 18:16:57 +0000
(18:16 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 17 Nov 2010 18:16:57 +0000
(18:16 +0000)
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index dfbba42948ca9bdd8ca42a09a642b83b5a77da62..31bdbcf106c01262692f1fe37d0bd71b678726fc 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-2436,6
+2436,8
@@
const char *SSL_get_version(const SSL *s)
{
if (s->version == TLS1_1_VERSION)
return("TLSv1.1");
+ if (s->version == TLS1_VERSION)
+ return("TLSv1");
else if (s->version == SSL3_VERSION)
return("SSLv3");
else if (s->version == SSL3_VERSION)