Root/unrealircd/patches/01-no_openssl_ripe.patch

Source at commit 9b6e25c984c6e63deee620893faf08905630541e created 6 years 11 months ago.
By kyak, unrealircd: initial commit
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

Archive Download this file



interactive