You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
2 years ago
|
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)
|
||
|
{
|