fix deprecated statement
[openssl.git] / util / mkerr.pl
index 43b3af6555d62a30a1b96e4ecb4e900632ba97d4..b46aa68439bfb8219cbb5e198bb2b661be1fdb2a 100644 (file)
@@ -577,7 +577,7 @@ EOF
        print OUT <<"EOF";
 /* $cfile */
 /* ====================================================================
- * Copyright (c) 1999-2010 The OpenSSL Project.  All rights reserved.
+ * Copyright (c) 1999-2011 The OpenSSL Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -770,7 +770,7 @@ EOF
        undef %err_reason_strings;
 }
 
-if($debug && defined(%notrans)) {
+if($debug && %notrans) {
        print STDERR "The following function codes were not translated:\n";
        foreach(sort keys %notrans)
        {