freebsd-src/crypto/heimdal/lib/krb5
Dimitry Andric 6f25b46721 Fix enum warning in heimdal
This fixes a clang 19 warning:

crypto/heimdal/lib/krb5/deprecated.c:75:17: error: comparison of different enumeration types ('krb5_keytype' (aka 'enum ENCTYPE') and 'enum krb5_keytype_old') [-Werror,-Wenum-compare]
   75 |     if (keytype != KEYTYPE_DES || context->etypes_des == NULL)
      |         ~~~~~~~ ^  ~~~~~~~~~~~

In https://github.com/heimdal/heimdal/commit/3bebbe5323 this was solved
by adding a cast. That commit is rather large, so I'm only applying the
one-liner here.

MFC after:	3 days
2024-07-30 21:24:17 +02:00
..
acache.c
acl.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
add_et_list.c
addr_families.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
aes-test.c
aname_to_localname.c
appdefault.c
asn1_glue.c
auth_context.c
build_ap_req.c
build_auth.c
cache.c
ccache_plugin.h
changepw.c
codec.c
config_file.c
constants.c
context.c kerberos: Fix numerous segfaults when using weak crypto 2024-01-17 23:46:57 -08:00
convert_creds.c
copy_host_realm.c
crc.c
creds.c
crypto-aes.c Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
crypto-algs.c
crypto-arcfour.c Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
crypto-des-common.c Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
crypto-des.c Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
crypto-des3.c
crypto-evp.c Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
crypto-null.c
crypto-pk.c
crypto-rand.c Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
crypto-stubs.c
crypto.c kerberos: Fix numerous segfaults when using weak crypto 2024-01-17 23:46:57 -08:00
crypto.h Update the existing heimdal implementation for OpenSSL 1.1. 2018-10-05 16:35:24 +00:00
data.c
deprecated.c Fix enum warning in heimdal 2024-07-30 21:24:17 +02:00
derived-key-test.c
digest.c
doxygen.c
eai_to_heim_errno.c
error_string.c
expand_hostname.c
expand_path.c
fcache.c
free.c
free_host_realm.c
generate_seq_number.c
generate_subkey.c
get_addrs.c
get_cred.c
get_default_principal.c
get_default_realm.c
get_for_creds.c
get_host_realm.c
get_in_tkt.c
get_port.c
heim_err.et
init_creds.c
init_creds_pw.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
k524_err.et
kcm.c
kcm.h
kerberos.8 kerberos.8: Replace dead link 2021-05-16 01:37:09 -04:00
keyblock.c
keytab.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
keytab_any.c
keytab_file.c
keytab_keyfile.c
keytab_memory.c
krb5-private.h
krb5-protos.h
krb5-v4compat.h
krb5.conf.5 Fix trailing-comma-related typos in the tree when the Xr macro is used 2020-06-27 11:13:45 +00:00
krb5.h heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
krb5.moduli
krb5_425_conv_principal.3
krb5_acl_match_file.3
krb5_aname_to_localname.3
krb5_appdefault.3
krb5_auth_context.3
krb5_c_make_checksum.3
krb5_ccapi.h heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
krb5_check_transited.3
krb5_create_checksum.3
krb5_creds.3
krb5_digest.3
krb5_eai_to_heim_errno.3
krb5_encrypt.3
krb5_err.et
krb5_find_padata.3
krb5_generate_random_block.3
krb5_get_all_client_addrs.3
krb5_get_credentials.3
krb5_get_creds.3
krb5_get_forwarded_creds.3
krb5_get_in_cred.3
krb5_get_init_creds.3 heimdal: Fix man page and documentation typos 2024-01-04 10:35:59 -08:00
krb5_get_krbhst.3
krb5_getportbyname.3
krb5_init_context.3
krb5_is_thread_safe.3
krb5_krbhst_init.3
krb5_locl.h heimdal: always confirm PA-PKINIT-KX for anon PKINIT 2024-02-15 13:27:55 -08:00
krb5_mk_req.3
krb5_mk_safe.3
krb5_openlog.3
krb5_parse_name.3
krb5_principal.3 heimdal: Fix man page and documentation typos 2024-01-04 10:35:59 -08:00
krb5_rcache.3
krb5_rd_error.3
krb5_rd_safe.3
krb5_set_default_realm.3
krb5_set_password.3
krb5_string_to_key.3
krb5_timeofday.3
krb5_verify_init_creds.3
krb5_verify_user.3
krb524_convert_creds_kdc.3
krb_err.et
krbhst-test.c
krbhst.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
kuserok.c
locate_plugin.h
log.c
Makefile.am
Makefile.in
mcache.c
misc.c
mit_glue.c
mk_error.c
mk_priv.c
mk_rep.c
mk_req.c
mk_req_ext.c
mk_safe.c
n-fold-test.c
n-fold.c
net_read.c
net_write.c
pac.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
padata.c
parse-name-test.c
pcache.c
pkinit.c heimdal: always confirm PA-PKINIT-KX for anon PKINIT 2024-02-15 13:27:55 -08:00
plugin.c
principal.c
prog_setup.c
prompter_posix.c
rd_cred.c
rd_error.c
rd_priv.c
rd_rep.c
rd_req.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
rd_safe.c
read_message.c Revert "heimdal: Fix bus fault when zero-length request received" 2022-12-09 06:09:54 -08:00
recvauth.c heimdal: The version string must always contain a terminating NUL 2022-11-24 09:21:13 -08:00
replay.c
salt-aes.c
salt-arcfour.c
salt-des.c
salt-des3.c
salt.c kerberos: Fix numerous segfaults when using weak crypto 2024-01-17 23:46:57 -08:00
scache.c
send_to_kdc.c
send_to_kdc_plugin.h
sendauth.c
set_default_realm.c
sock_principal.c
store-int.c
store-int.h
store-test.c
store.c
store_emem.c
store_fd.c
store_mem.c
string-to-key-test.c
test_acl.c
test_addr.c
test_alname.c
test_cc.c
test_config.c
test_crypto.c
test_crypto_wrapping.c
test_forward.c
test_get_addrs.c
test_hostname.c
test_keytab.c
test_kuserok.c
test_mem.c
test_pac.c
test_pkinit_dh2key.c
test_plugin.c
test_prf.c
test_princ.c
test_renew.c
test_store.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
test_time.c
ticket.c
time.c
transited.c heimdal: Fix multiple security vulnerabilities 2022-11-15 13:12:37 -08:00
verify_init.c
verify_krb5_conf.8
verify_krb5_conf.c
verify_user.c
version-script.map heimdal: don't try to expose nonexistant symbols 2024-03-07 00:55:11 +00:00
version.c
warn.c
write_message.c