svn rev #24211: trunk/src/lib/kadm5/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Jul 26 14:19:49 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24211
Commit By: ghudson
Log Message:
Use xdr_int32 instead of xdr_u_int in xdr_krb5_enctype(), since
enctypes are signed 32-bit values.  Wire representation does not
change.



Changed Files:
U   trunk/src/lib/kadm5/kadm_rpc_xdr.c
Modified: trunk/src/lib/kadm5/kadm_rpc_xdr.c
===================================================================
--- trunk/src/lib/kadm5/kadm_rpc_xdr.c	2010-07-26 18:18:57 UTC (rev 24210)
+++ trunk/src/lib/kadm5/kadm_rpc_xdr.c	2010-07-26 18:19:49 UTC (rev 24211)
@@ -1021,7 +1021,7 @@
     * is safe.
     */
 
-   if (!xdr_u_int(xdrs, (unsigned int *) objp))
+   if (!xdr_int32(xdrs, (int32_t *) objp))
 	return (FALSE);
    return (TRUE);
 }




More information about the cvs-krb5 mailing list