upstream: constify an argument

OpenBSD-Commit-ID: 724bafc9f993746ad4303e95bede2c030de6233b
This commit is contained in:
djm@openbsd.org 2019-09-02 23:46:46 +00:00 committed by Damien Miller
parent b52c0c2e64
commit 9a396e3368
1 changed files with 2 additions and 2 deletions

View 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> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * 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 * static struct sshkey *
load_identity(char *filename, char **commentp) load_identity(const char *filename, char **commentp)
{ {
char *pass; char *pass;
struct sshkey *prv; struct sshkey *prv;