mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Tweak generated warning lines.
Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
c3d93da03b
commit
e8b7c0c472
@ -16,6 +16,8 @@ my $recurse = 0;
|
|||||||
my $reindex = 0;
|
my $reindex = 0;
|
||||||
my $dowrite = 0;
|
my $dowrite = 0;
|
||||||
my $staticloader = "";
|
my $staticloader = "";
|
||||||
|
my @t = localtime();
|
||||||
|
my $YEAR = @t[5] + 1900;
|
||||||
|
|
||||||
my $pack_errcode;
|
my $pack_errcode;
|
||||||
my $load_errcode;
|
my $load_errcode;
|
||||||
@ -417,7 +419,7 @@ foreach $lib (keys %csrc)
|
|||||||
} else {
|
} else {
|
||||||
push @out,
|
push @out,
|
||||||
"/*\n",
|
"/*\n",
|
||||||
" * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.\n",
|
" * Copyright 1995-$YEAR The OpenSSL Project Authors. All Rights Reserved.\n",
|
||||||
" *\n",
|
" *\n",
|
||||||
" * Licensed under the OpenSSL license (the \"License\"). You may not use\n",
|
" * Licensed under the OpenSSL license (the \"License\"). You may not use\n",
|
||||||
" * this file except in compliance with the License. You can obtain a copy\n",
|
" * this file except in compliance with the License. You can obtain a copy\n",
|
||||||
@ -439,15 +441,15 @@ foreach $lib (keys %csrc)
|
|||||||
print OUT @out;
|
print OUT @out;
|
||||||
undef @out;
|
undef @out;
|
||||||
print OUT <<"EOF";
|
print OUT <<"EOF";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following lines are auto generated by the script mkerr.pl. Any changes
|
* Content after this point is generated by util/mkerr.pl
|
||||||
* made after this point may be overwritten when the script is next run.
|
* DO NOT EDIT!
|
||||||
*/
|
*/
|
||||||
EOF
|
EOF
|
||||||
if($static) {
|
if($static) {
|
||||||
print OUT <<"EOF";
|
print OUT <<"EOF";
|
||||||
${staticloader}void ERR_load_${lib}_strings(void);
|
${staticloader}void ERR_load_${lib}_strings(void);
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
} else {
|
} else {
|
||||||
print OUT <<"EOF";
|
print OUT <<"EOF";
|
||||||
@ -564,18 +566,13 @@ EOF
|
|||||||
|
|
||||||
print OUT <<"EOF";
|
print OUT <<"EOF";
|
||||||
/*
|
/*
|
||||||
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
* Generated by util/mkerr.pl DO NOT EDIT
|
||||||
|
* Copyright 1995-$YEAR The OpenSSL Project Authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||||
* this file except in compliance with the License. You can obtain a copy
|
* this file except in compliance with the License. You can obtain a copy
|
||||||
* in the file LICENSE in the source distribution or at
|
* in the file LICENSE in the source distribution or at
|
||||||
* https://www.openssl.org/source/license.html
|
* https://www.openssl.org/source/license.html
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* NOTE: this file was auto generated by the mkerr.pl script: any changes
|
|
||||||
* made to it will be overwritten when the script next updates this file,
|
|
||||||
* only reason strings will be preserved.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user