From: Dr. Stephen Henson Date: Thu, 10 May 2001 00:09:43 +0000 (+0000) Subject: Fix warning with DEBUG_SAFESTACK X-Git-Tag: OpenSSL_0_9_6c~182^2~192 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d6f188be71425a1c5441999734feaf73c6a7c8c9;p=oweals%2Fopenssl.git Fix warning with DEBUG_SAFESTACK --- diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index 132236fe65..cf87f06a6a 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -92,9 +92,8 @@ UI *UI_new_method(const UI_METHOD *method) return ret; } -static void free_string(void *data) +static void free_string(UI_STRING *uis) { - UI_STRING *uis = (UI_STRING *)data; if (uis->flags & OUT_STRING_FREEABLE) OPENSSL_free((char *)uis->out_string); OPENSSL_free(uis);