enginetest needs 'memset' defined.
[openssl.git] / crypto / engine / enginetest.c
index 92cc0da..f02e6f4 100644 (file)
@@ -58,6 +58,7 @@
 
 #include <openssl/e_os2.h>
 #include <stdio.h>
+#include <string.h>
 #include <openssl/buffer.h>
 #include <openssl/crypto.h>
 #include <openssl/engine.h>
@@ -234,8 +235,8 @@ cleanup_loop:
                }
        for(loop = 0; loop < 512; loop++)
                {
-               OPENSSL_free(ENGINE_get_id(block[loop]));
-               OPENSSL_free(ENGINE_get_name(block[loop]));
+               OPENSSL_free((void *)ENGINE_get_id(block[loop]));
+               OPENSSL_free((void *)ENGINE_get_name(block[loop]));
                }
        printf("\nTests completed happily\n");
        to_return = 0;