summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-11 13:48:31 +0100
committerMatt Caswell <matt@openssl.org>2020-09-18 13:30:44 +0100
commit2ca697ce0006efa0a7b3662a1360eea10a56d2ab (patch)
treeaee343e84d4acdd250b159f4854c23fe98bdc9aa /include
parent726b3293399cee7b1eedcfb3a524b91537bd5118 (diff)
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)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/conf.h.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/openssl/conf.h.in b/include/openssl/conf.h.in
index 2f1fceb2fb..6e3a10ed55 100644
--- a/include/openssl/conf.h.in
+++ b/include/openssl/conf.h.in
@@ -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;