From 34b2b33a5d0f4a03a014f30aee8f81f2d1a63805 Mon Sep 17 00:00:00 2001 From: Mike Dulaney Date: Wed, 2 Oct 2024 18:48:18 +0000 Subject: [PATCH] Expose session serialization primitives --- src/_cffi_src/openssl/ssl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index c78d681dca8d..099ec4db13a6 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -297,6 +297,9 @@ SSL_SESSION *SSL_get_session(const SSL *); +SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **, const unsigned char **, long); +int i2d_SSL_SESSION(SSL_SESSION *, unsigned char **); + uint64_t SSL_set_options(SSL *, uint64_t); uint64_t SSL_get_options(SSL *);