]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update conf.h.in to use the new lhash generation code
authorMatt Caswell <matt@openssl.org>
Fri, 11 Sep 2020 12:48:31 +0000 (13:48 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 18 Sep 2020 12:30:44 +0000 (13:30 +0100)
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)

include/openssl/conf.h.in

index 2f1fceb2fbfea6ea177ac91903150add0e12db3c..6e3a10ed55d6aa9d68a2648c185b6f0b4a926a8a 100644 (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;