From adfe54b7beb931fa0a717fc2831bada8b4f4fa16 Mon Sep 17 00:00:00 2001 From: Bodo Möller Date: Thu, 8 Mar 2001 11:59:48 +0000 Subject: Integrate ectest.c (which does not yet do anything). --- crypto/ec/ectest.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'crypto/ec') diff --git a/crypto/ec/ectest.c b/crypto/ec/ectest.c index 29cbe2617d..f557480f44 100644 --- a/crypto/ec/ectest.c +++ b/crypto/ec/ectest.c @@ -54,4 +54,29 @@ * */ +#include +#include + #include +#include + + +#define ABORT do { \ + fprintf(stderr, "%s:%d: Error\n", __FILE__, __LINE__); \ + ERR_print_errors_fp(stderr); \ + exit(1); \ +} while (0) + +int main(int argc, char *argv[]) + { + EC_GROUP *group; + + ERR_load_crypto_strings(); + +#if 0 + group = EC_GROUP_new(NULL); + if (!group) ABORT; +#endif + + return 0; + } -- cgit v1.2.3