From 4a498e8f55d83cf10839b5b3f8903bfc241e49ee Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Wed, 2 Nov 2016 10:55:49 +0000 Subject: Expand DECLARE_LHASH_OF and LHASH_OF macros. --- lib/libssl/ssl.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/libssl/ssl.h') 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; -- cgit v1.2.3