]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Remove unreachable return statement
authorJouni Malinen <j@w1.fi>
Sun, 8 Mar 2020 14:35:45 +0000 (16:35 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Mar 2020 14:35:45 +0000 (16:35 +0200)
This was forgotten from an earlier development version.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/dpp.c

index c1ebae1bddb9b44763bb67346103ba3022ef535e..012956b3e0a5b21e2cea0bb1aed84249d8151bd6 100644 (file)
@@ -5375,7 +5375,6 @@ fail:
        return asn1_encaps(asn1_encaps(key,
                                       ASN1_CLASS_UNIVERSAL, ASN1_TAG_SEQUENCE),
                           ASN1_CLASS_UNIVERSAL, ASN1_TAG_SEQUENCE);
-       return key;
 }