The branch OpenSSL_1_1_0-stable has been updated
       via  4bf4b86518297b47af9b160f063e09832c406b51 (commit)
      from  6ad8253306f96e1a749d020ddbb131c71aa1edf8 (commit)


- Log -----------------------------------------------------------------
commit 4bf4b86518297b47af9b160f063e09832c406b51
Author: Neel Goyal <ngo...@gmail.com>
Date:   Fri Apr 6 08:32:35 2018 -0400

    Set biom->type in BIO_METH_new
    
    Reviewed-by: Paul Dale <paul.d...@oracle.com>
    Reviewed-by: Rich Salz <rs...@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/5812)

-----------------------------------------------------------------------

Summary of changes:
 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 1e785d3..d1f3815 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;
 }
 
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to