aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-05-10 00:09:43 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-05-10 00:09:43 +0000
commitd6f188be71425a1c5441999734feaf73c6a7c8c9 (patch)
treee5421e8e3108675715786951e7937e7a61f69bd5
parent016cadfb542569dc72a7523fd12a03b21d075336 (diff)
downloadopenssl-d6f188be71425a1c5441999734feaf73c6a7c8c9.tar.gz
Fix warning with DEBUG_SAFESTACK
-rw-r--r--crypto/ui/ui_lib.c3
1 files changed, 1 insertions, 2 deletions
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);