From 322625b5487527420cae0a6a1c0da8ecdc87fd4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Fri, 21 Oct 2016 17:58:28 +0200 Subject: Only do checks for SSL_get_server_tmp_key in network-openssl.c. --- src/core/tls.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core/tls.h') 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); -- cgit v1.2.3