vishalmishra434 / rpms / openssh

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