From: Bodo Möller Date: Sun, 8 Jan 2006 20:03:08 +0000 (+0000) Subject: Detect SSL error code mishandling. X-Git-Tag: OpenSSL_0_9_8k^2~1598 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52cc46a23709def337dccb3b329183533341aa99;p=oweals%2Fopenssl.git Detect SSL error code mishandling. --- diff --git a/util/mkerr.pl b/util/mkerr.pl index 4cb48f9964..a5ba05a796 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -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; }