Detect SSL error code mishandling.

This commit is contained in:
Bodo Möller 2006-01-08 20:03:08 +00:00
parent a07b4dc038
commit 52cc46a237

View File

@ -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;
}