зеркало из https://github.com/Azure/sonic-openssh.git
- Define __progname in session.c if libc doesn't
- Remove indentation on autoconf #include statements to avoid bug in DEC Tru64 compiler. Report and fix from David Del Piero <David.DelPiero@qed.qld.gov.au>
This commit is contained in:
Родитель
06d84b78e9
Коммит
8117111a3c
1
CREDITS
1
CREDITS
|
@ -17,6 +17,7 @@ Chun-Chung Chen <cjj@u.washington.edu> - RPM fixes
|
|||
Dan Brosemer <odin@linuxfreak.com> - Autoconf support, build fixes
|
||||
Darren Hall <dhall@virage.org> - AIX patches
|
||||
David Agraz <dagraz@jahoopa.com> - Build fixes
|
||||
David Del Piero <David.DelPiero@qed.qld.gov.au> - bug fixes
|
||||
David Hesprich <darkgrue@gue-tech.org> - Configure fixes
|
||||
David Rankin <drankin@bohemians.lexington.ky.us> - libwrap, AIX, NetBSD fixes
|
||||
Gary E. Miller <gem@rellim.com> - SCO support
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
[ssh-agent.c]
|
||||
- Fix memory leak per connection. Report from Andy Spiegl <Andy@Spiegl.de>
|
||||
via Debian bug #59926
|
||||
- Define __progname in session.c if libc doesn't
|
||||
- Remove indentation on autoconf #include statements to avoid bug in
|
||||
DEC Tru64 compiler. Report and fix from David Del Piero
|
||||
<David.DelPiero@qed.qld.gov.au>
|
||||
|
||||
20000420
|
||||
- Make fixpaths work with perl4, patch from Andre Lucas
|
||||
|
|
52
configure.in
52
configure.in
|
@ -144,8 +144,8 @@ if test -z "$no_pam" -a "x$ac_cv_header_security_pam_appl_h" = "xyes" ; then
|
|||
AC_MSG_CHECKING([whether pam_strerror takes only one argument])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <stdlib.h>
|
||||
#include <security/pam_appl.h>
|
||||
#include <stdlib.h>
|
||||
#include <security/pam_appl.h>
|
||||
],
|
||||
[(void)pam_strerror((pam_handle_t *)NULL, -1);],
|
||||
[AC_MSG_RESULT(no)],
|
||||
|
@ -194,18 +194,18 @@ for ssldir in "" $tryssldir /usr/local/openssl /usr/lib/openssl /usr/local/ssl /
|
|||
|
||||
AC_TRY_RUN(
|
||||
[
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/sha.h>
|
||||
int main(void)
|
||||
{
|
||||
RSA *key; char a[2048],b[2048];;
|
||||
memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
|
||||
RAND_add(a, sizeof(a), sizeof(a));
|
||||
key=RSA_generate_key(32,3,NULL,NULL);
|
||||
if (key==NULL) return(1);
|
||||
return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));
|
||||
}
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/sha.h>
|
||||
int main(void)
|
||||
{
|
||||
RSA *key; char a[2048],b[2048];;
|
||||
memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
|
||||
RAND_add(a, sizeof(a), sizeof(a));
|
||||
key=RSA_generate_key(32,3,NULL,NULL);
|
||||
if (key==NULL) return(1);
|
||||
return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));
|
||||
}
|
||||
],
|
||||
[
|
||||
AC_DEFINE(HAVE_OPENSSL)
|
||||
|
@ -310,8 +310,8 @@ fi
|
|||
AC_MSG_CHECKING([for socklen_t])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
],
|
||||
[socklen_t foo; foo = 1235;],
|
||||
[
|
||||
|
@ -335,8 +335,8 @@ AC_TRY_COMPILE(
|
|||
AC_MSG_CHECKING([for struct sockaddr_storage])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
],
|
||||
[struct sockaddr_storage s;],
|
||||
[
|
||||
|
@ -371,9 +371,9 @@ AC_TRY_COMPILE(
|
|||
AC_MSG_CHECKING([for struct addrinfo])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
],
|
||||
[struct addrinfo s; s.ai_flags = AI_PASSIVE;],
|
||||
[
|
||||
|
@ -443,8 +443,8 @@ AC_EGREP_HEADER(ut_addr_v6, utmpx.h,
|
|||
AC_MSG_CHECKING([whether struct sockaddr_storage has ss_family field])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
],
|
||||
[struct sockaddr_storage s; s.ss_family = 1;],
|
||||
[
|
||||
|
@ -456,8 +456,8 @@ AC_TRY_COMPILE(
|
|||
AC_MSG_CHECKING([whether struct sockaddr_storage has __ss_family field])
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
],
|
||||
[struct sockaddr_storage s; s.__ss_family = 1;],
|
||||
[
|
||||
|
@ -775,7 +775,7 @@ AC_ARG_WITH(tcp-wrappers,
|
|||
AC_MSG_CHECKING(for libwrap)
|
||||
AC_TRY_LINK(
|
||||
[
|
||||
#include <tcpd.h>
|
||||
#include <tcpd.h>
|
||||
int deny_severity = 0, allow_severity = 0;
|
||||
],
|
||||
[hosts_access(0);],
|
||||
|
|
Загрузка…
Ссылка в новой задаче