From 85afe81e1f7c4e2d44d21acae0d393a23cef5376 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 11 Sep 2018 11:33:05 +0200 Subject: [PATCH] ike-auth: Remove unnecessary case statement --- src/libcharon/sa/ikev2/tasks/ike_auth.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libcharon/sa/ikev2/tasks/ike_auth.c b/src/libcharon/sa/ikev2/tasks/ike_auth.c index 1e462f0ff..b055ff064 100644 --- a/src/libcharon/sa/ikev2/tasks/ike_auth.c +++ b/src/libcharon/sa/ikev2/tasks/ike_auth.c @@ -458,13 +458,11 @@ static bool parse_ppk_identity(notify_payload_t *notify, identification_t **id) } switch (data.ptr[0]) { - case PPK_ID_OPAQUE: - /* we currently don't support this */ - default: - return FALSE; case PPK_ID_FIXED: data = chunk_skip(data, 1); break; + default: + return FALSE; } *id = identification_create_from_data(data); return TRUE;