]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/srp.c
remove malloc casts
[thirdparty/openssl.git] / apps / srp.c
index c62d55de2b556244f76c26b18bfbcdf39a256406..0acbb8ac85c9d4169ada8c5bcf07d24adeb54bf0 100644 (file)
@@ -138,8 +138,7 @@ static int update_index(CA_DB *db, BIO *bio, char **row)
     char **irow;
     int i;
 
-    if ((irow =
-         (char **)OPENSSL_malloc(sizeof(char *) * (DB_NUMBER + 1))) == NULL) {
+    if ((irow = OPENSSL_malloc(sizeof(char *) * (DB_NUMBER + 1))) == NULL) {
         BIO_printf(bio_err, "Memory allocation failure\n");
         return 0;
     }