Fix issue where thread specific data is dereferenced inside the key value destructor
diff --git a/src/session_client_ssh.c b/src/session_client_ssh.c
index 8f76e49..40b00df 100644
--- a/src/session_client_ssh.c
+++ b/src/session_client_ssh.c
@@ -152,7 +152,7 @@
     }
 }
 
-static void
+void
 _nc_client_ssh_destroy_opts(struct nc_client_ssh_opts *opts)
 {
     int i;