summaryrefslogtreecommitdiff
path: root/src/core/tls.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2016-10-21 17:58:28 +0200
committerAlexander Færøy <ahf@0x90.dk>2016-10-22 22:04:33 +0200
commit322625b5487527420cae0a6a1c0da8ecdc87fd4b (patch)
tree78594a30667f9f17331047ff6493e6a4b96ecc8a /src/core/tls.h
parent0a6e66f8b794de76bd48bda199977b977a377e2e (diff)
downloadirssi-322625b5487527420cae0a6a1c0da8ecdc87fd4b.zip
Only do checks for SSL_get_server_tmp_key in network-openssl.c.
Diffstat (limited to 'src/core/tls.h')
-rw-r--r--src/core/tls.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/tls.h b/src/core/tls.h
index 4991f7ed..9ba4ac47 100644
--- a/src/core/tls.h
+++ b/src/core/tls.h
@@ -43,10 +43,8 @@ struct _TLS_REC {
char *not_after;
char *not_before;
-#ifdef SSL_get_server_tmp_key
char *ephemeral_key_algorithm;
size_t ephemeral_key_size;
-#endif
GSList *certs;
};
@@ -75,11 +73,8 @@ void tls_rec_set_certificate_fingerprint(TLS_REC *tls_rec, const char *fingerpri
void tls_rec_set_certificate_fingerprint_algorithm(TLS_REC *tls_rec, const char *algorithm);
void tls_rec_set_not_after(TLS_REC *tls_rec, const char *not_after);
void tls_rec_set_not_before(TLS_REC *tls_rec, const char *not_before);
-
-#ifdef SSL_get_server_tmp_key
void tls_rec_set_ephemeral_key_algorithm(TLS_REC *tls_rec, const char *algorithm);
void tls_rec_set_ephemeral_key_size(TLS_REC *tls_rec, size_t size);
-#endif
void tls_rec_append_cert(TLS_REC *tls_rec, TLS_CERT_REC *tls_cert_rec);