blob: b83ba7c09613f0a243db7396d0771ba9e501e4e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/src/tlsdate-helper.c
+++ b/src/tlsdate-helper.c
@@ -1133,10 +1133,12 @@ run_ssl (uint32_t *time_map, int time_is
{
verb ("V: using SSLv23_client_method()");
ctx = SSL_CTX_new(SSLv23_client_method());
+#ifndef OPENSSL_NO_SSL3
} else if (0 == strcmp("sslv3", protocol))
{
verb ("V: using SSLv3_client_method()");
ctx = SSL_CTX_new(SSLv3_client_method());
+#endif
} else if (0 == strcmp("tlsv1", protocol))
{
verb ("V: using TLSv1_client_method()");
|