summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-11-02 10:55:49 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-11-02 10:55:49 +0000
commit4a498e8f55d83cf10839b5b3f8903bfc241e49ee (patch)
tree15a257c83ba2a48663d53825797c242310e560db /lib/libssl/ssl.h
parent6b00ec08e17dbea3a7d81821486e22ba75dcfedb (diff)
Expand DECLARE_LHASH_OF and LHASH_OF macros.
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 600f8598fd3..f2aed06023b 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.97 2016/11/02 10:52:30 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.98 2016/11/02 10:55:48 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -681,7 +681,9 @@ struct ssl_comp_st {
};
DECLARE_STACK_OF(SSL_COMP)
-DECLARE_LHASH_OF(SSL_SESSION);
+struct lhash_st_SSL_SESSION {
+ int dummy;
+};
struct ssl_ctx_st {
const SSL_METHOD *method;
@@ -691,7 +693,7 @@ struct ssl_ctx_st {
STACK_OF(SSL_CIPHER) *cipher_list_by_id;
struct x509_store_st /* X509_STORE */ *cert_store;
- LHASH_OF(SSL_SESSION) *sessions;
+ struct lhash_st_SSL_SESSION *sessions;
/* Most session-ids that will be cached, default is
* SSL_SESSION_CACHE_MAX_SIZE_DEFAULT. 0 is unlimited. */
unsigned long session_cache_size;