Module: sip-router
Branch: master
Commit: 85438b935b1e5513de96472a1a53cdd0a78ec442
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=85438b9…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Thu Jul 28 22:29:30 2011 +0200
tls: restrict visibility of 4 only internal used functions to the module
---
modules/tls/tls_domain.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/tls/tls_domain.c b/modules/tls/tls_domain.c
index 07fe4b8..a61149d 100644
--- a/modules/tls/tls_domain.c
+++ b/modules/tls/tls_domain.c
@@ -677,7 +677,7 @@ static int set_session_cache(tls_domain_t* d)
* @param clear if set to !=0 will do a clear, else (==0) a set
* @return 0 (always succeeds)
*/
-int tls_ssl_ctx_mode(SSL_CTX* ctx, long mode, void* clear)
+static int tls_ssl_ctx_mode(SSL_CTX* ctx, long mode, void* clear)
{
if (clear)
#if OPENSSL_VERSION_NUMBER >= 0x01000000L || \
@@ -700,7 +700,7 @@ int tls_ssl_ctx_mode(SSL_CTX* ctx, long mode, void* clear)
* @param unused unused
* @return 0 (always succeeds)
*/
-int tls_ssl_ctx_set_freelist(SSL_CTX* ctx, long val, void* unused)
+static int tls_ssl_ctx_set_freelist(SSL_CTX* ctx, long val, void* unused)
{
if (val >= 0)
#if OPENSSL_VERSION_NUMBER >= 0x01000000L
@@ -721,7 +721,7 @@ int tls_ssl_ctx_set_freelist(SSL_CTX* ctx, long val, void* unused)
* @param unused unused
* @return 0 on success, < 0 on failure (invalid value)
*/
-int tls_ssl_ctx_set_max_send_fragment(SSL_CTX* ctx, long val, void* unused)
+static int tls_ssl_ctx_set_max_send_fragment(SSL_CTX* ctx, long val, void* unused)
{
if (val >= 0)
#if OPENSSL_VERSION_NUMBER >= 0x00909000L
@@ -741,7 +741,7 @@ int tls_ssl_ctx_set_max_send_fragment(SSL_CTX* ctx, long val, void*
unused)
* @param unused unused
* @return 0 (always success).
*/
-int tls_ssl_ctx_set_read_ahead(SSL_CTX* ctx, long val, void* unused)
+static int tls_ssl_ctx_set_read_ahead(SSL_CTX* ctx, long val, void* unused)
{
if (val >= 0)
SSL_CTX_set_read_ahead(ctx, val);