GH1278: Removed error code for alerts Commit aea145e removed some error codes that are generated algorithmically: mapping alerts to error texts. Found by Andreas Karlsson. This restores them, and adds two missing ones. Reviewed-by: Matt Caswell <matt@openssl.org>
diff --git a/util/find-unused-errs b/util/find-unused-errs index d36789e..68cf66b 100755 --- a/util/find-unused-errs +++ b/util/find-unused-errs
@@ -21,6 +21,10 @@ git grep -l --full-name -F $F >$X2 NUM=`wc -l <$X2` test $NUM -gt 2 && continue + if grep -q $F crypto/err/openssl.ec ; then + echo Possibly unused $F found in openssl.ec + continue + fi echo $F for FILE in `cat $X2` ; do grep -v -w $F <$FILE >$FILE.new