git.samba.org
/
abartlet
/
lorikeet-heimdal.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f6fae
)
Add more EVP_MD symbols, don't depend on SHA1_Init/SHA256_Init
author
Love Hornquist Astrand
<lha@h5l.org>
Mon, 17 Aug 2009 08:24:59 +0000
(10:24 +0200)
committer
Love Hornquist Astrand
<lha@h5l.org>
Mon, 17 Aug 2009 08:24:59 +0000
(10:24 +0200)
cf/crypto.m4
patch
|
blob
|
history
diff --git
a/cf/crypto.m4
b/cf/crypto.m4
index 48fa2f08c74acc49e576d746fb95ba724acb4cb3..a29b7648c5f887d69eda33ef0632b306998c06d4 100644
(file)
--- a/
cf/crypto.m4
+++ b/
cf/crypto.m4
@@
-38,12
+38,13
@@
m4_define([test_headers], [
])
m4_define([test_body], [
void *schedule = 0;
- SHA_CTX sha1;
- SHA256_CTX sha256;
EVP_MD_CTX mdctx;
- SHA1_Init(&sha1);
- SHA256_Init(&sha256);
+ EVP_md4();
+ EVP_md5();
+ EVP_sha1();
+ EVP_sha256();
+
EVP_MD_CTX_init(&mdctx);
EVP_DigestInit_ex(&mdctx, EVP_sha1(), (ENGINE *)0);
EVP_CIPHER_iv_length(((EVP_CIPHER*)0));