CONF: Convert one last CONFerr() to ERR_raise()
authorRichard Levitte <levitte@openssl.org>
Sat, 14 Nov 2020 10:58:03 +0000 (11:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 18 Nov 2020 10:40:52 +0000 (11:40 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13320)

crypto/conf/conf_def.c

index 2637e17fd80b09fd904d1cac007bac5754ef794e..3f63a5f88d3fbb32e33398e3d93c6bca2d1e9fdf 100644 (file)
@@ -417,7 +417,7 @@ static int def_load_bio(CONF *conf, BIO *in, long *line)
 
                     include_path = OPENSSL_malloc(newlen);
                     if (include_path == NULL) {
-                        CONFerr(CONF_F_DEF_LOAD_BIO, ERR_R_MALLOC_FAILURE);
+                        ERR_raise(ERR_LIB_CONF, ERR_R_MALLOC_FAILURE);
                         OPENSSL_free(include);
                         goto err;
                     }