From ff717ddad2c5355f6c42e4f1a10b1177445edd30 Mon Sep 17 00:00:00 2001 From: Ludvig Michaelsson Date: Tue, 9 Jan 2024 14:23:56 +0100 Subject: [PATCH] cred: export fido_cred_append_type() --- src/cred.c | 2 +- src/export.gnu | 1 + src/export.llvm | 1 + src/export.msvc | 1 + src/fido.h | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cred.c b/src/cred.c index e46cfbe9..110e0aab 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);