mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
Fixed CID 576268
This commit is contained in:
@@ -48284,7 +48284,7 @@ int wolfSSL_CTX_set1_curves_list(WOLFSSL_CTX* ctx, const char* names)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (curve > (sizeof(word32) * WOLFSSL_BIT_SIZE)) {
|
if (curve >= (sizeof(word32) * WOLFSSL_BIT_SIZE)) {
|
||||||
/* shift left more than size of ctx->disabledCurves causes static
|
/* shift left more than size of ctx->disabledCurves causes static
|
||||||
* analysis report */
|
* analysis report */
|
||||||
WOLFSSL_MSG("curve value is too large for upcoming shift");
|
WOLFSSL_MSG("curve value is too large for upcoming shift");
|
||||||
|
Reference in New Issue
Block a user