Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 191197 Details for
Bug 269745
sys-auth/pam_ssh cross compilation failed because of configure tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pam_ssh remove rsa tests
pam_ssh-1.92-remove-rsa-tests.patch (text/plain), 1.53 KB, created by
Maksim 'max_posedon' Melnikau
on 2009-05-13 20:01:36 UTC
(
hide
)
Description:
pam_ssh remove rsa tests
Filename:
MIME Type:
Creator:
Maksim 'max_posedon' Melnikau
Created:
2009-05-13 20:01:36 UTC
Size:
1.53 KB
patch
obsolete
>--- configure.ac.old 2009-05-12 15:37:09.000000000 +0300 >+++ configure.ac 2009-05-12 15:38:54.000000000 +0300 >@@ -156,37 +156,6 @@ > fi > LIBS="$saved_LIBS -lcrypto" > >-# Now test RSA support >-saved_LIBS="$LIBS" >-AC_MSG_CHECKING([for RSA support]) >-for WANTS_RSAREF in "" 1 ; do >- if test -z "$WANTS_RSAREF" ; then >- LIBS="$saved_LIBS" >- else >- LIBS="$saved_LIBS -lRSAglue -lrsaref" >- fi >- AC_RUN_IFELSE([AC_LANG_SOURCE([[ >-#include <string.h> >-#include <openssl/rand.h> >-#include <openssl/rsa.h> >-#include <openssl/bn.h> >-#include <openssl/sha.h> >-int main(void) >-{ >- int num; RSA *key; static unsigned char p_in[] = "blahblah"; >- unsigned char c[256], p[256]; >- memset(c, 0, sizeof(c)); RAND_add(c, sizeof(c), sizeof(c)); >- if ((key=RSA_generate_key(512, 3, NULL, NULL))==NULL) return(1); >- num = RSA_public_encrypt(sizeof(p_in) - 1, p_in, c, key, RSA_PKCS1_PADDING); >- return(-1 == RSA_private_decrypt(num, c, p, key, RSA_PKCS1_PADDING)); >-} >- ]])],[ >- rsa_works=1 >- break; >- ],[],[]) >-done >-LIBS="$saved_LIBS" >- > if test ! -z "$no_rsa" ; then > AC_MSG_RESULT(disabled) > RSA_MSG="disabled" >@@ -206,20 +175,6 @@ > fi > fi > >-# Sanity check OpenSSL headers >-AC_MSG_CHECKING([whether OpenSSL's headers match the library]) >-AC_RUN_IFELSE([AC_LANG_SOURCE([[ >-#include <string.h> >-#include <openssl/opensslv.h> >-int main(void) { return(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); } >- ]])],[ >- AC_MSG_RESULT(yes) >- ],[ >- AC_MSG_RESULT(no) >- AC_MSG_ERROR(Your OpenSSL headers do not match your library) >- >-],[]) >- > dnl Checks for header files. > > AC_HEADER_STDC
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269745
: 191197 |
191201