aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-08 11:59:48 +0000
committerBodo Möller <bodo@openssl.org>2001-03-08 11:59:48 +0000
commitadfe54b7beb931fa0a717fc2831bada8b4f4fa16 (patch)
treea22299b9c7ce0cfe65657bff9deadadb83609e89 /crypto/ec
parentb576337e8b0ddba25f3cbd8e920ca15cefc3e86c (diff)
downloadopenssl-adfe54b7beb931fa0a717fc2831bada8b4f4fa16.tar.gz
Integrate ectest.c (which does not yet do anything).
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/ectest.c25
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;
+ }