add static to internal function
Change-Id: Ia285a3f0f7905bf4834380530d0c0eb7fdf730c6
diff --git a/patches/jsse.patch b/patches/jsse.patch
index 0caf167..c678439 100644
--- a/patches/jsse.patch
+++ b/patches/jsse.patch
@@ -281,7 +281,7 @@
}
-const char *SSL_get_version(const SSL *s)
-+const char *ssl_get_version(int version)
++static const char *ssl_get_version(int version)
{
- if (s->version == TLS1_VERSION)
+ if (version == TLS1_VERSION)
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index f86a96f..905656e 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -2459,7 +2459,7 @@
return(NULL);
}
-const char *ssl_get_version(int version)
+static const char *ssl_get_version(int version)
{
if (version == TLS1_VERSION)
return("TLSv1");