diff options
author | Rich Salz <rsalz@openssl.org> | 2016-07-01 20:10:03 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-08 13:28:33 -0400 |
commit | 54478ac92a91ad974f1c19c3d225683bd5c75b45 (patch) | |
tree | 051f6aa861bc31c05b08bce68f6aec29f2d6f283 /util/find-unused-errs | |
parent | 91da5e7710ba9cd36c5aef0a8056d5a0eb8bf524 (diff) | |
download | openssl-54478ac92a91ad974f1c19c3d225683bd5c75b45.tar.gz |
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>
Diffstat (limited to 'util/find-unused-errs')
-rwxr-xr-x | util/find-unused-errs | 4 |
1 files changed, 4 insertions, 0 deletions
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 |