summaryrefslogtreecommitdiff
path: root/security/sudo/patches/patch-ab
blob: 150181d7f95432767781dca71e2244fdab46e8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- check.c.orig        Sat Nov 29 23:32:37 1997
+++ check.c     Sat Nov 29 23:32:51 1997
@@ -733,7 +733,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",