Commit 4bf4b865 authored by Neel Goyal's avatar Neel Goyal Committed by Rich Salz
Browse files

Set biom->type in BIO_METH_new

parent 6ad82533
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ BIO_METHOD *BIO_meth_new(int type, const char *name)
        BIOerr(BIO_F_BIO_METH_NEW, ERR_R_MALLOC_FAILURE);
        return NULL;
    }
    biom->type = type;
    return biom;
}