projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove ecdh.h header
[openssl.git]
/
test
/
sha1test.c
diff --git
a/test/sha1test.c
b/test/sha1test.c
index 6b8ad42141e56791f0fed63ffa51523742e594b2..8cba4b22fd332d543b7bcf2d5144bf12e282bfef 100644
(file)
--- a/
test/sha1test.c
+++ b/
test/sha1test.c
@@
-96,7
+96,7
@@
int main(int argc, char *argv[])
ebcdic2ascii(test[1], test[1], strlen(test[1]));
#endif
- c = EVP_MD_CTX_
create
();
+ c = EVP_MD_CTX_
new
();
P = test;
R = ret;
i = 1;
@@
-136,8
+136,8
@@
int main(int argc, char *argv[])
if (err)
printf("ERROR: %d\n", err);
#endif
+ EVP_MD_CTX_free(c);
EXIT(err);
- EVP_MD_CTX_destroy(c);
return (0);
}