kdc: rk_UNCONST for literal shell.version.

I assume this is used read-only by ASN1_MALLOC_ENCODE.
This commit is contained in:
Taylor R Campbell
2023-06-20 12:00:26 +00:00
committed by Nicolas Williams
parent 56a6e7261b
commit 29a791f8f4
+1 -1
View File
@@ -246,7 +246,7 @@ fast_add_cookie(astgs_request_t r,
krb5_data_free(&data);
shell.version = "H5L1";
shell.version = rk_UNCONST("H5L1");
ASN1_MALLOC_ENCODE(KDCFastCookie, data.data, data.length,
&shell, &size, ret);