forked from wolfSSL/wolfssl
internal.c: fix fall_through compilation issues
src/internal.c: In function 'SendCertificateVerify': ./wolfssl/wolfcrypt/types.h:345:40: error: attribute 'fallthrough' not preceding a case label or default label [-Werror] 345 | #define FALL_THROUGH ; __attribute__ ((fallthrough)) In file included from ./wolfssl/internal.h:27, from src/internal.c:92: src/internal.c: In function 'SendCertificateVerify': ./wolfssl/wolfcrypt/types.h:345:40: error: attribute 'fallthrough' not preceding a case label or default label [-Werror] 345 | #define FALL_THROUGH ; __attribute__ ((fallthrough))
This commit is contained in:
@ -30290,7 +30290,7 @@ int SendCertificateVerify(WOLFSSL* ssl)
|
|||||||
goto exit_scv;
|
goto exit_scv;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if defined(HAVE_CURVE25519) || defined(HAVE_CURVE448)
|
#if defined(HAVE_ED25519) || defined(HAVE_ED448)
|
||||||
FALL_THROUGH;
|
FALL_THROUGH;
|
||||||
#endif
|
#endif
|
||||||
#endif /* WOLFSSL_CHECK_SIG_FAULTS */
|
#endif /* WOLFSSL_CHECK_SIG_FAULTS */
|
||||||
@ -32381,8 +32381,7 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
goto exit_sske;
|
goto exit_sske;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if defined(HAVE_CURVE25519) || \
|
#if defined(HAVE_E25519) || defined(HAVE_ED448)
|
||||||
defined(HAVE_CURVE448)
|
|
||||||
FALL_THROUGH;
|
FALL_THROUGH;
|
||||||
#endif
|
#endif
|
||||||
#endif /* WOLFSSL_CHECK_SIG_FAULTS */
|
#endif /* WOLFSSL_CHECK_SIG_FAULTS */
|
||||||
|
Reference in New Issue
Block a user