SHA1, not SHA0
authoraland <aland>
Thu, 5 Jun 2008 12:15:50 +0000 (12:15 +0000)
committeraland <aland>
Thu, 5 Jun 2008 12:15:50 +0000 (12:15 +0000)
src/include/sha1.h

index a196840..2880ac3 100644 (file)
@@ -26,10 +26,10 @@ void fr_SHA1FinalNoLen(uint8_t digest[20], fr_SHA1_CTX* context);
 #include <openssl/sha.h>
 
 #define fr_SHA1_CTX    SHA_CTX
-#define fr_SHA1Init    SHA_Init
-#define fr_SHA1Update  SHA_Update
-#define fr_SHA1Final   SHA_Final
-#define fr_SHA1Transform SHA_Transform
+#define fr_SHA1Init    SHA1_Init
+#define fr_SHA1Update  SHA1_Update
+#define fr_SHA1Final   SHA1_Final
+#define fr_SHA1Transform SHA1_Transform
 #endif
 
 /*