summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-23 11:14:01 +1000
committerDamien Miller <djm@mindrot.org>2000-04-23 11:14:01 +1000
commit8117111a3c1360727e3c54aad31aa045e7a7871b (patch)
tree17697ba4b247b9e8ccd517c6794a12989e2d4f40
parent06d84b78e90d89f1c658470d467c14b86727db61 (diff)
- 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>
-rw-r--r--CREDITS1
-rw-r--r--ChangeLog4
-rw-r--r--configure.in52
3 files changed, 31 insertions, 26 deletions
diff --git a/CREDITS b/CREDITS
index 0fb1adae8..8658f2e0a 100644
--- a/CREDITS
+++ b/CREDITS
@@ -17,6 +17,7 @@ Chun-Chung Chen <cjj@u.washington.edu> - RPM fixes
17Dan Brosemer <odin@linuxfreak.com> - Autoconf support, build fixes 17Dan Brosemer <odin@linuxfreak.com> - Autoconf support, build fixes
18Darren Hall <dhall@virage.org> - AIX patches 18Darren Hall <dhall@virage.org> - AIX patches
19David Agraz <dagraz@jahoopa.com> - Build fixes 19David Agraz <dagraz@jahoopa.com> - Build fixes
20David Del Piero <David.DelPiero@qed.qld.gov.au> - bug fixes
20David Hesprich <darkgrue@gue-tech.org> - Configure fixes 21David Hesprich <darkgrue@gue-tech.org> - Configure fixes
21David Rankin <drankin@bohemians.lexington.ky.us> - libwrap, AIX, NetBSD fixes 22David Rankin <drankin@bohemians.lexington.ky.us> - libwrap, AIX, NetBSD fixes
22Gary E. Miller <gem@rellim.com> - SCO support 23Gary E. Miller <gem@rellim.com> - SCO support
diff --git a/ChangeLog b/ChangeLog
index cb810c947..98a5a9b31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
3 [ssh-agent.c] 3 [ssh-agent.c]
4 - Fix memory leak per connection. Report from Andy Spiegl <Andy@Spiegl.de> 4 - Fix memory leak per connection. Report from Andy Spiegl <Andy@Spiegl.de>
5 via Debian bug #59926 5 via Debian bug #59926
6 - Define __progname in session.c if libc doesn't
7 - Remove indentation on autoconf #include statements to avoid bug in
8 DEC Tru64 compiler. Report and fix from David Del Piero
9 <David.DelPiero@qed.qld.gov.au>
6 10
720000420 1120000420
8 - Make fixpaths work with perl4, patch from Andre Lucas 12 - Make fixpaths work with perl4, patch from Andre Lucas
diff --git a/configure.in b/configure.in
index 596c4e09f..095c96737 100644
--- a/configure.in
+++ b/configure.in
@@ -144,8 +144,8 @@ if test -z "$no_pam" -a "x$ac_cv_header_security_pam_appl_h" = "xyes" ; then
144 AC_MSG_CHECKING([whether pam_strerror takes only one argument]) 144 AC_MSG_CHECKING([whether pam_strerror takes only one argument])
145 AC_TRY_COMPILE( 145 AC_TRY_COMPILE(
146 [ 146 [
147 #include <stdlib.h> 147#include <stdlib.h>
148 #include <security/pam_appl.h> 148#include <security/pam_appl.h>
149 ], 149 ],
150 [(void)pam_strerror((pam_handle_t *)NULL, -1);], 150 [(void)pam_strerror((pam_handle_t *)NULL, -1);],
151 [AC_MSG_RESULT(no)], 151 [AC_MSG_RESULT(no)],
@@ -194,18 +194,18 @@ for ssldir in "" $tryssldir /usr/local/openssl /usr/lib/openssl /usr/local/ssl /
194 194
195 AC_TRY_RUN( 195 AC_TRY_RUN(
196 [ 196 [
197 #include <openssl/rsa.h> 197#include <openssl/rsa.h>
198 #include <openssl/bn.h> 198#include <openssl/bn.h>
199 #include <openssl/sha.h> 199#include <openssl/sha.h>
200 int main(void) 200int main(void)
201 { 201{
202 RSA *key; char a[2048],b[2048];; 202 RSA *key; char a[2048],b[2048];;
203 memset(a, 0, sizeof(a));memset(b, 0, sizeof(b)); 203 memset(a, 0, sizeof(a));memset(b, 0, sizeof(b));
204 RAND_add(a, sizeof(a), sizeof(a)); 204 RAND_add(a, sizeof(a), sizeof(a));
205 key=RSA_generate_key(32,3,NULL,NULL); 205 key=RSA_generate_key(32,3,NULL,NULL);
206 if (key==NULL) return(1); 206 if (key==NULL) return(1);
207 return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING)); 207 return(-1==RSA_private_decrypt(RSA_size(key),a,b,key,RSA_NO_PADDING));
208 } 208}
209 ], 209 ],
210 [ 210 [
211 AC_DEFINE(HAVE_OPENSSL) 211 AC_DEFINE(HAVE_OPENSSL)
@@ -310,8 +310,8 @@ fi
310AC_MSG_CHECKING([for socklen_t]) 310AC_MSG_CHECKING([for socklen_t])
311AC_TRY_COMPILE( 311AC_TRY_COMPILE(
312 [ 312 [
313 #include <sys/types.h> 313#include <sys/types.h>
314 #include <sys/socket.h> 314#include <sys/socket.h>
315 ], 315 ],
316 [socklen_t foo; foo = 1235;], 316 [socklen_t foo; foo = 1235;],
317 [ 317 [
@@ -335,8 +335,8 @@ AC_TRY_COMPILE(
335AC_MSG_CHECKING([for struct sockaddr_storage]) 335AC_MSG_CHECKING([for struct sockaddr_storage])
336AC_TRY_COMPILE( 336AC_TRY_COMPILE(
337 [ 337 [
338 #include <sys/types.h> 338#include <sys/types.h>
339 #include <sys/socket.h> 339#include <sys/socket.h>
340 ], 340 ],
341 [struct sockaddr_storage s;], 341 [struct sockaddr_storage s;],
342 [ 342 [
@@ -371,9 +371,9 @@ AC_TRY_COMPILE(
371AC_MSG_CHECKING([for struct addrinfo]) 371AC_MSG_CHECKING([for struct addrinfo])
372AC_TRY_COMPILE( 372AC_TRY_COMPILE(
373 [ 373 [
374 #include <sys/types.h> 374#include <sys/types.h>
375 #include <sys/socket.h> 375#include <sys/socket.h>
376 #include <netdb.h> 376#include <netdb.h>
377 ], 377 ],
378 [struct addrinfo s; s.ai_flags = AI_PASSIVE;], 378 [struct addrinfo s; s.ai_flags = AI_PASSIVE;],
379 [ 379 [
@@ -443,8 +443,8 @@ AC_EGREP_HEADER(ut_addr_v6, utmpx.h,
443AC_MSG_CHECKING([whether struct sockaddr_storage has ss_family field]) 443AC_MSG_CHECKING([whether struct sockaddr_storage has ss_family field])
444AC_TRY_COMPILE( 444AC_TRY_COMPILE(
445 [ 445 [
446 #include <sys/types.h> 446#include <sys/types.h>
447 #include <sys/socket.h> 447#include <sys/socket.h>
448 ], 448 ],
449 [struct sockaddr_storage s; s.ss_family = 1;], 449 [struct sockaddr_storage s; s.ss_family = 1;],
450 [ 450 [
@@ -456,8 +456,8 @@ AC_TRY_COMPILE(
456AC_MSG_CHECKING([whether struct sockaddr_storage has __ss_family field]) 456AC_MSG_CHECKING([whether struct sockaddr_storage has __ss_family field])
457AC_TRY_COMPILE( 457AC_TRY_COMPILE(
458 [ 458 [
459 #include <sys/types.h> 459#include <sys/types.h>
460 #include <sys/socket.h> 460#include <sys/socket.h>
461 ], 461 ],
462 [struct sockaddr_storage s; s.__ss_family = 1;], 462 [struct sockaddr_storage s; s.__ss_family = 1;],
463 [ 463 [
@@ -775,7 +775,7 @@ AC_ARG_WITH(tcp-wrappers,
775 AC_MSG_CHECKING(for libwrap) 775 AC_MSG_CHECKING(for libwrap)
776 AC_TRY_LINK( 776 AC_TRY_LINK(
777 [ 777 [
778 #include <tcpd.h> 778#include <tcpd.h>
779 int deny_severity = 0, allow_severity = 0; 779 int deny_severity = 0, allow_severity = 0;
780 ], 780 ],
781 [hosts_access(0);], 781 [hosts_access(0);],