Update conf.h.in to use the new lhash generation code

Generate the lhash macros for the CONF_VALUE type

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12860)
This commit is contained in:
Matt Caswell 2020-09-11 13:48:31 +01:00
parent 726b329339
commit 2ca697ce00

View File

@ -10,7 +10,7 @@
*/
{-
use OpenSSL::stackhash qw(generate_stack_macros);
use OpenSSL::stackhash qw(generate_stack_macros generate_lhash_macros);
-}
#ifndef OPENSSL_CONF_H
@ -40,11 +40,10 @@ typedef struct {
} CONF_VALUE;
{-
generate_stack_macros("CONF_VALUE");
generate_stack_macros("CONF_VALUE")
.generate_lhash_macros("CONF_VALUE");
-}
DEFINE_LHASH_OF(CONF_VALUE);
struct conf_st;
struct conf_method_st;
typedef struct conf_method_st CONF_METHOD;