summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha1test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/sha/sha1test.c')
-rw-r--r--src/lib/libcrypto/sha/sha1test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/sha/sha1test.c b/src/lib/libcrypto/sha/sha1test.c
index 499a1cf5af..4f2e4ada2d 100644
--- a/src/lib/libcrypto/sha/sha1test.c
+++ b/src/lib/libcrypto/sha/sha1test.c
@@ -60,6 +60,8 @@
60#include <string.h> 60#include <string.h>
61#include <stdlib.h> 61#include <stdlib.h>
62 62
63#include "../e_os.h"
64
63#ifdef OPENSSL_NO_SHA 65#ifdef OPENSSL_NO_SHA
64int main(int argc, char *argv[]) 66int main(int argc, char *argv[])
65{ 67{
@@ -155,7 +157,7 @@ int main(int argc, char *argv[])
155 } 157 }
156 else 158 else
157 printf("test 3 ok\n"); 159 printf("test 3 ok\n");
158 exit(err); 160 EXIT(err);
159 EVP_MD_CTX_cleanup(&c); 161 EVP_MD_CTX_cleanup(&c);
160 return(0); 162 return(0);
161 } 163 }