Fix typo introduced by a03f81f4
authorRich Salz <rsalz@openssl.org>
Thu, 22 Sep 2016 12:47:45 +0000 (08:47 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 22 Sep 2016 12:57:09 +0000 (08:57 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/engine/eng_cryptodev.c

index 65a74df2362e82b44bdf948c8928609f14f428ad..2a2b95ce837e24a1ab528e98c0ef65e7060db421 100644 (file)
@@ -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;
             }