mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
corrected bug in anyconnect compat
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user