mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 04:24:23 +08:00
Detect SSL error code mishandling.
This commit is contained in:
parent
a07b4dc038
commit
52cc46a237
@ -205,6 +205,13 @@ while (($hdr, $lib) = each %libinc)
|
||||
}
|
||||
}
|
||||
|
||||
if ($lib eq "SSL") {
|
||||
if ($rmax{$lib} >= 1000) {
|
||||
print STDERR "!! ERROR: SSL error codes 1000+ are reserved for alerts.\n";
|
||||
print STDERR "!! Any new alerts must be added to $config.\n";
|
||||
print STDERR "\n";
|
||||
}
|
||||
}
|
||||
close IN;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user