From: Dr. Stephen Henson Date: Wed, 17 Nov 2010 18:16:57 +0000 (+0000) Subject: oops, reinstate TLSv1 string X-Git-Tag: OpenSSL_1_0_1-beta1~442 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d1e9ce753ce9492bd0484fa4026071b136441c5;p=oweals%2Fopenssl.git oops, reinstate TLSv1 string --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index dfbba42948..31bdbcf106 100644 --- 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)