From 4261aed855778e1204cd08ee932fc909d2371c53 Mon Sep 17 00:00:00 2001 From: Daniel Lenski Date: Tue, 15 Dec 2020 10:02:21 -0800 Subject: [PATCH] Pulse: one more known failcode (0x0e = client cert required) Verified by connecting to a Pulse server which requires a client cert, without providing one via -c/-k. Signed-off-by: Daniel Lenski --- pulse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pulse.c b/pulse.c index fb8676d1..582cbdce 100644 --- a/pulse.c +++ b/pulse.c @@ -1710,6 +1710,9 @@ static int pulse_authenticate(struct openconnect_info *vpninfo, int connecting) if (failcode == 0x0d) { vpn_progress(vpninfo, PRG_ERR, _("Authentication failure: Account locked out\n")); + } else if (failcode == 0x0e) { + vpn_progress(vpninfo, PRG_ERR, + _("Authentication failure: Client certificate required\n")); } else { vpn_progress(vpninfo, PRG_ERR, _("Authentication failure: Code 0x%02x\n"),