From 7fb1a4692bad85df7678d15023511df969aff900 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Thu, 4 May 2017 11:31:46 +0000 Subject: 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@ --- lib/libtls/tls_internal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') 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 * Copyright (c) 2014 Joel Sing @@ -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 */ -- cgit v1.2.3