Commit d2dfd482 authored by Kazuki Yamaguchi's avatar Kazuki Yamaguchi Committed by Richard Levitte
Browse files

Fix a NULL dereference in chacha20_poly1305_init_key()



chacha20_poly1305_init_key() dereferences NULL when called with inkey !=
NULL && iv == NULL. This function is called by EVP_EncryptInit_ex()
family, whose documentation allows setting key and iv in separate calls.

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent b6cff313
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment