]> wagner.pp.ru Git - openssl-gost/engine.git/commit
Fix possible overflow of digest result writing
authorVitaly Chikunov <vt@altlinux.org>
Thu, 2 Aug 2018 13:59:14 +0000 (16:59 +0300)
committerVitaly Chikunov <vt@altlinux.org>
Wed, 8 Aug 2018 18:15:23 +0000 (21:15 +0300)
commit10ae275fd54e600c08ee330eaf9738aa476e0ca4
treeedec2417be2f5bd50d2b05cee3ed1491a12d56b5
parent636dd0c1f36872f0abcb4f8a465e837929ed19d1
Fix possible overflow of digest result writing

Openssl is already have output result size in EVP_MD.md_size
We should not exceed its value when writing digest output.
This should be fixed more consistently, probably, by removing
dgst_size from OMAC_CTX.
compat.h
gost_omac.c