openssh 2.1.0p3 w/ rsaref
Nalin Dahyabhai
nalin at redhat.com
Thu Jun 1 05:06:37 EST 2000
Looks like the fixes to 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), sizeof(a));
+ return(RAND_status() <= 0);
+ }
+ ],
+ [
+ found_crypto=1
+ break;
+ ]
+ )
+ ]
)
if test ! -z "$found_crypto" ; then
More information about the openssh-unix-dev
mailing list