diff options
author | 2018-02-22 17:25:18 +0000 | |
---|---|---|
committer | 2018-02-22 17:25:18 +0000 | |
commit | c6d61022a27f26e97012570c2697ecbe1aae7c1d (patch) | |
tree | 1d745aa77e32d03b1dad4f8bec4e95af1f49cf4d /lib/libssl/ssl.h | |
parent | Provide X509_chain_up_ref(). (diff) | |
download | wireguard-openbsd-c6d61022a27f26e97012570c2697ecbe1aae7c1d.tar.xz wireguard-openbsd-c6d61022a27f26e97012570c2697ecbe1aae7c1d.zip |
Provide SSL_SESSION_up_ref().
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r-- | lib/libssl/ssl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 47c90fb39db..c24c729bb26 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.141 2018/02/20 18:07:11 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.142 2018/02/22 17:25:18 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1290,12 +1290,13 @@ int SSL_SESSION_set1_id_context(SSL_SESSION *s, const unsigned char *sid_ctx, unsigned int sid_ctx_len); SSL_SESSION *SSL_SESSION_new(void); +void SSL_SESSION_free(SSL_SESSION *ses); +int SSL_SESSION_up_ref(SSL_SESSION *ss); const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, unsigned int *len); unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s); int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses); int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses); -void SSL_SESSION_free(SSL_SESSION *ses); int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); int SSL_set_session(SSL *to, SSL_SESSION *session); int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c); |