mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
optional-certificate was renamed to certificate[optional]
This commit is contained in:
+1
-1
@@ -389,7 +389,7 @@ unsigned force_cert_auth;
|
||||
config->auth_types |= AUTH_TYPE_PLAIN;
|
||||
} else if (c_strcasecmp(auth[j], "certificate") == 0) {
|
||||
config->auth_types |= AUTH_TYPE_CERTIFICATE;
|
||||
} else if (c_strcasecmp(auth[j], "optional-certificate") == 0) {
|
||||
} else if (c_strcasecmp(auth[j], "certificate[optional]") == 0) {
|
||||
config->auth_types |= AUTH_TYPE_CERTIFICATE_OPT;
|
||||
} else {
|
||||
fprintf(stderr, "Unknown auth method: %s\n", auth[j]);
|
||||
|
||||
Reference in New Issue
Block a user