From: Richard Levitte Date: Fri, 5 Aug 2016 08:57:47 +0000 (+0200) Subject: util/mkdef.pl: mark certain PEM function declarations with STDIO X-Git-Tag: OpenSSL_1_1_0~258 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=74656a82e606d7b4924166d459d18677ea83f9d8;p=oweals%2Fopenssl.git util/mkdef.pl: mark certain PEM function declarations with STDIO The macros that produce PEM_write_FOO() andd PEM_read_FOO() only do so unless 'no-stdio' has been configured. mkdef.pl should mimic that by marking those functions with the "STDIO" algo. Reviewed-by: Rich Salz --- diff --git a/util/mkdef.pl b/util/mkdef.pl index fa37ccb3e0..b54c925c4c 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -815,7 +815,7 @@ sub do_defs $def .= "#INFO:" .join(',',@current_platforms).":" - .join(',',@current_algorithms).";"; + .join(',',"STDIO",@current_algorithms).";"; $def .= "int PEM_read_$1(void);"; $def .= "int PEM_write_$1(void);"; $def .= @@ -832,7 +832,7 @@ sub do_defs $def .= "#INFO:" .join(',',@current_platforms).":" - .join(',',@current_algorithms).";"; + .join(',',"STDIO",@current_algorithms).";"; $def .= "int PEM_write_$1(void);"; $def .= "#INFO:" @@ -846,12 +846,12 @@ sub do_defs $def .= "#INFO:" .join(',',@current_platforms).":" - .join(',',@current_algorithms).";"; + .join(',',"STDIO",@current_algorithms).";"; $def .= "int PEM_read_$1(void);"; $def .= "#INFO:" .join(',',@current_platforms).":" - .join(',',@current_algorithms).";"; + .join(',',"STDIO",@current_algorithms).";"; # Things that are everywhere $def .= "int PEM_read_bio_$1(void);"; next;