]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: constify an argument
authordjm@openbsd.org <djm@openbsd.org>
Mon, 2 Sep 2019 23:46:46 +0000 (23:46 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 3 Sep 2019 08:39:31 +0000 (18:39 +1000)
OpenBSD-Commit-ID: 724bafc9f993746ad4303e95bede2c030de6233b

ssh-keygen.c

index bb108519c327965d56ba17b194ec5090410f946a..6426bb74345a5495357248bb797e23d03aa1a5df 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.341 2019/09/01 23:47:32 djm Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.342 2019/09/02 23:46:46 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -271,7 +271,7 @@ ask_filename(struct passwd *pw, const char *prompt)
 }
 
 static struct sshkey *
-load_identity(char *filename, char **commentp)
+load_identity(const char *filename, char **commentp)
 {
        char *pass;
        struct sshkey *prv;