]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/bio/bf_nbio.c
remove malloc casts
[thirdparty/openssl.git] / crypto / bio / bf_nbio.c
index 0ba6055e07d55ee86eed617b6661a5f458cd6252..df547a1027296c08524d9b56eccf3223fe948fc1 100644 (file)
@@ -102,7 +102,7 @@ static int nbiof_new(BIO *bi)
 {
     NBIO_TEST *nt;
 
-    if (!(nt = (NBIO_TEST *)OPENSSL_malloc(sizeof(NBIO_TEST))))
+    if (!(nt = OPENSSL_malloc(sizeof(NBIO_TEST))))
         return (0);
     nt->lrn = -1;
     nt->lwn = -1;