diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2017-05-04 11:31:46 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2017-05-04 11:31:46 +0000 |
commit | 7fb1a4692bad85df7678d15023511df969aff900 (patch) | |
tree | e62c0a6e6fc523c48e4ec474a8e3aeaa5448abdb /lib | |
parent | f584933f2ef0f5417151635af0a671507f9ec2bb (diff) |
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')
-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 */ |