aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha1test.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-07-30 23:57:25 +0000
committerBen Laurie <ben@openssl.org>2001-07-30 23:57:25 +0000
commitdbad169019598981174ff46c7a9bf58373b0e53a (patch)
treece8ca1188d5614648f24b03967785543f1edc8f5 /crypto/sha/sha1test.c
parent3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50 (diff)
downloadopenssl-dbad169019598981174ff46c7a9bf58373b0e53a.tar.gz
Really add the EVP and all of the DES changes.
Diffstat (limited to 'crypto/sha/sha1test.c')
-rw-r--r--crypto/sha/sha1test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c
index a915981b5b..bddfff0c85 100644
--- a/crypto/sha/sha1test.c
+++ b/crypto/sha/sha1test.c
@@ -68,6 +68,7 @@ int main(int argc, char *argv[])
}
#else
#include <openssl/evp.h>
+#include <openssl/sha.h>
#ifdef CHARSET_EBCDIC
#include <openssl/ebcdic.h>
@@ -114,6 +115,7 @@ int main(int argc, char *argv[])
ebcdic2ascii(test[1], test[1], strlen(test[1]));
#endif
+ EVP_MD_CTX_init(&c);
P=(unsigned char **)test;
R=(unsigned char **)ret;
i=1;
@@ -154,6 +156,7 @@ int main(int argc, char *argv[])
else
printf("test 3 ok\n");
exit(err);
+ EVP_MD_CTX_cleanup(&c);
return(0);
}