diff options
-rw-r--r-- | src/common/tortls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 09f95f925..8717c0e94 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -148,7 +148,8 @@ tor_tls_get_error(tor_tls *tls, int r, int extra, /** Initialize OpenSSL, unless it has already been initialized. */ static void -tor_tls_init() { +tor_tls_init(void) +{ if (!tls_library_is_initialized) { SSL_library_init(); SSL_load_error_strings(); |