From 4bf4b86518297b47af9b160f063e09832c406b51 Mon Sep 17 00:00:00 2001 From: Neel Goyal Date: Fri, 6 Apr 2018 08:32:35 -0400 Subject: [PATCH] Set biom->type in BIO_METH_new Reviewed-by: Paul Dale Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5812) --- crypto/bio/bio_meth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/bio/bio_meth.c b/crypto/bio/bio_meth.c index 1e785d348f..d1f3815f27 100644 --- a/crypto/bio/bio_meth.c +++ b/crypto/bio/bio_meth.c @@ -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; } -- 2.34.1