mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-13 18:12:03 +08:00
more fixes
This commit is contained in:
+1
-1
@@ -376,7 +376,6 @@ unsigned i;
|
|||||||
DEL(config->banner);
|
DEL(config->banner);
|
||||||
DEL(config->dh_params_file);
|
DEL(config->dh_params_file);
|
||||||
DEL(config->name);
|
DEL(config->name);
|
||||||
DEL(config->cert);
|
|
||||||
DEL(config->pin_file);
|
DEL(config->pin_file);
|
||||||
DEL(config->srk_pin_file);
|
DEL(config->srk_pin_file);
|
||||||
DEL(config->ca);
|
DEL(config->ca);
|
||||||
@@ -402,6 +401,7 @@ unsigned i;
|
|||||||
DEL(config->key);
|
DEL(config->key);
|
||||||
for (i=0;i<config->cert_size;i++)
|
for (i=0;i<config->cert_size;i++)
|
||||||
DEL(config->cert[i]);
|
DEL(config->cert[i]);
|
||||||
|
DEL(config->cert);
|
||||||
DEL(config->network.routes);
|
DEL(config->network.routes);
|
||||||
memset(config, 0, sizeof(*config));
|
memset(config, 0, sizeof(*config));
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -257,7 +257,7 @@ int ret;
|
|||||||
* is compatible with all ciphersuites */
|
* is compatible with all ciphersuites */
|
||||||
static void certificate_check(main_server_st *s)
|
static void certificate_check(main_server_st *s)
|
||||||
{
|
{
|
||||||
gnutls_datum_t data;
|
gnutls_datum_t data = {NULL, 0};
|
||||||
gnutls_x509_crt_t crt = NULL;
|
gnutls_x509_crt_t crt = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
unsigned usage;
|
unsigned usage;
|
||||||
|
|||||||
Reference in New Issue
Block a user