summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ectest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ectest.c')
-rw-r--r--src/lib/libcrypto/ec/ectest.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/ec/ectest.c b/src/lib/libcrypto/ec/ectest.c
index 345d3e4289..eab46cc080 100644
--- a/src/lib/libcrypto/ec/ectest.c
+++ b/src/lib/libcrypto/ec/ectest.c
@@ -55,11 +55,6 @@
55 55
56#include <stdio.h> 56#include <stdio.h>
57#include <stdlib.h> 57#include <stdlib.h>
58#ifdef FLAT_INC
59#include "e_os.h"
60#else
61#include "../e_os.h"
62#endif
63#include <string.h> 58#include <string.h>
64#include <time.h> 59#include <time.h>
65 60
@@ -70,16 +65,14 @@ int main(int argc, char * argv[]) { puts("Elliptic curves are disabled."); retur
70 65
71 66
72#include <openssl/ec.h> 67#include <openssl/ec.h>
73#ifndef OPENSSL_NO_ENGINE
74#include <openssl/engine.h> 68#include <openssl/engine.h>
75#endif
76#include <openssl/err.h> 69#include <openssl/err.h>
77 70
78#define ABORT do { \ 71#define ABORT do { \
79 fflush(stdout); \ 72 fflush(stdout); \
80 fprintf(stderr, "%s:%d: ABORT\n", __FILE__, __LINE__); \ 73 fprintf(stderr, "%s:%d: ABORT\n", __FILE__, __LINE__); \
81 ERR_print_errors_fp(stderr); \ 74 ERR_print_errors_fp(stderr); \
82 EXIT(1); \ 75 exit(1); \
83} while (0) 76} while (0)
84 77
85#if 0 78#if 0
@@ -630,9 +623,7 @@ int main(int argc, char *argv[])
630 if (P_384) EC_GROUP_free(P_384); 623 if (P_384) EC_GROUP_free(P_384);
631 if (P_521) EC_GROUP_free(P_521); 624 if (P_521) EC_GROUP_free(P_521);
632 625
633#ifndef OPENSSL_NO_ENGINE
634 ENGINE_cleanup(); 626 ENGINE_cleanup();
635#endif
636 CRYPTO_cleanup_all_ex_data(); 627 CRYPTO_cleanup_all_ex_data();
637 ERR_free_strings(); 628 ERR_free_strings();
638 ERR_remove_state(0); 629 ERR_remove_state(0);