svn rev #24821: trunk/src/lib/gssapi/ generic/ mechglue/

lhoward@MIT.EDU lhoward at MIT.EDU
Sun Apr 3 04:02:53 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24821
Commit By: lhoward
Log Message:
Use RFC 5587 const types for draft-josefsson-gss-capsulate APIs


Changed Files:
U   trunk/src/lib/gssapi/generic/gssapi_ext.h
U   trunk/src/lib/gssapi/mechglue/g_decapsulate_token.c
U   trunk/src/lib/gssapi/mechglue/g_encapsulate_token.c
U   trunk/src/lib/gssapi/mechglue/g_oid_ops.c
Modified: trunk/src/lib/gssapi/generic/gssapi_ext.h
===================================================================
--- trunk/src/lib/gssapi/generic/gssapi_ext.h	2011-04-03 07:28:12 UTC (rev 24820)
+++ trunk/src/lib/gssapi/generic/gssapi_ext.h	2011-04-03 08:02:53 UTC (rev 24821)
@@ -386,22 +386,22 @@
 /* draft-josefsson-gss-capsulate */
 OM_uint32 KRB5_CALLCONV gss_encapsulate_token
 (
-    const gss_buffer_t, /* input_token */
-    const gss_OID,      /* token_oid */
-    const gss_buffer_t  /* output_token */
+    gss_const_buffer_t, /* input_token */
+    gss_const_OID,      /* token_oid */
+    gss_buffer_t        /* output_token */
 );
 
 OM_uint32 KRB5_CALLCONV gss_decapsulate_token
 (
-    const gss_buffer_t, /* input_token */
-    const gss_OID,      /* token_oid */
+    gss_const_buffer_t, /* input_token */
+    gss_const_OID,      /* token_oid */
     gss_buffer_t        /* output_token */
 );
 
 int KRB5_CALLCONV gss_oid_equal
 (
-    const gss_OID,      /* first_oid */
-    const gss_OID       /* second_oid */
+    gss_const_OID,      /* first_oid */
+    gss_const_OID       /* second_oid */
 );
 
 #ifdef __cplusplus

Modified: trunk/src/lib/gssapi/mechglue/g_decapsulate_token.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_decapsulate_token.c	2011-04-03 07:28:12 UTC (rev 24820)
+++ trunk/src/lib/gssapi/mechglue/g_decapsulate_token.c	2011-04-03 08:02:53 UTC (rev 24821)
@@ -33,8 +33,8 @@
 #include "mglueP.h"
 
 OM_uint32
-gss_decapsulate_token(const gss_buffer_t input_token,
-                      const gss_OID token_oid,
+gss_decapsulate_token(gss_const_buffer_t input_token,
+                      gss_const_OID token_oid,
                       gss_buffer_t output_token)
 {
     OM_uint32 minor;

Modified: trunk/src/lib/gssapi/mechglue/g_encapsulate_token.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_encapsulate_token.c	2011-04-03 07:28:12 UTC (rev 24820)
+++ trunk/src/lib/gssapi/mechglue/g_encapsulate_token.c	2011-04-03 08:02:53 UTC (rev 24821)
@@ -33,8 +33,8 @@
 #include "mglueP.h"
 
 OM_uint32
-gss_encapsulate_token(const gss_buffer_t input_token,
-                      const gss_OID token_oid,
+gss_encapsulate_token(gss_const_buffer_t input_token,
+                      gss_const_OID token_oid,
                       gss_buffer_t output_token)
 {
     unsigned int tokenSize;

Modified: trunk/src/lib/gssapi/mechglue/g_oid_ops.c
===================================================================
--- trunk/src/lib/gssapi/mechglue/g_oid_ops.c	2011-04-03 07:28:12 UTC (rev 24820)
+++ trunk/src/lib/gssapi/mechglue/g_oid_ops.c	2011-04-03 08:02:53 UTC (rev 24821)
@@ -105,8 +105,8 @@
 
 int
 gss_oid_equal(
-    const gss_OID first_oid,
-    const gss_OID second_oid)
+    gss_const_OID first_oid,
+    gss_const_OID second_oid)
 {
     return g_OID_equal(first_oid, second_oid);
 }




More information about the cvs-krb5 mailing list