corrected bug in anyconnect compat

This commit is contained in:
Nikos Mavrogiannopoulos
2013-04-29 02:27:29 +03:00
parent d38aaf4d2f
commit 6ee0af050c

View File

@@ -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) {