Proper solution to nasm compilation problems in Borland context.
[oweals/openssl.git] / crypto / ecdh / ecdhtest.c
index c0414b92d381a5513a68be3cce3c9d3248aae377..01baa5f4942f40b6e6bf16487b273a1f6313c9e2 100644 (file)
 
 #include "../e_os.h"
 
+#include <openssl/opensslconf.h>       /* for OPENSSL_NO_ECDH */
 #include <openssl/crypto.h>
 #include <openssl/bio.h>
 #include <openssl/bn.h>
-#include <openssl/ec.h>
 #include <openssl/objects.h>
 #include <openssl/rand.h>
 #include <openssl/sha.h>
@@ -89,6 +89,7 @@ int main(int argc, char *argv[])
     return(0);
 }
 #else
+#include <openssl/ec.h>
 #include <openssl/ecdh.h>
 
 #ifdef OPENSSL_SYS_WIN16