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

index dfbba42948ca9bdd8ca42a09a642b83b5a77da62..31bdbcf106c01262692f1fe37d0bd71b678726fc 100644 (file)
@@ -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)