Overview
Comment: | Only check if SSL_OP_NO_SSLv2 is set if it is != 0 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
481d9ee374771ae138f2da06de709ee0 |
User & Date: | js on 2017-08-01 19:14:38 |
Other Links: | manifest | tags |
Context
2017-10-01
| ||
20:13 | Adjust to ObjFW changes check-in: b351c96f35 user: js tags: trunk | |
2017-08-01
| ||
19:14 | Only check if SSL_OP_NO_SSLv2 is set if it is != 0 check-in: 481d9ee374 user: js tags: trunk | |
19:03 | Fix compilation with GCC check-in: b9937d8663 user: js tags: trunk | |
Changes
Modified src/SSLSocket.m from [65706beec9] to [db77c4ed01].
︙ | |||
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | + + | SSL_library_init(); if ((ctx = SSL_CTX_new(SSLv23_method())) == NULL) @throw [OFInitializationFailedException exceptionWithClass: self]; #if SSL_OP_NO_SSLv2 != 0 if ((SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2) & SSL_OP_NO_SSLv2) == 0) @throw [OFInitializationFailedException exceptionWithClass: self]; #endif if (SSL_CTX_set_default_verify_paths(ctx) == 0) @throw [OFInitializationFailedException exceptionWithClass: self]; } - init |
︙ |