diff options
| author | claudio <> | 2017-05-04 11:31:45 +0000 |
|---|---|---|
| committer | claudio <> | 2017-05-04 11:31:45 +0000 |
| commit | e3d318b9c82a297d07d5184dbd8ab357bc890c0b (patch) | |
| tree | a8cd5b2670408fed97ce41e5c7c96d5d3b5a6822 /src/lib/libtls/tls_internal.h | |
| parent | c126eefc67a7230110866648cb9fbe08565cd511 (diff) | |
| download | openbsd-e3d318b9c82a297d07d5184dbd8ab357bc890c0b.tar.gz openbsd-e3d318b9c82a297d07d5184dbd8ab357bc890c0b.tar.bz2 openbsd-e3d318b9c82a297d07d5184dbd8ab357bc890c0b.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 '')
| -rw-r--r-- | src/lib/libtls/tls_internal.h | 6 |
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); | |||
| 242 | int tls_hex_string(const unsigned char *_in, size_t _inlen, char **_out, | 242 | int tls_hex_string(const unsigned char *_in, size_t _inlen, char **_out, |
| 243 | size_t *_outlen); | 243 | size_t *_outlen); |
| 244 | int tls_cert_hash(X509 *_cert, char **_hash); | 244 | int tls_cert_hash(X509 *_cert, char **_hash); |
| 245 | void 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 */ | ||
| 249 | void tls_config_skip_private_key_check(struct tls_config *config); | ||
| 250 | |||
| 249 | #endif /* HEADER_TLS_INTERNAL_H */ | 251 | #endif /* HEADER_TLS_INTERNAL_H */ |
