2020-02-17 10:57:13 +00:00
|
|
|
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")))
|
2020-05-27 07:57:29 +00:00
|
|
|
sk_sign(uint32_t alg, const uint8_t *data, size_t datalen,
|
2020-02-17 10:57:13 +00:00
|
|
|
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)
|
|
|
|
{
|