Cleanup: fix all sources that used HMAC_CTX_init
[openssl.git] / test / heartbeat_test.c
index 491bbedd181d3101c2eec50e6742e7399fb02ef3..42cbc0217c7ef56595b45fb7bfe0e71b0c6cfbbb 100644 (file)
@@ -211,7 +211,7 @@ static int execute_heartbeat(HEARTBEAT_TEST_FIXTURE fixture)
      * Make a local copy of the request, since it gets overwritten at some
      * point
      */
-    memcpy((char *)sent_buf, (const char *)payload, sizeof(sent_buf));
+    memcpy(sent_buf, payload, sizeof(sent_buf));
 
     return_value = fixture.process_heartbeat(s, s->rlayer.rrec.data,
         s->rlayer.rrec.length);