summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2021-10-23 11:41:52 +0000
committerbeck <>2021-10-23 11:41:52 +0000
commit7585b0231596c5d2015f31d0be70147c37b7f771 (patch)
treefcc6827eb234fa77e1891d55e0878cd73d50c58d /src/lib/libssl/ssl_locl.h
parenta5f888f12a4a0e150b9d5d12d42393211132e830 (diff)
downloadopenbsd-7585b0231596c5d2015f31d0be70147c37b7f771.tar.gz
openbsd-7585b0231596c5d2015f31d0be70147c37b7f771.tar.bz2
openbsd-7585b0231596c5d2015f31d0be70147c37b7f771.zip
Add SSL_CTX_set_keylog_callback and SSL_CTX_get_keylog_callback
Some things in ports care about calling these functions. Since we will not provide private key logging functionality they are documented as being for compatibility and that they don't do anything. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 62f874061e..b41a5d803f 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.361 2021/10/23 08:34:36 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.362 2021/10/23 11:41:52 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -843,6 +843,7 @@ typedef struct ssl_ctx_internal_st {
843 uint8_t *tlsext_ecpointformatlist; /* our list */ 843 uint8_t *tlsext_ecpointformatlist; /* our list */
844 size_t tlsext_supportedgroups_length; 844 size_t tlsext_supportedgroups_length;
845 uint16_t *tlsext_supportedgroups; /* our list */ 845 uint16_t *tlsext_supportedgroups; /* our list */
846 SSL_CTX_keylog_cb_func keylog_callback; /* Unused. For OpenSSL compatibility. */
846} SSL_CTX_INTERNAL; 847} SSL_CTX_INTERNAL;
847 848
848struct ssl_ctx_st { 849struct ssl_ctx_st {