summaryrefslogtreecommitdiffstats
path: root/util/mkerr.pl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-01-08 20:03:08 +0000
committerBodo Möller <bodo@openssl.org>2006-01-08 20:03:08 +0000
commit52cc46a23709def337dccb3b329183533341aa99 (patch)
treef0d8ee729edbe0efbfc8ffdab9751132ae62a15c /util/mkerr.pl
parenta07b4dc038f9409b34a22be9d39a29df87f9d7d0 (diff)
Detect SSL error code mishandling.
Diffstat (limited to 'util/mkerr.pl')
-rw-r--r--util/mkerr.pl7
1 files changed, 7 insertions, 0 deletions
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;
}