]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 25 Feb 2003 21:33:32 +0000 (21:33 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 25 Feb 2003 21:33:32 +0000 (21:33 +0000)
src/tests.c

index 9423ee4b1823c03eb5a62368fd57c1a706bf0635..21cb10d641a2dba32951b2932b2f77b9bfab95a1 100644 (file)
@@ -403,6 +403,9 @@ int ret;
 
 }
 
+/* Advertize both TLS 1.0 and SSL 3.0 if the connection fails,
+ * but the previous SSL 3.0 test succeeded then disable TLS 1.0.
+ */
 int test_tls1_2( gnutls_session session) {
 int ret;
        ADD_ALL_CIPHERS(session);
@@ -506,7 +509,7 @@ int ret;
 
        ret = do_handshake( session);
        if (ret!=SUCCEED) return ret;
-       
+
        if (tls1_ok!=0 && gnutls_protocol_get_version( session)==GNUTLS_SSL3)
                return FAILED;