opnsense-src/sys/kgssapi
Mark Johnston 2fa185f9bf crypto: Remove uses of CRYPTO_F_DONE
Previously OCF set CRYPTO_F_DONE prior to invoking the completion
callback, even if the request failed. This isn't particularly useful
and leads to bugs when consumers retry a failed request, since OCF also
asserts that CRYPTO_F_DONE is clear in crypto_dispatch(). (Really, OCF
should retry requests that fail with EAGAIN, but that's a larger
change.)

For now, just stop setting CRYPTO_F_DONE to simplify consumers (and fix
those which fail to clear the flag before retrying a request).

PR:		286321
Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D50104
2025-05-09 00:29:23 +00:00
..
krb5 crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
gss_accept_sec_context.c
gss_acquire_cred.c
gss_add_oid_set_member.c
gss_canonicalize_name.c
gss_create_empty_oid_set.c
gss_delete_sec_context.c
gss_display_status.c
gss_export_name.c
gss_get_mic.c
gss_impl.c
gss_import_name.c
gss_init_sec_context.c
gss_ip_to_dns.c
gss_names.c
gss_pname_to_uid.c
gss_release_buffer.c
gss_release_cred.c
gss_release_name.c
gss_release_oid_set.c
gss_set_cred_option.c
gss_test_oid_set_member.c
gss_unwrap.c
gss_verify_mic.c
gss_wrap.c
gss_wrap_size_limit.c
gssapi.h
gssapi_impl.h
gssd.x
gssd_prot.c
kgss_if.m