Displaying 4 results from an estimated 4 matches for "found_crypto".
2000 May 31
0
openssh 2.1.0p3 w/ rsaref
...use OpenSSL with RSAnull break it for rsaref. I've
attached a patch that fixes it for me.
Cheers,
Nalin
-------------- next part --------------
--- openssh-2.1.0p3/configure.in Wed May 31 08:56:52 2000
+++ openssh-2.1.0p3/configure.in Wed May 31 09:03:49 2000
@@ -231,7 +231,27 @@
[
found_crypto=1
break;
- ], []
+ ],
+ [
+ LIBS="$saved_LIBS -lcrypto -lRSAglue -lrsaref"
+ AC_TRY_RUN(
+ [
+ #include <string.h>
+ #include <openssl/rand.h>
+ int main(void)
+ {
+ char a[2048];
+ memset(a, 0, sizeof(a));
+ RAND_add(a, sizeof(a), si...
2002 Apr 03
2
cross compilation?
...-
RAND_add(a, sizeof(a), sizeof(a));
-
return(RAND_status() <= 0);
-}
+
#include <string.h>
+
#include <openssl/rand.h>
+
],
+
[
+
char a[2048];
+
memset(a, 0, sizeof(a));
+
RAND_add(a, sizeof(a), sizeof(a));
+
return(RAND_status() <= 0);
],
[
found_crypto=1
break;
-
], []
+
], [ ]
)
if test ! -z "$found_crypto" ; then
@@ -800,26 +791,26 @@
else
LIBS="$saved_LIBS -lRSAglue -lrsaref"
fi
-
AC_TRY_RUN([
-#include <string.h>
-#include <openssl/rand.h>
-#include <openssl/rsa.h>...
2000 Aug 26
0
New chroot patch, for 2.1.1p4
...>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
found_crypto=1
@@ -2846,7 +2848,7 @@
# Now test RSA support
saved_LIBS="$LIBS"
echo $ac_n "checking for RSA support""... $ac_c" 1>&6
-echo "configure:2850: checking for RSA support" >&5
+echo "configure:2852: checking for RSA support" >&5...
2000 Oct 04
0
2.2.0p1 chroot patch
...>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
found_crypto=1
@@ -2913,7 +2915,7 @@
# Now test RSA support
saved_LIBS="$LIBS"
echo $ac_n "checking for RSA support""... $ac_c" 1>&6
-echo "configure:2917: checking for RSA support" >&5
+echo "configure:2919: checking for RSA support" >&5...