From 6ee0af050ca4ae26fd72fbb1bbbd235cdb4a3195 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 29 Apr 2013 02:27:29 +0300 Subject: [PATCH] corrected bug in anyconnect compat --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index af73b0e5..87bdc7cb 100644 --- a/src/config.c +++ b/src/config.c @@ -281,7 +281,7 @@ static void check_cfg( struct cfg_st *config) #ifdef ANYCONNECT_CLIENT_COMPAT if (config->cert) { - config->cert_hash = calc_sha1_hash(config->cert, 1); + config->cert_hash = calc_sha1_hash(config->cert[0], 1); } if (config->xml_config_file) {