diff options
author | 2002-10-15 17:10:57 +0000 | |
---|---|---|
committer | 2002-10-15 17:10:57 +0000 | |
commit | 02f55c3dbff3de716b270a88416669e8f91f4d94 (patch) | |
tree | 32d6855190a6b5d52c27ceedea577a4ebfeda98f /lib/libc | |
parent | improve english (diff) | |
download | wireguard-openbsd-02f55c3dbff3de716b270a88416669e8f91f4d94.tar.xz wireguard-openbsd-02f55c3dbff3de716b270a88416669e8f91f4d94.zip |
Cast NULL sentinel in auth_call() to a pointer
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/auth_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/auth_subr.c b/lib/libc/gen/auth_subr.c index 24417d3b23f..728bd588a3c 100644 --- a/lib/libc/gen/auth_subr.c +++ b/lib/libc/gen/auth_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth_subr.c,v 1.13 2002/10/13 21:12:59 millert Exp $ */ +/* $OpenBSD: auth_subr.c,v 1.14 2002/10/15 17:10:57 millert Exp $ */ /*- * Copyright (c) 1995,1996,1997 Berkeley Software Design, Inc. @@ -297,7 +297,7 @@ auth_challenge(auth_session_t *as) snprintf(path, sizeof(path), _PATH_AUTHPROG "%s", as->style); auth_call(as, path, as->style, "-s", "challenge", as->name, - as->class, NULL); + as->class, (char *)NULL); if (as->state & AUTH_CHALLENGE) as->challenge = auth_getvalue(as, "challenge"); as->state = 0; |