=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/authfd.c,v retrieving revision 1.106 retrieving revision 1.107 diff -u -r1.106 -r1.107 --- src/usr.bin/ssh/authfd.c 2018/01/23 05:27:21 1.106 +++ src/usr.bin/ssh/authfd.c 2018/02/10 09:25:34 1.107 @@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.c,v 1.106 2018/01/23 05:27:21 djm Exp $ */ +/* $OpenBSD: authfd.c,v 1.107 2018/02/10 09:25:34 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -389,7 +389,7 @@ static int -ssh_encode_identity_ssh2(struct sshbuf *b, struct sshkey *key, +ssh_encode_identity_ssh2(struct sshbuf *b, const struct sshkey *key, const char *comment) { int r; @@ -424,8 +424,8 @@ * This call is intended only for use by ssh-add(1) and like applications. */ int -ssh_add_identity_constrained(int sock, struct sshkey *key, const char *comment, - u_int life, u_int confirm) +ssh_add_identity_constrained(int sock, const struct sshkey *key, + const char *comment, u_int life, u_int confirm) { struct sshbuf *msg; int r, constrained = (life || confirm);