Fix test_ordinals
This used to work but somewhere along the line it broke and was failing to detect duplicate ordinals - which was the whole point of the test! Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
b7cb764614
commit
6b95a37833
@ -89,7 +89,7 @@ sub testordinals
|
|||||||
$newqual =~ s/!//g;
|
$newqual =~ s/!//g;
|
||||||
if ($cnt > $tokens[1]
|
if ($cnt > $tokens[1]
|
||||||
|| ($cnt == $tokens[1] && ($qualifier ne $newqual
|
|| ($cnt == $tokens[1] && ($qualifier ne $newqual
|
||||||
|| $qualifier eq "FUNCTION"))) {
|
|| $qualifier eq ""))) {
|
||||||
print STDERR "Invalid ordinal detected: ".$tokens[1]."\n";
|
print STDERR "Invalid ordinal detected: ".$tokens[1]."\n";
|
||||||
$ret = 0;
|
$ret = 0;
|
||||||
last;
|
last;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user