summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/util/mkerr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/util/mkerr.pl')
-rwxr-xr-xdeps/openssl/openssl/util/mkerr.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/openssl/openssl/util/mkerr.pl b/deps/openssl/openssl/util/mkerr.pl
index 0ea02961a5..df085fb3db 100755
--- a/deps/openssl/openssl/util/mkerr.pl
+++ b/deps/openssl/openssl/util/mkerr.pl
@@ -1,5 +1,5 @@
#! /usr/bin/env perl
-# Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 1999-2019 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
@@ -417,9 +417,7 @@ print STDERR "\n" if $debug;
&phase("Writing files");
my $newstate = 0;
foreach my $lib ( keys %errorfile ) {
- if ( ! $fnew{$lib} && ! $rnew{$lib} ) {
- next unless $rebuild;
- }
+ next if ! $fnew{$lib} && ! $rnew{$lib} && ! $rebuild;
next if scalar keys %modules > 0 && !$modules{$lib};
next if $nowrite;
print STDERR "$lib: $fnew{$lib} new functions\n" if $fnew{$lib};
@@ -455,6 +453,8 @@ foreach my $lib ( keys %errorfile ) {
#ifndef HEADER_${lib}ERR_H
# define HEADER_${lib}ERR_H
+# include <openssl/symhacks.h>
+
EOF
if ( $internal ) {
# Declare the load function because the generate C file