Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 13:53:15 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Jacques Vidrine <nectar@FreeBSD.org>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/crypto/openssh servconf.c
Message-ID:  <20020326135314.B301@straylight.oblivion.bg>
In-Reply-To: <200203251455.g2PEtfB08506@freefall.freebsd.org>; from nectar@FreeBSD.org on Mon, Mar 25, 2002 at 06:55:41AM -0800
References:  <200203251455.g2PEtfB08506@freefall.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Mar 25, 2002 at 06:55:41AM -0800, Jacques Vidrine wrote:
> nectar      2002/03/25 06:55:41 PST
> 
>   Modified files:
>     crypto/openssh       servconf.c 
>   Log:
>   Fix typo (missing paren) affecting KRB4 && KRB5 case.
>   
>   Approved by:    des

[CC'd to des]

It seems that you added the parenthesis to the wrong line - the one
in the KRB5-only case :)  Patch attached.

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
You have, of course, just begun reading the sentence that you have just finished reading.

Index: src/crypto/openssh/servconf.c
===================================================================
RCS file: /home/ncvs/src/crypto/openssh/servconf.c,v
retrieving revision 1.25
diff -u -r1.25 servconf.c
--- src/crypto/openssh/servconf.c	25 Mar 2002 14:55:41 -0000	1.25
+++ src/crypto/openssh/servconf.c	26 Mar 2002 11:28:46 -0000
@@ -185,14 +185,14 @@
 	if (options->kerberos_authentication == -1)
 		options->kerberos_authentication =
 		    (access(KEYFILE, R_OK) == 0 ||
-		    (access(krb5_defkeyname, R_OK) == 0);
+		    (access(krb5_defkeyname, R_OK) == 0));
 #elif defined(KRB4)
 	if (options->kerberos_authentication == -1)
 		options->kerberos_authentication = (access(KEYFILE, R_OK) == 0);
 #elif defined(KRB5)
 	if (options->kerberos_authentication == -1)
 		options->kerberos_authentication =
-		    (access(krb5_defkeyname, R_OK) == 0));
+		    (access(krb5_defkeyname, R_OK) == 0);
 #endif
 #if defined(KRB4) || defined(KRB5)
 	if (options->kerberos_or_local_passwd == -1)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjygYSoACgkQ7Ri2jRYZRVO2vgCeN7YNVsbPiyl4ls75CPFjCBY4
wgIAn3Tr15wyEpIYNbZLqNVZWgr+lQQn
=RgLc
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020326135314.B301>