summaryrefslogtreecommitdiff
path: root/security/sudo/patches/patch-ab
blob: 8469db6315718f3a891974c1297b71eb402bb393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 1999/08/31 19:26:41 jlam Exp $

--- check.c.orig	Sat May 29 14:34:02 1999
+++ check.c	Sun Aug 29 05:42:50 1999
@@ -1078,7 +1078,7 @@
 	(void) fclose(user_skey->keyfile);
 
     /* get the skey part of the prompt */
-    if ((rval = skeychallenge(user_skey, user_name, challenge)) != 0) {
+    if ((rval = skeychallenge(user_skey, user_name, challenge, sizeof(challenge))) != 0) {
 #ifdef OTP_ONLY
 	(void) fprintf(stderr,
 		       "%s: You do not exist in the s/key database.\n",