diff options
author | 2017-05-04 11:31:45 +0000 | |
---|---|---|
committer | 2017-05-04 11:31:45 +0000 | |
commit | 25ee42fc5628d7f9b44064ed193e16c28f71ec96 (patch) | |
tree | 8ef5a254ab9ebdde963792723b2bfbc3c9639d9f /lib/libtls/tls_internal.h | |
parent | If iwm_nic_lock() cannot access the device then print "acquiring device failed" (diff) | |
download | wireguard-openbsd-25ee42fc5628d7f9b44064ed193e16c28f71ec96.tar.xz wireguard-openbsd-25ee42fc5628d7f9b44064ed193e16c28f71ec96.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 'lib/libtls/tls_internal.h')
-rw-r--r-- | lib/libtls/tls_internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libtls/tls_internal.h b/lib/libtls/tls_internal.h index bd23249e574..0c8e8c1d215 100644 --- a/lib/libtls/tls_internal.h +++ b/lib/libtls/tls_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_internal.h,v 1.57 2017/04/10 17:11:13 jsing Exp $ */ +/* $OpenBSD: tls_internal.h,v 1.58 2017/05/04 11:31:45 claudio Exp $ */ /* * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org> * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> @@ -242,8 +242,10 @@ struct tls_ocsp *tls_ocsp_setup_from_peer(struct tls *ctx); int tls_hex_string(const unsigned char *_in, size_t _inlen, char **_out, size_t *_outlen); int tls_cert_hash(X509 *_cert, char **_hash); -void tls_config_skip_private_key_check(struct tls_config *config); __END_HIDDEN_DECLS +/* XXX this function is not fully hidden so relayd can use it */ +void tls_config_skip_private_key_check(struct tls_config *config); + #endif /* HEADER_TLS_INTERNAL_H */ |