Skip Menu |

Subject: pointer target incompatibility with krb5_c_encrypt_length
From: Tom Yu <>
Date: Thu, 06 Mar 2003 16:52:10 -0500
krb5_data has an unsigned int for length. krb5_c_encrypt_length takes
a size_t* as an output argument. We should probably audit all uses of
krb5_c_encrypt_length to ensure that intermediate variables are used
where necessary, but we might just want to cause
krb5_c_encrypt_length's output argument and krb5_data's length field
to have properly matched types.
Subject: CVS Commit
* preauth2.c (pa_sam_2): Add intermediate size_t variable to hold
output of krb5_c_encrypt_length().

To generate a diff of this commit:

cvs diff -r5.376 -r5.377 krb5/src/lib/krb5/krb/ChangeLog
cvs diff -r5.22 -r5.23 krb5/src/lib/krb5/krb/preauth2.c