summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorclaudio <>2017-05-04 11:31:45 +0000
committerclaudio <>2017-05-04 11:31:45 +0000
commit368c36d15560665530746e106272e31a92b3fe41 (patch)
treea8cd5b2670408fed97ce41e5c7c96d5d3b5a6822 /src/lib
parent10e7c047170de727049c508ec5980d39fa2329c8 (diff)
downloadopenbsd-368c36d15560665530746e106272e31a92b3fe41.tar.gz
openbsd-368c36d15560665530746e106272e31a92b3fe41.tar.bz2
openbsd-368c36d15560665530746e106272e31a92b3fe41.zip
Move tls_config_skip_private_key_check() out from under HIDDEN_DECLS.
Even though this is not a real public interface we need the symbol in the shared library so that relayd can use it (needed for TLS key privsep) OK beck@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libtls/tls_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_internal.h b/src/lib/libtls/tls_internal.h
index bd23249e57..0c8e8c1d21 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.57 2017/04/10 17:11:13 jsing Exp $ */ 1/* $OpenBSD: tls_internal.h,v 1.58 2017/05/04 11:31:45 claudio 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>
@@ -242,8 +242,10 @@ struct tls_ocsp *tls_ocsp_setup_from_peer(struct tls *ctx);
242int tls_hex_string(const unsigned char *_in, size_t _inlen, char **_out, 242int tls_hex_string(const unsigned char *_in, size_t _inlen, char **_out,
243 size_t *_outlen); 243 size_t *_outlen);
244int tls_cert_hash(X509 *_cert, char **_hash); 244int tls_cert_hash(X509 *_cert, char **_hash);
245void tls_config_skip_private_key_check(struct tls_config *config);
246 245
247__END_HIDDEN_DECLS 246__END_HIDDEN_DECLS
248 247
248/* XXX this function is not fully hidden so relayd can use it */
249void tls_config_skip_private_key_check(struct tls_config *config);
250
249#endif /* HEADER_TLS_INTERNAL_H */ 251#endif /* HEADER_TLS_INTERNAL_H */