fixed potential problem with ssl init
authorvenaas <venaas>
Wed, 13 Aug 2008 09:33:38 +0000 (09:33 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 13 Aug 2008 09:33:38 +0000 (09:33 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@335 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c

index b17464a..1ef66b6 100644 (file)
@@ -71,7 +71,7 @@ static int udp_server_sock = -1;
 static int udp_accserver_sock = -1;
 static int udp_client4_sock = -1;
 static int udp_client6_sock = -1;
-static pthread_mutex_t *ssl_locks;
+static pthread_mutex_t *ssl_locks = NULL;
 static long *ssl_lock_count;
 extern int optind;
 extern char *optarg;