summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/openssl/crypto.h.in (renamed from include/openssl/crypto.h)12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h.in
index a7c2863b54..51f1977274 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h.in
@@ -1,4 +1,6 @@
/*
+ * {- join("\n * ", @autowarntext) -}
+ *
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
@@ -8,6 +10,11 @@
* https://www.openssl.org/source/license.html
*/
+{-
+use OpenSSL::stackhash qw(generate_stack_macros);
+-}
+
+
#ifndef OPENSSL_CRYPTO_H
# define OPENSSL_CRYPTO_H
# pragma once
@@ -170,7 +177,10 @@ struct crypto_ex_data_st {
STACK_OF(void) *sk;
};
-DEFINE_OR_DECLARE_STACK_OF(void)
+{-
+ generate_stack_macros("void");
+-}
+
/*
* Per class, we have a STACK of function pointers.