From: markus@openbsd.org Date: Wed, 4 May 2016 14:04:40 +0000 (+0000) Subject: upstream commit X-Git-Tag: V_7_3_P1~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5c1d5d2f04ce00d2ddd6647e61b32f28be39804;p=thirdparty%2Fopenssh-portable.git upstream commit missing const in prototypes (ssh1) Upstream-ID: 789c6ad4928b5fa557369b88c3a6a34926082c05 --- diff --git a/auth.h b/auth.h index 038b59293..55170af50 100644 --- a/auth.h +++ b/auth.h @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.h,v 1.87 2016/03/07 19:02:43 djm Exp $ */ +/* $OpenBSD: auth.h,v 1.88 2016/05/04 14:04:40 markus Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -124,7 +124,8 @@ BIGNUM *auth_rsa_generate_challenge(Key *); int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); -int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); +int auth_rhosts_rsa_key_allowed(struct passwd *, const char *, + const char *, Key *); int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); int user_key_allowed(struct passwd *, Key *, int); void pubkey_auth_info(Authctxt *, const Key *, const char *, ...)