krb5/get_in_tkt.c: Sprinkle const on global data never changed.

This commit is contained in:
Taylor R Campbell
2023-05-28 19:51:02 +00:00
committed by Nico Williams
parent cf0418d6fc
commit 35688d030f

View File

@@ -319,7 +319,9 @@ set_ptypes(krb5_context context,
krb5_preauthdata **preauth)
{
static krb5_preauthdata preauth2;
static krb5_preauthtype ptypes2[] = { KRB5_PADATA_ENC_TIMESTAMP, KRB5_PADATA_NONE };
static const krb5_preauthtype ptypes2[] = {
KRB5_PADATA_ENC_TIMESTAMP, KRB5_PADATA_NONE
};
if(error->e_data) {
METHOD_DATA md;