Detect SSL error code mishandling.
This commit is contained in:
parent
a07b4dc038
commit
52cc46a237
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue