mirror of
https://github.com/openssl/openssl.git
synced 2025-02-11 14:22:43 +08:00
Avoid const castaway warning
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
d8adf68cd6
commit
bda1f0c0d6
@ -162,8 +162,8 @@ static int test_engines(void)
|
||||
ENGINE_free(ptr);
|
||||
}
|
||||
for (loop = 0; loop < NUMTOADD; loop++) {
|
||||
OPENSSL_free((void *)ENGINE_get_id(block[loop]));
|
||||
OPENSSL_free((void *)ENGINE_get_name(block[loop]));
|
||||
OPENSSL_free((void *)(intptr_t)ENGINE_get_id(block[loop]));
|
||||
OPENSSL_free((void *)(intptr_t)ENGINE_get_name(block[loop]));
|
||||
}
|
||||
to_return = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user