44ec50eae4cd382d7b01ef01b9b89ab7f4884367
[openwrt.git] / package / libs / openssl / patches / 220-fix-no-ec-build.patch
1 --- a/ssl/t1_lib.c
2 +++ b/ssl/t1_lib.c
3 @@ -113,9 +113,11 @@
4  #include <openssl/objects.h>
5  #include <openssl/evp.h>
6  #include <openssl/hmac.h>
7 +#ifndef OPENSSL_NO_EC
8  #ifdef OPENSSL_NO_EC2M
9  # include <openssl/ec.h>
10  #endif
11 +#endif
12  #include <openssl/ocsp.h>
13  #include <openssl/rand.h>
14  #include "ssl_locl.h"