diff options
author | Rich Salz <rsalz@akamai.com> | 2019-10-12 17:45:56 -0400 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-01-13 20:48:03 +0300 |
commit | d4bff20d55b7ab7b4dd43ada28372efb90942dfd (patch) | |
tree | 5ba4a0ee446083df0fb812dd37c1b95730629de7 /util | |
parent | 6d242fa585d6e52ee6e099ac4f89601231c0f1d3 (diff) |
Refactor the tls/dlts version options
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/10134)
Diffstat (limited to 'util')
-rw-r--r-- | util/dofile.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/dofile.pl b/util/dofile.pl index 57243880d4..6d4ffa4abd 100644 --- a/util/dofile.pl +++ b/util/dofile.pl @@ -40,6 +40,14 @@ my @autowarntext = ( . (scalar(@ARGV) > 0 ? " from " .join(", ", @ARGV) : "") ); +if (defined($opts{s})) { + local $/ = undef; + open VARS, $opts{s} or die "Couldn't open $opts{s}, $!"; + my $contents = <VARS>; + close VARS; + eval $contents; + die $@ if $@; +} die "Must have input files" if defined($opts{i}) and scalar(@ARGV) == 0; |