Check-in [8e510a3598]
Overview
Comment:Disable protocols if they are not compiled in
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tls-1-7
Files: files | file ages | folders
SHA1: 8e510a35981b1b58f9fbd47d690a7dc6a7ee1dc6
User & Date: rkeene on 2016-12-05 17:04:20
Other Links: branch diff | manifest | tags
Context
2016-12-06
04:42
Ensure that defines are not duplicated check-in: f0726c57a4 user: rkeene tags: tls-1-7
2016-12-05
17:04
Disable protocols if they are not compiled in check-in: 8e510a3598 user: rkeene tags: tls-1-7
16:58
Enforce socket in blocking mode during test where "gets" is expected to wait for a reply check-in: dc7bbc6de6 user: rkeene tags: tls-1-7
Changes

Modified tls.c from [606371c2d5] to [829214fd98].

714
715
716
717
718
719
720



721




722




723

724
725
726
727
728
729
730
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742







+
+
+

+
+
+
+

+
+
+
+

+







    int ssl2 = 1;
#endif
#if defined(NO_SSL3)
    int ssl3 = 0;
#else
    int ssl3 = 1;
#endif
#if defined(NO_TLS1)
    int tls1 = 0;
#else
    int tls1 = 1;
#endif
#if defined(NO_TLS1_1)
    int tls1_1 = 0;
#else
    int tls1_1 = 1;
#endif
#if defined(NO_TLS1_2)
    int tls1_2 = 0;
#else
    int tls1_2 = 1;
#endif
    int proto = 0;
    int verify = 0, require = 0, request = 1;

    if (objc < 2) {
	Tcl_WrongNumArgs(interp, 1, objv, "channel ?options?");
	return TCL_ERROR;
    }