author | Jiri Sasek <Jiri.Sasek@Oracle.COM> |
Tue, 27 Oct 2015 07:12:09 -0700 | |
changeset 5257 | 0da26ce015ab |
parent 4391 | e8bf9f68e01b |
permissions | -rw-r--r-- |
4391
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
1 |
This is an in-house patch that disables SSLv2 and SSLv3 protocol for |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
2 |
slrn. This change was sent upstream and will be incorporated into the |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
3 |
future release of version 1.0.3. |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
4 |
|
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
5 |
--- slrn-1.0.1-orig/src/sltcp.c 2015-05-29 10:44:11.635417452 -0700 |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
6 |
+++ slrn-1.0.1/src/sltcp.c 2015-05-29 10:44:58.038984691 -0700 |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
7 |
@@ -573,7 +573,7 @@ static SSL *alloc_ssl (void) |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
8 |
print_error (_("SSL_CTX_new failed.\n")); |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
9 |
return NULL; |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
10 |
} |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
11 |
- /* SSL_CTX_set_options (c, SSL_OP_NO_TLSv1); */ |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
12 |
+ SSL_CTX_set_options (c, SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3); |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
13 |
This_SSL_Ctx = c; |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
14 |
atexit (deinit_ssl); |
e8bf9f68e01b
20230829 problem in UTILITY/SLRN
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
15 |