Tidy up PKCS12_newpass() fix memory leaks.
[openssl.git] / apps / rehash.c
index 38084a247fb854601144a38569a33193afb923a2..895a222f0c785db5a346e025798a90159d4e1412 100644 (file)
@@ -210,7 +210,7 @@ static int handle_symlink(const char *filename, const char *fullpath)
         if (!isxdigit(ch))
             return -1;
         hash <<= 4;
-        hash += app_hex(ch);
+        hash += OPENSSL_hexchar2int(ch);
     }
     if (filename[i++] != '.')
         return -1;