CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data()
authorRichard Levitte <levitte@openssl.org>
Wed, 4 Nov 2020 15:14:00 +0000 (16:14 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 13 Nov 2020 08:35:31 +0000 (09:35 +0100)
commita150f8e1fcc38752fef4d7c75d765d8efc7d46d6
treef7f62c9a5d8407d8b17820fbef67378aa7b9ddbb
parent9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2
CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data()

This is not done absolutely everywhere, as there are places where
the use of ERR_add_error_data() is quite complex, but at least the
simple cases are done.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13318)
51 files changed:
apps/lib/apps.c
crypto/asn1/a_mbstr.c
crypto/asn1/asn1_gen.c
crypto/asn1/asn_mime.c
crypto/asn1/asn_mstbl.c
crypto/bio/b_addr.c
crypto/bio/bss_acpt.c
crypto/bio/bss_conn.c
crypto/bio/bss_dgram.c
crypto/cmp/cmp_client.c
crypto/cmp/cmp_msg.c
crypto/cmp/cmp_status.c
crypto/cms/cms_smime.c
crypto/comp/c_zlib.c
crypto/conf/conf_def.c
crypto/conf/conf_lib.c
crypto/conf/conf_mod.c
crypto/conf/conf_ssl.c
crypto/dso/dso_dl.c
crypto/dso/dso_dlfcn.c
crypto/dso/dso_vms.c
crypto/dso/dso_win32.c
crypto/ec/ec_curve.c
crypto/engine/eng_cnf.c
crypto/engine/eng_fat.c
crypto/engine/eng_list.c
crypto/evp/evp_cnf.c
crypto/evp/evp_pbe.c
crypto/evp/evp_pkey.c
crypto/http/http_client.c
crypto/ocsp/ocsp_vfy.c
crypto/pkcs7/pk7_smime.c
crypto/provider_conf.c
crypto/rand/rand_lib.c
crypto/rand/randfile.c
crypto/ts/ts_conf.c
crypto/ts/ts_rsp_verify.c
crypto/ui/ui_lib.c
crypto/ui/ui_openssl.c
crypto/x509/v3_addr.c
crypto/x509/v3_akey.c
crypto/x509/v3_alt.c
crypto/x509/v3_bitst.c
crypto/x509/v3_conf.c
crypto/x509/v3_cpols.c
crypto/x509/v3_extku.c
crypto/x509/v3_info.c
crypto/x509/v3_pcons.c
crypto/x509/v3_pmaps.c
crypto/x509/x509_att.c
crypto/x509/x509name.c