Only call FIPS_update, FIPS_final in FIPS mode.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 8 May 2016 23:06:02 +0000 (00:06 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 9 May 2016 01:10:28 +0000 (02:10 +0100)
commit6ec73ea2f59d2f587185017b49b0357cfd25df2f
tree02640259050d27cb697d0dedadbceed694e95214
parent0377ad3974acabf15f7585df4383717c96285455
Only call FIPS_update, FIPS_final in FIPS mode.

RT#3826

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 2b4825d0bb6057e44717007a54797df72babdb7e)
crypto/evp/digest.c