summaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-09-22 08:47:45 -0400
committerRich Salz <rsalz@openssl.org>2016-09-22 08:57:09 -0400
commit581215a519c66db7255ea360ed25bb00033ccd52 (patch)
tree7f8f5d8e00261d591ff630c9e272073270fe6529 /crypto/engine
parent9d264d11a93413d2724b7c8c873e56b2ddd8c53f (diff)
Fix typo introduced by a03f81f4
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/eng_cryptodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
index 65a74df236..2a2b95ce83 100644
--- a/crypto/engine/eng_cryptodev.c
+++ b/crypto/engine/eng_cryptodev.c
@@ -939,7 +939,7 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from)
if (fstate->mac_len != 0) {
if (fstate->mac_data != NULL) {
dstate->mac_data = OPENSSL_malloc(fstate->mac_len);
- if (dstate->ac_data == NULL) {
+ if (dstate->mac_data == NULL) {
printf("cryptodev_digest_init: malloc failed\n");
return 0;
}