Make output from openssl version -f consistent with previous versions
[openssl.git] / util / mkerr.pl
index aec401c77318df1d1fd4c2d91ccde6a5c9bee1f0..ee23a8291242afc6d5a16fdba84704279c358a57 100644 (file)
@@ -787,7 +787,7 @@ foreach (keys %rcodes) {
        push (@runref, $_) unless exists $urcodes{$_};
 }
 
-if($debug && defined(@funref) ) {
+if($debug && @funref) {
        print STDERR "The following function codes were not referenced:\n";
        foreach(sort @funref)
        {
@@ -795,7 +795,7 @@ if($debug && defined(@funref) ) {
        }
 }
 
-if($debug && defined(@runref) ) {
+if($debug && @runref) {
        print STDERR "The following reason codes were not referenced:\n";
        foreach(sort @runref)
        {