diff options
Diffstat (limited to 'src/lib/libtls/tls_internal.h')
-rw-r--r-- | src/lib/libtls/tls_internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h index 7b07c96c86..4fe4ee7811 100644 --- a/src/lib/libtls/tls_internal.h +++ b/src/lib/libtls/tls_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_internal.h,v 1.47 2016/11/04 18:07:24 beck Exp $ */ | 1 | /* $OpenBSD: tls_internal.h,v 1.48 2016/11/04 18:23:32 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> | 3 | * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> |
4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
@@ -24,6 +24,8 @@ | |||
24 | 24 | ||
25 | #include <openssl/ssl.h> | 25 | #include <openssl/ssl.h> |
26 | 26 | ||
27 | __BEGIN_HIDDEN_DECLS | ||
28 | |||
27 | #define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem" | 29 | #define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem" |
28 | 30 | ||
29 | #define TLS_CIPHERS_DEFAULT "TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE" | 31 | #define TLS_CIPHERS_DEFAULT "TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE" |
@@ -209,4 +211,6 @@ int tls_ocsp_verify_cb(SSL *ssl, void *arg); | |||
209 | void tls_ocsp_ctx_free(struct tls_ocsp_ctx *ctx); | 211 | void tls_ocsp_ctx_free(struct tls_ocsp_ctx *ctx); |
210 | struct tls_ocsp_ctx *tls_ocsp_setup_from_peer(struct tls *ctx); | 212 | struct tls_ocsp_ctx *tls_ocsp_setup_from_peer(struct tls *ctx); |
211 | 213 | ||
214 | __END_HIDDEN_DECLS | ||
215 | |||
212 | #endif /* HEADER_TLS_INTERNAL_H */ | 216 | #endif /* HEADER_TLS_INTERNAL_H */ |