diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-03 16:39:36 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-13 11:11:21 +0100 |
commit | 9cedfc90cebc905b20275d534699a1070bba65a4 (patch) | |
tree | c89a77f6534273680f2ca614e50761031b93b88f /include | |
parent | add339272773072e0d8995362c6167e515377c7f (diff) |
Fix safestack issues in ui.h
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12781)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ui.h.in (renamed from include/openssl/ui.h) | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/openssl/ui.h b/include/openssl/ui.h.in index f68a4e90a8..eb9a580fa8 100644 --- a/include/openssl/ui.h +++ b/include/openssl/ui.h.in @@ -1,4 +1,6 @@ /* + * {- join("\n * ", @autowarntext) -} + * * Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use @@ -7,6 +9,10 @@ * https://www.openssl.org/source/license.html */ +{- +use OpenSSL::stackhash qw(generate_stack_macros); +-} + #ifndef OPENSSL_UI_H # define OPENSSL_UI_H # pragma once @@ -285,7 +291,9 @@ const UI_METHOD *UI_null(void); */ typedef struct ui_string_st UI_STRING; -DEFINE_OR_DECLARE_STACK_OF(UI_STRING) +{- + generate_stack_macros("UI_STRING"); +-} /* * The different types of strings that are currently supported. This is only |