vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jakub Jelen 51f5c1
diff --git a/regress/misc/sk-dummy/sk-dummy.c b/regress/misc/sk-dummy/sk-dummy.c
Jakub Jelen 51f5c1
index dca158de..afdcb1d2 100644
Jakub Jelen 51f5c1
--- a/regress/misc/sk-dummy/sk-dummy.c
Jakub Jelen 51f5c1
+++ b/regress/misc/sk-dummy/sk-dummy.c
Jakub Jelen 51f5c1
@@ -71,7 +71,7 @@ skdebug(const char *func, const char *fmt, ...)
Jakub Jelen 51f5c1
 #endif
Jakub Jelen 51f5c1
 }
Jakub Jelen 51f5c1
 
Jakub Jelen 51f5c1
-uint32_t
Jakub Jelen 51f5c1
+uint32_t __attribute__((visibility("default")))
Jakub Jelen 51f5c1
 sk_api_version(void)
Jakub Jelen 51f5c1
 {
Jakub Jelen 51f5c1
 	return SSH_SK_VERSION_MAJOR;
Jakub Jelen 51f5c1
@@ -220,7 +220,7 @@ check_options(struct sk_option **options)
Jakub Jelen 51f5c1
 	return 0;
Jakub Jelen 51f5c1
 }
Jakub Jelen 51f5c1
 
Jakub Jelen 51f5c1
-int
Jakub Jelen 51f5c1
+int __attribute__((visibility("default")))
Jakub Jelen 51f5c1
 sk_enroll(uint32_t alg, const uint8_t *challenge, size_t challenge_len,
Jakub Jelen 51f5c1
     const char *application, uint8_t flags, const char *pin,
Jakub Jelen 51f5c1
     struct sk_option **options, struct sk_enroll_response **enroll_response)
Jakub Jelen 51f5c1
@@ -467,7 +467,7 @@ sig_ed25519(const uint8_t *message, size_t message_len,
Jakub Jelen 51f5c1
 	return ret;
Jakub Jelen 51f5c1
 }
Jakub Jelen 51f5c1
 
Jakub Jelen 51f5c1
-int
Jakub Jelen 51f5c1
+int __attribute__((visibility("default")))
Jakub Jelen 5cd955
 sk_sign(uint32_t alg, const uint8_t *data, size_t datalen,
Jakub Jelen 51f5c1
     const char *application, const uint8_t *key_handle, size_t key_handle_len,
Jakub Jelen 51f5c1
     uint8_t flags, const char *pin, struct sk_option **options,
Jakub Jelen 51f5c1
@@ -518,7 +518,7 @@ sk_sign(uint32_t alg, const uint8_t *message, size_t message_len,
Jakub Jelen 51f5c1
 	return ret;
Jakub Jelen 51f5c1
 }
Jakub Jelen 51f5c1
 
Jakub Jelen 51f5c1
-int
Jakub Jelen 51f5c1
+int __attribute__((visibility("default")))
Jakub Jelen 51f5c1
 sk_load_resident_keys(const char *pin, struct sk_option **options,
Jakub Jelen 51f5c1
     struct sk_resident_key ***rks, size_t *nrks)
Jakub Jelen 51f5c1
 {