Re: Any ETA on 2.1.22 final?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Two of the plugins (srp and passdss) can't compile against
Openssl-0.9.8a because they miss some headers.  They do build against
Openssl-0.9.7e, though.  I've attached a potential patch.  I guessed
on the directives, but they seem OK.

--
Dan
Index: plugins/passdss.c
===================================================================
RCS file: /cvs/src/sasl/plugins/passdss.c,v
retrieving revision 1.3
diff -p -u -r1.3 passdss.c
--- plugins/passdss.c	27 Nov 2004 16:17:43 -0000	1.3
+++ plugins/passdss.c	20 Apr 2006 22:47:06 -0000
@@ -68,6 +68,12 @@
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
 
+#if (OPENSSL_VERSION_NUMBER >= 0x0090800f)
+# include <openssl/md5.h>
+# include <openssl/sha.h>
+# include <openssl/dsa.h>
+#endif /* OpenSSL 0.9.8+ */
+
 #include <sasl.h>
 #define MD5_H  /* suppress internal MD5 */
 #include <saslplug.h>
Index: plugins/srp.c
===================================================================
RCS file: /cvs/src/sasl/plugins/srp.c,v
retrieving revision 1.57
diff -p -u -r1.57 srp.c
--- plugins/srp.c	23 Jun 2004 18:43:37 -0000	1.57
+++ plugins/srp.c	20 Apr 2006 22:47:09 -0000
@@ -87,6 +87,9 @@ typedef unsigned short uint32;
 /* for digest and cipher support */
 #include <openssl/evp.h>
 #include <openssl/hmac.h>
+#if (OPENSSL_VERSION_NUMBER >= 0x0090800f)
+# include <openssl/md5.h>
+#endif /* OpenSSL 0.9.8+ */
 
 #include <sasl.h>
 #define MD5_H  /* suppress internal MD5 */

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux