Adapt HMAC to the EVP_MD_CTX changes
[openssl.git] / test / hmactest.c
index f8d535063f63d01b3dcf69c4ae109417a54f747b..20c7a8fc00398dba65100426cd4759eccbc0e597 100644 (file)
@@ -134,7 +134,7 @@ int main(int argc, char *argv[])
     char *p;
 # endif
     int err = 0;
-    HMAC_CTX ctx, ctx2;
+    HMAC_CTX ctx = HMAC_CTX_EMPTY, ctx2 = HMAC_CTX_EMPTY;
     unsigned char buf[EVP_MAX_MD_SIZE];
     unsigned int len;