Integrate ectest.c (which does not yet do anything).
[openssl.git] / crypto / ec / ectest.c
index 29cbe2617d729cf0131be94e3a110a1536968c5a..f557480f44ccd117abe419f1bed0a238e15cf142 100644 (file)
  *
  */
 
  *
  */
 
+#include <stdio.h>
+#include <stdlib.h>
+
 #include <openssl/ec.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;
+       }