Update pre9
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ package OpenSSL::Template;
|
||||
use File::Basename;
|
||||
use File::Spec::Functions;
|
||||
use lib "$FindBin::Bin/perl";
|
||||
use with_fallback qw(Text::Template);
|
||||
use with_fallback "Text::Template 1.46";
|
||||
|
||||
#use parent qw/Text::Template/;
|
||||
use vars qw/@ISA/;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Getopt::Std;
|
||||
|
||||
our $opt_n = 0;
|
||||
|
||||
getopts('n') or die "Invalid option: $!\n";
|
||||
|
||||
print join(' ', @ARGV);
|
||||
print "\n" unless $opt_n;
|
||||
@@ -103,11 +103,14 @@ use constant {
|
||||
SIG_ALG_ECDSA_SECP256R1_SHA256 => 0x0403,
|
||||
SIG_ALG_ECDSA_SECP384R1_SHA384 => 0x0503,
|
||||
SIG_ALG_ECDSA_SECP521R1_SHA512 => 0x0603,
|
||||
SIG_ALG_RSA_PSS_SHA256 => 0x0804,
|
||||
SIG_ALG_RSA_PSS_SHA384 => 0x0805,
|
||||
SIG_ALG_RSA_PSS_SHA512 => 0x0806,
|
||||
SIG_ALG_RSA_PSS_RSAE_SHA256 => 0x0804,
|
||||
SIG_ALG_RSA_PSS_RSAE_SHA384 => 0x0805,
|
||||
SIG_ALG_RSA_PSS_RSAE_SHA512 => 0x0806,
|
||||
SIG_ALG_ED25519 => 0x0807,
|
||||
SIG_ALG_ED448 => 0x0808,
|
||||
SIG_ALG_RSA_PSS_PSS_SHA256 => 0x0809,
|
||||
SIG_ALG_RSA_PSS_PSS_SHA384 => 0x080a,
|
||||
SIG_ALG_RSA_PSS_PSS_SHA512 => 0x080b,
|
||||
SIG_ALG_RSA_PKCS1_SHA1 => 0x0201,
|
||||
SIG_ALG_ECDSA_SHA1 => 0x0203,
|
||||
SIG_ALG_DSA_SHA1 => 0x0202,
|
||||
|
||||
@@ -8,15 +8,17 @@
|
||||
package with_fallback;
|
||||
|
||||
sub import {
|
||||
shift;
|
||||
|
||||
use File::Basename;
|
||||
use File::Spec::Functions;
|
||||
foreach (@_) {
|
||||
eval "require $_";
|
||||
eval "use $_";
|
||||
if ($@) {
|
||||
unshift @INC, catdir(dirname(__FILE__),
|
||||
"..", "..", "external", "perl");
|
||||
my $transfer = "transfer::$_";
|
||||
eval "require $transfer";
|
||||
eval "use $transfer";
|
||||
shift @INC;
|
||||
warn $@ if $@;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user