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
10315893f7
commit
b177435945
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type,
|
|||
HMAC_CTX_init(&ctx->ctx);
|
||||
#endif
|
||||
|
||||
ctx->evp_type = 0;
|
||||
ctx->type = type;
|
||||
|
||||
switch (type) {
|
||||
case LWS_GENHMAC_TYPE_SHA256:
|
||||
ctx->evp_type = EVP_sha256();
|
||||
|
|
Loading…
Add table
Reference in a new issue