Check EVP_Digest* functions return value in openssl(1) ts
authorinoguchi <inoguchi@openbsd.org>
Sun, 27 Mar 2022 00:37:10 +0000 (00:37 +0000)
committerinoguchi <inoguchi@openbsd.org>
Sun, 27 Mar 2022 00:37:10 +0000 (00:37 +0000)
commit814fd41b4cce7c22384f7c3b941c93ecc11a3110
tree1a4c5ca4dc8cfe425fa411c91ad394e1b48597fc
parenta8034bb6cd6cc380cba72ddd462c8f0a876e1642
Check EVP_Digest* functions return value in openssl(1) ts

Move up md_ctx and add EVP_MD_CTX_free under the 'err:' label.
CID 149810

comment and ok jsing@
usr.bin/openssl/ts.c