Fix no-ec with no-ec2m
authorMatt Caswell <matt@openssl.org>
Sun, 22 Mar 2015 15:58:00 +0000 (15:58 +0000)
committerMatt Caswell <matt@openssl.org>
Sun, 22 Mar 2015 20:32:49 +0000 (20:32 +0000)
Fix builds config'd with no-ec and no-ec2m. Technically this combination is
redundant - but the fix is straight forward. Fix from OpenWrt.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
ssl/t1_lib.c

index d85d26e596d935d0298245c3bbb68a5d53218291..a59fe82e1f7b1884e97f0a5188826f9755a5256c 100644 (file)
 #include <openssl/objects.h>
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
+#ifndef OPENSSL_NO_EC
 #ifdef OPENSSL_NO_EC2M
 # include <openssl/ec.h>
 #endif
+#endif
 #include <openssl/ocsp.h>
 #include <openssl/rand.h>
 #include "ssl_locl.h"