]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/bio/bio_lib.c
remove malloc casts
[thirdparty/openssl.git] / crypto / bio / bio_lib.c
index a5d8680d4802c4ab7162be41fa78ef9f5534bf8d..e7957a76783149ac4aa2dc7b4bf38fa38cb52034 100644 (file)
@@ -67,7 +67,7 @@ BIO *BIO_new(BIO_METHOD *method)
 {
     BIO *ret = NULL;
 
-    ret = (BIO *)OPENSSL_malloc(sizeof(BIO));
+    ret = OPENSSL_malloc(sizeof(BIO));
     if (ret == NULL) {
         BIOerr(BIO_F_BIO_NEW, ERR_R_MALLOC_FAILURE);
         return (NULL);