diff --git a/fuzz/export.gnu b/fuzz/export.gnu index 62dfda92..c1ed4964 100644 --- a/fuzz/export.gnu +++ b/fuzz/export.gnu @@ -118,6 +118,7 @@ fido_cbor_info_uv_modality; fido_cbor_info_versions_len; fido_cbor_info_versions_ptr; + fido_cred_append_type; fido_cred_attstmt_len; fido_cred_attstmt_ptr; fido_cred_authdata_len; diff --git a/src/cred.c b/src/cred.c index 1b0c30e9..2d660988 100644 --- a/src/cred.c +++ b/src/cred.c @@ -1071,7 +1071,7 @@ fido_cred_set_fmt(fido_cred_t *cred, const char *fmt) return (FIDO_OK); } -static int +int fido_cred_append_type(fido_cred_t *cred, int cose_alg) { int *list_ptr; diff --git a/src/export.gnu b/src/export.gnu index f22d663b..72c32f35 100644 --- a/src/export.gnu +++ b/src/export.gnu @@ -120,6 +120,7 @@ fido_cbor_info_uv_modality; fido_cbor_info_versions_len; fido_cbor_info_versions_ptr; + fido_cred_append_type; fido_cred_attstmt_len; fido_cred_attstmt_ptr; fido_cred_authdata_len; diff --git a/src/export.llvm b/src/export.llvm index b1b1cdf3..e5a8d8b1 100644 --- a/src/export.llvm +++ b/src/export.llvm @@ -118,6 +118,7 @@ _fido_cbor_info_uv_attempts _fido_cbor_info_uv_modality _fido_cbor_info_versions_len _fido_cbor_info_versions_ptr +_fido_cred_append_type _fido_cred_attstmt_len _fido_cred_attstmt_ptr _fido_cred_authdata_len diff --git a/src/export.msvc b/src/export.msvc index 449f1eaf..cffce5ad 100644 --- a/src/export.msvc +++ b/src/export.msvc @@ -119,6 +119,7 @@ fido_cbor_info_uv_attempts fido_cbor_info_uv_modality fido_cbor_info_versions_len fido_cbor_info_versions_ptr +fido_cred_append_type fido_cred_attstmt_len fido_cred_attstmt_ptr fido_cred_authdata_len diff --git a/src/fido.h b/src/fido.h index 3f7f1e5b..e878a108 100644 --- a/src/fido.h +++ b/src/fido.h @@ -148,6 +148,7 @@ int fido_assert_set_sig(fido_assert_t *, size_t, const unsigned char *, size_t); int fido_assert_set_winhello_appid(fido_assert_t *, const char *); int fido_assert_verify(const fido_assert_t *, size_t, int, const void *); int fido_cbor_info_algorithm_cose(const fido_cbor_info_t *, size_t); +int fido_cred_append_type(fido_cred_t *, int); int fido_cred_empty_exclude_list(fido_cred_t *); bool fido_cred_entattest(const fido_cred_t *); int fido_cred_exclude(fido_cred_t *, const unsigned char *, size_t);