diff options
Diffstat (limited to 'auth-bsdauth.c')
-rw-r--r-- | auth-bsdauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-bsdauth.c b/auth-bsdauth.c index 4f1b452b7..2ac27a7a2 100644 --- a/auth-bsdauth.c +++ b/auth-bsdauth.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | */ | 23 | */ |
24 | #include "includes.h" | 24 | #include "includes.h" |
25 | RCSID("$OpenBSD: auth-bsdauth.c,v 1.4 2002/06/19 00:27:55 deraadt Exp $"); | 25 | RCSID("$OpenBSD: auth-bsdauth.c,v 1.5 2002/06/30 21:59:45 deraadt Exp $"); |
26 | 26 | ||
27 | #ifdef BSD_AUTH | 27 | #ifdef BSD_AUTH |
28 | #include "xmalloc.h" | 28 | #include "xmalloc.h" |
@@ -69,7 +69,7 @@ bsdauth_query(void *ctx, char **name, char **infotxt, | |||
69 | *name = xstrdup(""); | 69 | *name = xstrdup(""); |
70 | *infotxt = xstrdup(""); | 70 | *infotxt = xstrdup(""); |
71 | *numprompts = 1; | 71 | *numprompts = 1; |
72 | *prompts = xmalloc(*numprompts * sizeof(char*)); | 72 | *prompts = xmalloc(*numprompts * sizeof(char *)); |
73 | *echo_on = xmalloc(*numprompts * sizeof(u_int)); | 73 | *echo_on = xmalloc(*numprompts * sizeof(u_int)); |
74 | (*echo_on)[0] = 0; | 74 | (*echo_on)[0] = 0; |
75 | (*prompts)[0] = xstrdup(challenge); | 75 | (*prompts)[0] = xstrdup(challenge); |