Ensure that both the MD and key have been initialised before attempting to
authorMatt Caswell <matt@openssl.org>
Tue, 10 Feb 2015 11:39:52 +0000 (11:39 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Mar 2015 12:54:11 +0000 (12:54 +0000)
commite2095c6531da1207a936b65730db0222831a93ed
tree1a5ef888b2b8e5511fd495c1ef428833abd9e6c7
parent2cfbdd71dde0c3ddf4597eb20cc3e3fb8485fc15
Ensure that both the MD and key have been initialised before attempting to
create an HMAC

Inspired by BoringSSL commit 2fe7f2d0d9a6fcc75b4e594eeec306cc55acd594

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/hmac/hmac.c
crypto/hmac/hmac.h