Skip to content
Snippets Groups Projects
Commit 515ac8b5 authored by Matt Caswell's avatar Matt Caswell
Browse files

Check the plaintext buffer is large enough when decrypting SM2


Previously there was no check that the supplied buffer was large enough.
It was just assumed to be sufficient. Instead we should check and fail if
not.

Reviewed-by: default avatarPaul Dale <pauli@openssl.org>
Reviewed-by: default avatarNicola Tuveri <nic.tuv@gmail.com>
parent 733fa41c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment