summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorbeck <>2021-10-23 16:29:15 +0000
committerbeck <>2021-10-23 16:29:15 +0000
commit55a62758cd15b69f401e838bf3be390599af37a5 (patch)
tree38d02c3bf3e056c795b3de291d5640ccc31b6038 /src/lib/libssl/ssl.h
parent9dc0da1df478f56c0d7bda8d8baf60b103a8aa5c (diff)
downloadopenbsd-55a62758cd15b69f401e838bf3be390599af37a5.tar.gz
openbsd-55a62758cd15b69f401e838bf3be390599af37a5.tar.bz2
openbsd-55a62758cd15b69f401e838bf3be390599af37a5.zip
Add new OpenSSL API SSL_CTX_set_num_tickets and friends.
Since we don't support session tickets in LibreSSL at the moment these functions currently do not have any effect. Again, symbols will appear with tb@'s reptar sized bump.. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 1a0403c72b..a6ab4fc2f6 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.212 2021/10/23 15:30:44 beck Exp $ */ 1/* $OpenBSD: ssl.h,v 1.213 2021/10/23 16:29:15 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 *
@@ -509,6 +509,10 @@ typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line);
509#if defined(LIBRESSL_NEW_API) 509#if defined(LIBRESSL_NEW_API)
510void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb); 510void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb);
511SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx); 511SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx);
512int SSL_set_num_tickets(SSL *s, size_t num_tickets);
513size_t SSL_get_num_tickets(const SSL *s);
514int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
515size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx);
512#endif 516#endif
513 517
514#ifndef LIBRESSL_INTERNAL 518#ifndef LIBRESSL_INTERNAL