summaryrefslogtreecommitdiff
path: root/package/libs/openssl/patches/220-fix-no-ec-build.patch
blob: 44ec50eae4cd382d7b01ef01b9b89ab7f4884367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -113,9 +113,11 @@
 #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"