mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
COV225133: coverity false positive
This commit is contained in:
parent
6625cc059c
commit
cd207447e0
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@ lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type,
|
|||
HMAC_CTX_init(&ctx->ctx);
|
||||
#endif
|
||||
|
||||
ctx->evp_type = 0; /* coverity unable to see we set this or fail */
|
||||
|
||||
switch (type) {
|
||||
case LWS_GENHMAC_TYPE_SHA256:
|
||||
ctx->evp_type = EVP_sha256();
|
||||
|
|
Loading…
Add table
Reference in a new issue