Use xdr_int32 instead of xdr_u_int in xdr_krb5_enctype(), since
authorGreg Hudson <ghudson@mit.edu>
Mon, 26 Jul 2010 18:19:49 +0000 (18:19 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 26 Jul 2010 18:19:49 +0000 (18:19 +0000)
enctypes are signed 32-bit values.  Wire representation does not
change.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24211 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/kadm_rpc_xdr.c

index 36724eab3dbaa76320b7c966036ca486b8ea5ba6..5fb67ebb1c3d7c4ffdd55b2e75dff6eb47945855 100644 (file)
@@ -1021,7 +1021,7 @@ xdr_krb5_enctype(XDR *xdrs, krb5_enctype *objp)
     * is safe.
     */
 
-   if (!xdr_u_int(xdrs, (unsigned int *) objp))
+   if (!xdr_int32(xdrs, (int32_t *) objp))
        return (FALSE);
    return (TRUE);
 }