The previous declaration had redundant consts and missed making
the actual pointers stored in the array const.
* supported by this implementation. The order of this array controls
* the order in which the server will pick.
*/
-extern const krb5_data const *supported_kdf_alg_ids[] ;
+extern krb5_data const * const supported_kdf_alg_ids[];
#endif /* _PKINIT_CRYPTO_H */
oid_as_data(sha512_id, krb5_pkinit_sha512_oid);
#undef oid_as_data
-const krb5_data const *supported_kdf_alg_ids[] = {
+krb5_data const * const supported_kdf_alg_ids[] = {
&sha256_id,
&sha1_id,
&sha512_id,