From abf4b39ee43027cc45158dd05aaea7f521cf36cc Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 19 Apr 1990 11:00:04 +0000 Subject: [PATCH] keytype is now const fix const for **'s git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@501 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/in_tkt_pwd.c | 8 ++++---- src/lib/krb5/krb/in_tkt_sky.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/krb5/krb/in_tkt_pwd.c b/src/lib/krb5/krb/in_tkt_pwd.c index b3043a871..460455b58 100644 --- a/src/lib/krb5/krb/in_tkt_pwd.c +++ b/src/lib/krb5/krb/in_tkt_pwd.c @@ -31,10 +31,10 @@ struct pwd_keyproc_arg { */ static krb5_error_code -pwd_keyproc(DECLARG(krb5_keytype, type), +pwd_keyproc(DECLARG(const krb5_keytype, type), DECLARG(krb5_keyblock **, key), DECLARG(krb5_pointer, keyseed)) -OLDDECLARG(krb5_keytype, type) +OLDDECLARG(const krb5_keytype, type) OLDDECLARG(krb5_keyblock **, key) OLDDECLARG(krb5_pointer, keyseed) { @@ -81,14 +81,14 @@ OLDDECLARG(krb5_pointer, keyseed) */ krb5_error_code krb5_get_in_tkt_with_password(DECLARG(const krb5_flags, options), - DECLARG(const krb5_address **, addrs), + DECLARG(krb5_address * const *, addrs), DECLARG(const krb5_enctype, etype), DECLARG(const krb5_keytype, keytype), DECLARG(const char *, password), DECLARG(krb5_ccache, ccache), DECLARG(krb5_creds *, creds)) OLDDECLARG(const krb5_flags, options) -OLDDECLARG(const krb5_address **, addrs) +OLDDECLARG(krb5_address * const *, addrs) OLDDECLARG(const krb5_enctype, etype) OLDDECLARG(const krb5_keytype, keytype) OLDDECLARG(const char *, password) diff --git a/src/lib/krb5/krb/in_tkt_sky.c b/src/lib/krb5/krb/in_tkt_sky.c index ba20fb1f2..ad3a92ebe 100644 --- a/src/lib/krb5/krb/in_tkt_sky.c +++ b/src/lib/krb5/krb/in_tkt_sky.c @@ -35,10 +35,10 @@ struct skey_keyproc_arg { * from system area. */ static krb5_error_code -skey_keyproc(DECLARG(krb5_keytype, type), +skey_keyproc(DECLARG(const krb5_keytype, type), DECLARG(krb5_keyblock **, key), DECLARG(krb5_pointer, keyseed)) -OLDDECLARG(krb5_keytype, type) +OLDDECLARG(const krb5_keytype, type) OLDDECLARG(krb5_keyblock **, key) OLDDECLARG(krb5_pointer, keyseed) { @@ -116,13 +116,13 @@ OLDDECLARG(krb5_pointer, keyseed) */ krb5_error_code krb5_get_in_tkt_with_skey(DECLARG(const krb5_flags, options), - DECLARG(const krb5_address **, addrs), + DECLARG(krb5_address * const *, addrs), DECLARG(const krb5_enctype, etype), DECLARG(const krb5_keyblock *,key), DECLARG(krb5_ccache, ccache), DECLARG(krb5_creds *,creds)) OLDDECLARG(const krb5_flags, options) -OLDDECLARG(const krb5_address **, addrs) +OLDDECLARG(krb5_address * const *, addrs) OLDDECLARG(const krb5_enctype, etype) OLDDECLARG(const krb5_keyblock *,key) OLDDECLARG(krb5_ccache, ccache) -- 2.26.2