]> andersk Git - openssh.git/commitdiff
20001110
authormouring <mouring>
Fri, 10 Nov 2000 02:41:30 +0000 (02:41 +0000)
committermouring <mouring>
Fri, 10 Nov 2000 02:41:30 +0000 (02:41 +0000)
 - (bal) Fixed dropped answer from skey_keyinfo() in auth1.c
 - (bal) Changed from --with-skey to --with-skey=PATH in configure.in
 - (bal) Added in check to verify S/Key library is being detected in
   configure.in
 - (bal) next-posix.h - added another prototype wrapped in POSIX ifdef/endif.
   Patch by Mark Miller <markm@swoon.net>
 - (bal) Added 'util.h' header to loginrec.c only if HAVE_UTIL_H is defined
   to remove warnings under MacOS X.  Patch by Mark Miller <markm@swoon.net>
 - (bal) Fixed LDFLAG mispelling in configure.in for --with-afs

ChangeLog
INSTALL
auth1.c
configure.in
next-posix.h

index 3ab6086da3917f0cefca2ed22a1d8015b6501753..a3a54c3ad750b4900bb09d8acd1fe8818f93d2ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+20001110
+ - (bal) Fixed dropped answer from skey_keyinfo() in auth1.c
+ - (bal) Changed from --with-skey to --with-skey=PATH in configure.in
+ - (bal) Added in check to verify S/Key library is being detected in
+   configure.in
+ - (bal) next-posix.h - added another prototype wrapped in POSIX ifdef/endif. 
+   Patch by Mark Miller <markm@swoon.net>
+ - (bal) Added 'util.h' header to loginrec.c only if HAVE_UTIL_H is defined
+   to remove warnings under MacOS X.  Patch by Mark Miller <markm@swoon.net> 
+ - (bal) Fixed LDFLAG mispelling in configure.in for --with-afs
+
 20001107
  - (bal) acconfig.in - removed the double "USE_PIPES" entry. Patch by
    Mark Miller <markm@swoon.net>
diff --git a/INSTALL b/INSTALL
index 76d17b811a4b7ebb2177a7d6870b5f8b64fa8bdc..577a667e80b40f57975e91a5f7dc909e73bdb9b2 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -47,6 +47,12 @@ ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
 Most platforms do not required this.  However older 4.3 BSD do not
 have a posix regex library. 
 
+S/Key Libraries:
+http://www.sparc.spb.su/solaris/skey/
+
+If you wish to use --with-skey then you will need the above library
+installed.  No other current S/Key library is currently known to be
+supported. (If it fails to compile copy the sha1.h to the openssh directory
 
 2. Building / Installation
 --------------------------
@@ -125,8 +131,8 @@ Kerberos IV and the AFS libraries and header files installed for this
 to work.  Use the optional PATH argument to specify the root of your
 AFS installation. AFS requires Kerberos support to be enabled.
 
---with-skey will enable S/Key one time password support. You will need
-the S/Key libraries and header files installed for this to work.
+--with-skey=PATH will enable S/Key one time password support. You will 
+need the S/Key libraries and header files installed for this to work.
 
 --with-tcp-wrappers will enable TCP Wrappers (/etc/hosts.allow|deny)
 support. You will need libwrap.a and tcpd.h installed.
diff --git a/auth1.c b/auth1.c
index 520da640c6bd3c4b340b72e9595cb29dd89bbeb4..ca0495d32eea72fdf32f5d422ea4f12f5f8bbeb3 100644 (file)
--- a/auth1.c
+++ b/auth1.c
@@ -273,7 +273,7 @@ do_authloop(struct passwd * pw, char *luser)
                        if (options.skey_authentication == 1) {
                                char *skeyinfo = NULL;
                                if (pw != NULL)
-                                       skey_keyinfo(pw->pw_name);
+                                       skeyinfo = skey_keyinfo(pw->pw_name);
                                if (skeyinfo == NULL) {
                                        debug("generating fake skeyinfo for %.100s.", luser);
                                        skeyinfo = skey_fake_keyinfo(luser);
index 0c43efcb8e5933fee8a4cf5e4184ffbb2f6d2b08..be500da201462db05cb2a22e1c7b9d6d5cf33c2d 100644 (file)
@@ -1085,7 +1085,7 @@ AC_ARG_WITH(afs,
 
                        if test "x$withval" != "xyes" ; then
                                CFLAGS="$CFLAGS -I${withval}/include"
-                               LFLAGS="$LFLAGS -L${withval}/lib"
+                               LDFLAGS="$LDFLAGS -L${withval}/lib"
                        fi
 
                        if test -z "$KRB4" ; then
@@ -1106,12 +1106,24 @@ LIBS="$LIBS $KLIBS"
 # Check whether user wants S/Key support
 SKEY_MSG="no" 
 AC_ARG_WITH(skey,
-       [  --with-skey             Enable S/Key support],
+       [  --with-skey=PATH         Enable S/Key support],
        [
                if test "x$withval" != "xno" ; then
+
+                       if test "x$withval" != "xyes" ; then
+                               CFLAGS="$CFLAGS -I${withval}/include"
+                               LDFLAGS="$LDFLAGS -L${withval}/lib"
+                       fi
+
                        AC_DEFINE(SKEY)
                        LIBS="$LIBS -lskey"
                        SKEY_MSG="yes" 
+       
+                       AC_CHECK_FUNC(skey_keyinfo,
+                               [],
+                               [
+                                       AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
+                               ])
                fi
        ]
 )
index 7986817e7d5b8af95ff1f8d49961d194ed4380ee..4668775461ecd4c7ba747587eda0f7f23d1dcb1e 100644 (file)
@@ -39,6 +39,7 @@ pid_t posix_wait(int *status);
 
 /* #ifdef POSIX wrapped functions that need defining */
 pid_t getppid(void);
+void vhangup(void);
 
 /* TERMCAP */
 int tcgetattr(int fd, struct termios *t);
This page took 0.076913 seconds and 5 git commands to generate.