From 54478ac92a91ad974f1c19c3d225683bd5c75b45 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Fri, 1 Jul 2016 20:10:03 -0400 Subject: 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 --- util/find-unused-errs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') diff --git a/util/find-unused-errs b/util/find-unused-errs index d36789ef6f..68cf66b15f 100755 --- a/util/find-unused-errs +++ b/util/find-unused-errs @@ -21,6 +21,10 @@ for F in `cat $X1` ; do 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 -- cgit v1.2.3