OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | --- a/include/struct.h |
| 2 | +++ b/include/struct.h |
| 3 | @@ -39,8 +39,10 @@ |
| 4 | #include <openssl/evp.h> |
| 5 | #include <openssl/rand.h> |
| 6 | #include <openssl/md5.h> |
| 7 | +#ifndef OPENSSL_NO_RIPEMD |
| 8 | #include <openssl/ripemd.h> |
| 9 | #endif |
| 10 | +#endif |
| 11 | #include "common.h" |
| 12 | #include "sys.h" |
| 13 | #include "hash.h" |
| 14 | --- a/include/auth.h |
| 15 | +++ b/include/auth.h |
| 16 | @@ -37,7 +37,9 @@ typedef struct { |
| 17 | #ifdef USE_SSL |
| 18 | #define AUTHENABLE_SHA1 |
| 19 | #define AUTHENABLE_SSL_CLIENTCERT |
| 20 | +#ifndef OPENSSL_NO_RIPEMD |
| 21 | #define AUTHENABLE_RIPEMD160 |
| 22 | +#endif |
| 23 | #define AUTHENABLE_SSL_CLIENTCERTFP |
| 24 | /* OpenSSL provides a crypt() */ |
| 25 | #ifndef AUTHENABLE_UNIXCRYPT |
| 26 |
