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;
|
close IN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user