From: John Kohl Date: Thu, 19 Apr 1990 11:00:04 +0000 (+0000) Subject: keytype is now const X-Git-Tag: krb5-1.0-alpha2~894 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abf4b39ee43027cc45158dd05aaea7f521cf36cc;p=krb5.git keytype is now const fix const for **'s git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@501 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)