Skip to content
Commit 1829ff4b authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix some Coverity issues in sm2_encrypt()



Check for a negative EVP_MD_size().
Don't dereference group until we've checked if it is NULL.

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6592)
parent 3e0076c2
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