summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-09-08 17:27:34 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-09-08 17:27:34 +0000
commitcd2b10ed1d32c7b3cad251293c1328b49f7930a3 (patch)
tree9ebc3b9c271124557643e82c169500567dff7cd7 /lib/libssl/ssl_lib.c
parentefa109bd4bfd3e7dd5073ef8b04d82fc266a93f2 (diff)
Provide SSL_SESSION_is_resumable and SSL_set_psk_use_session_callback stubs
ok jsing
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index d53bb66b57e..430e9bdc120 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.266 2021/09/08 17:24:23 tb Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.267 2021/09/08 17:27:33 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1724,6 +1724,12 @@ SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data,
*len = ssl->s3->internal->alpn_selected_len;
}
+void
+SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb)
+{
+ return;
+}
+
int
SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen,
const char *label, size_t llen, const unsigned char *p, size_t plen,