1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

boringssl: wrong tag constant

This commit is contained in:
Andy Green 2019-07-09 18:16:43 +01:00
parent 761e7528eb
commit 896de50de2

View file

@ -311,7 +311,7 @@ lws_genaes_crypt(struct lws_genaes_ctx *ctx,
case LWS_GAESO_DEC:
if (ctx->mode == LWS_GAESM_GCM)
EVP_CIPHER_CTX_ctrl(ctx->ctx,
EVP_CTRL_CCM_SET_TAG,
EVP_CTRL_GCM_SET_TAG,
ctx->taglen, ctx->tag);
n = EVP_DecryptInit_ex(ctx->ctx, NULL, NULL,
ctx->k->buf,