aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-01-30 23:33:40 +0000
committerUlf Möller <ulf@openssl.org>2000-01-30 23:33:40 +0000
commit51ca375e7e640c6f1441d74abcda731ef7306d0c (patch)
tree8b661d70f98b8d819edea5f777117ec7be03fab7 /ssl/ssl_lib.c
parent1749d8a039e637a6ab06f30cd0351605b44dc625 (diff)
downloadopenssl-51ca375e7e640c6f1441d74abcda731ef7306d0c.tar.gz
Seek out and destroy another evil cast.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 4eabc612ef..3c71d5b367 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -380,7 +380,7 @@ void SSL_free(SSL *s)
if (s->method != NULL) s->method->ssl_free(s);
- Free((char *)s);
+ Free(s);
}
void SSL_set_bio(SSL *s,BIO *rbio,BIO *wbio)
@@ -1215,7 +1215,7 @@ void SSL_CTX_free(SSL_CTX *a)
sk_X509_pop_free(a->extra_certs,X509_free);
if (a->comp_methods != NULL)
sk_SSL_COMP_pop_free(a->comp_methods,SSL_COMP_free);
- Free((char *)a);
+ Free(a);
}
void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb)