oops, reinstate TLSv1 string
authorDr. Stephen Henson <steve@openssl.org>
Wed, 17 Nov 2010 18:17:08 +0000 (18:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 17 Nov 2010 18:17:08 +0000 (18:17 +0000)
ssl/ssl_lib.c

index 9990246fcb4b90c959d4cda1af3828516debbb3c..698d2e005e02be2d775e1d2a8e51ba608ae522d4 100644 (file)
@@ -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)