problem building R9B-1 crypto under FreeBSD 4.8-RC2

Kent Boortz kent@REDACTED
Sun Mar 23 19:46:05 CET 2003


Chris Pressey <cpressey@REDACTED> writes:
> This is on a fresh FreeBSD 4.8-RC2 install (well, virtually fresh - I did
> one 'make update / make world' on it, last night, and there were only a
> handful of diffs.)  I think (am guessing) this might have something to do
> with the recent import of openssl 0.97 into 4.8-RC2.

Hopefully the patch from Jimmy Olgeni <olgeni@REDACTED> included below
will correct this problem,

kent


Building with OpenSSL 0.9.7 requires this patch:

--- lib/crypto/c_src/crypto_drv.c.orig	Thu Oct 21 15:37:08 1999
+++ lib/crypto/c_src/crypto_drv.c	Mon Mar  3 15:12:27 2003
@@ -29,6 +29,7 @@
 #include <string.h>
 #include "erl_driver.h"

+#define OPENSSL_DES_LIBDES_COMPATIBILITY
 #include "des.h"
 #include "md5.h"
 #include "sha.h"



More information about the erlang-questions mailing list