Sfoglia il codice sorgente

Unit test: Check MacOS specific behavior with client certs

bel2125 5 anni fa
parent
commit
3677b095e4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      unittest/public_server.c

+ 1 - 1
unittest/public_server.c

@@ -798,7 +798,7 @@ START_TEST(test_mg_server_and_client_tls)
 		ck_assert(client_ri == NULL);
 		
 		mg_close_connection(client_conn);
-		client_conn == NULL;
+		client_conn = NULL;
 		strcpy(client_err, "OpenSSL on MacOS allows to connect without a mandatory client certificate, but not data exchange");
 	}
 #endif