summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorjsing <>2018-03-17 14:26:13 +0000
committerjsing <>2018-03-17 14:26:13 +0000
commitc4c1e84288a86d95e15fe7e412ca4b07fa5c10a0 (patch)
treeee409dfd3af40154d4169b0a8876a4f5a4eeb9c8 /src/lib/libssl/ssl.h
parent312779017f3b169989e1acb5381a4061b7370c43 (diff)
downloadopenbsd-c4c1e84288a86d95e15fe7e412ca4b07fa5c10a0.tar.gz
openbsd-c4c1e84288a86d95e15fe7e412ca4b07fa5c10a0.tar.bz2
openbsd-c4c1e84288a86d95e15fe7e412ca4b07fa5c10a0.zip
Provide SSL_SESSION_get0_id_context().
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 5f9d248ced..3a5e2f5f03 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.147 2018/03/15 12:27:01 jca Exp $ */ 1/* $OpenBSD: ssl.h,v 1.148 2018/03/17 14:26:13 jsing 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 *
@@ -1318,9 +1318,11 @@ int SSL_SESSION_set1_id_context(SSL_SESSION *s,
1318SSL_SESSION *SSL_SESSION_new(void); 1318SSL_SESSION *SSL_SESSION_new(void);
1319void SSL_SESSION_free(SSL_SESSION *ses); 1319void SSL_SESSION_free(SSL_SESSION *ses);
1320int SSL_SESSION_up_ref(SSL_SESSION *ss); 1320int SSL_SESSION_up_ref(SSL_SESSION *ss);
1321const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, 1321const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *ss,
1322 unsigned int *len); 1322 unsigned int *len);
1323unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s); 1323const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *ss,
1324 unsigned int *len);
1325unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *ss);
1324int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses); 1326int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1325int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses); 1327int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1326int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); 1328int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);