forked from rpms/openssh
81d24c0aa7
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/openssh#a048fcc3d0920b13b79be801efbae08388212c5f
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
diff --git a/regress/misc/sk-dummy/sk-dummy.c b/regress/misc/sk-dummy/sk-dummy.c
|
|
index dca158de..afdcb1d2 100644
|
|
--- a/regress/misc/sk-dummy/sk-dummy.c
|
|
+++ b/regress/misc/sk-dummy/sk-dummy.c
|
|
@@ -71,7 +71,7 @@ skdebug(const char *func, const char *fmt, ...)
|
|
#endif
|
|
}
|
|
|
|
-uint32_t
|
|
+uint32_t __attribute__((visibility("default")))
|
|
sk_api_version(void)
|
|
{
|
|
return SSH_SK_VERSION_MAJOR;
|
|
@@ -220,7 +220,7 @@ check_options(struct sk_option **options)
|
|
return 0;
|
|
}
|
|
|
|
-int
|
|
+int __attribute__((visibility("default")))
|
|
sk_enroll(uint32_t alg, const uint8_t *challenge, size_t challenge_len,
|
|
const char *application, uint8_t flags, const char *pin,
|
|
struct sk_option **options, struct sk_enroll_response **enroll_response)
|
|
@@ -467,7 +467,7 @@ sig_ed25519(const uint8_t *message, size_t message_len,
|
|
return ret;
|
|
}
|
|
|
|
-int
|
|
+int __attribute__((visibility("default")))
|
|
sk_sign(uint32_t alg, const uint8_t *data, size_t datalen,
|
|
const char *application, const uint8_t *key_handle, size_t key_handle_len,
|
|
uint8_t flags, const char *pin, struct sk_option **options,
|
|
@@ -518,7 +518,7 @@ sk_sign(uint32_t alg, const uint8_t *message, size_t message_len,
|
|
return ret;
|
|
}
|
|
|
|
-int
|
|
+int __attribute__((visibility("default")))
|
|
sk_load_resident_keys(const char *pin, struct sk_option **options,
|
|
struct sk_resident_key ***rks, size_t *nrks)
|
|
{
|