aboutsummaryrefslogtreecommitdiff
path: root/src/lib/gssapi
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2007-02-19 02:37:10 +0000
committerEzra Peisach <epeisach@mit.edu>2007-02-19 02:37:10 +0000
commita34576395e2c009c6ae9902cbdcf6acb84b20079 (patch)
tree4a1f2e9448e613ef07a7efe3c1fa1ae9732b773f /src/lib/gssapi
parent8d0dad364ce72219ee86c912746d9930602c9475 (diff)
downloadkrb5-a34576395e2c009c6ae9902cbdcf6acb84b20079.zip
krb5-a34576395e2c009c6ae9902cbdcf6acb84b20079.tar.gz
krb5-a34576395e2c009c6ae9902cbdcf6acb84b20079.tar.bz2
Ensure consistancy between prototypes and functions
I am using an older compiler that is complaining that prototypes do not match the functions they reference. The issue is that a number of prototypes are using "const int foo" while the function is "int foo". From a caller sense it makes no difference - but the compiler is correct they are different. All is now consistant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19169 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi')
-rw-r--r--src/lib/gssapi/krb5/acquire_cred.c2
-rw-r--r--src/lib/gssapi/mechglue/mglueP.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/gssapi/krb5/acquire_cred.c b/src/lib/gssapi/krb5/acquire_cred.c
index 3f213a1..43d2122 100644
--- a/src/lib/gssapi/krb5/acquire_cred.c
+++ b/src/lib/gssapi/krb5/acquire_cred.c
@@ -566,7 +566,7 @@ krb5_gss_acquire_cred(minor_status, desired_name, time_req,
/* if the princ wasn't filled in already, fill it in now */
- if (!cred->princ && (desired_name != GSS_C_NO_CREDENTIAL))
+ if (!cred->princ && (desired_name != GSS_C_NO_NAME))
if ((code = krb5_copy_principal(context, (krb5_principal) desired_name,
&(cred->princ)))) {
if (cred->ccache)
diff --git a/src/lib/gssapi/mechglue/mglueP.h b/src/lib/gssapi/mechglue/mglueP.h
index 70da996..85ae002 100644
--- a/src/lib/gssapi/mechglue/mglueP.h
+++ b/src/lib/gssapi/mechglue/mglueP.h
@@ -427,7 +427,7 @@ OM_uint32 gssint_create_copy_buffer(
OM_uint32 gssint_copy_oid_set(
OM_uint32 *, /* minor_status */
- const gss_OID_set_desc *, /* oid set */
+ const gss_OID_set_desc * const, /* oid set */
gss_OID_set * /* new oid set */
);