diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-08 11:59:48 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-08 11:59:48 +0000 |
commit | adfe54b7beb931fa0a717fc2831bada8b4f4fa16 (patch) | |
tree | a22299b9c7ce0cfe65657bff9deadadb83609e89 /crypto/ec | |
parent | b576337e8b0ddba25f3cbd8e920ca15cefc3e86c (diff) | |
download | openssl-adfe54b7beb931fa0a717fc2831bada8b4f4fa16.tar.gz |
Integrate ectest.c (which does not yet do anything).
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ectest.c | 25 |
1 files changed, 25 insertions, 0 deletions
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 <stdio.h> +#include <stdlib.h> + #include <openssl/ec.h> +#include <openssl/err.h> + + +#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; + } |