Future-proof deprecated declartion parsing
Support two-digest major/minor/micro numbers and die when the input fails to parse Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
This commit is contained in:
parent
d594199bb4
commit
ca0004e561
@ -1681,7 +1681,8 @@ sub check_version_lte()
|
||||
sub do_deprecated()
|
||||
{
|
||||
my ($decl, $plats, $algs) = @_;
|
||||
$decl =~ /^\s*(DEPRECATEDIN_\d_\d_\d)\s*\((.*)\)\s*$/;
|
||||
$decl =~ /^\s*(DEPRECATEDIN_\d+_\d+_\d+)\s*\((.*)\)\s*$/
|
||||
or die "Bad DEPRECTEDIN: $decl\n";
|
||||
my $info1 .= "#INFO:";
|
||||
$info1 .= join(',', @{$plats}) . ":";
|
||||
my $info2 = $info1;
|
||||
|
Loading…
Reference in New Issue
Block a user