From 6d849315ff76bccb6cb89a2151c4068a4e5361b3 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 2 May 2001 01:30:32 +0000 Subject: [PATCH] - mouring@cvs.openbsd.org 2001/05/02 01:25:39 [readpass.c] Put the 'const' back into ssh_askpass() function. Pointed out by Mark Miller . OK Markus --- ChangeLog | 9 ++++++++- readpass.c | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a1f83a23a..d4fd292b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +20010502 + - OpenBSD CVS Sync + - mouring@cvs.openbsd.org 2001/05/02 01:25:39 + [readpass.c] + Put the 'const' back into ssh_askpass() function. Pointed out + by Mark Miller . OK Markus + 20010501 - OpenBSD CVS Sync - markus@cvs.openbsd.org 2001/04/30 11:18:52 @@ -5295,4 +5302,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1188 2001/04/30 23:09:45 mouring Exp $ +$Id: ChangeLog,v 1.1189 2001/05/02 01:30:32 mouring Exp $ diff --git a/readpass.c b/readpass.c index b93eaba43..c1b9a7064 100644 --- a/readpass.c +++ b/readpass.c @@ -32,7 +32,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readpass.c,v 1.15 2001/04/18 21:57:41 markus Exp $"); +RCSID("$OpenBSD: readpass.c,v 1.16 2001/05/02 01:25:39 mouring Exp $"); #include "xmalloc.h" #include "cli.h" @@ -43,7 +43,7 @@ RCSID("$OpenBSD: readpass.c,v 1.15 2001/04/18 21:57:41 markus Exp $"); #include "ssh.h" char * -ssh_askpass(char *askpass, char *msg) +ssh_askpass(char *askpass, const char *msg) { pid_t pid; size_t len;