projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73216fc
)
SHA1, not SHA0
author
aland
<aland>
Thu, 5 Jun 2008 12:15:50 +0000
(12:15 +0000)
committer
aland
<aland>
Thu, 5 Jun 2008 12:15:50 +0000
(12:15 +0000)
src/include/sha1.h
patch
|
blob
|
history
diff --git
a/src/include/sha1.h
b/src/include/sha1.h
index
a196840
..
2880ac3
100644
(file)
--- a/
src/include/sha1.h
+++ b/
src/include/sha1.h
@@
-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 SHA
1
_Init
+#define fr_SHA1Update SHA
1
_Update
+#define fr_SHA1Final SHA
1
_Final
+#define fr_SHA1Transform SHA
1
_Transform
#endif
/*