CVSROOT: /cvs Module name: src Changes by: b...@cvs.openbsd.org 2014/04/26 12:56:38
Modified files: lib/libssl/src/crypto/asn1: a_mbstr.c asn1_gen.c asn1_lib.c asn_mime.c tasn_dec.c lib/libssl/src/crypto/bio: b_sock.c bss_conn.c bss_file.c lib/libssl/src/crypto/cms: cms_smime.c lib/libssl/src/crypto/comp: c_zlib.c lib/libssl/src/crypto/conf: conf_def.c conf_lib.c conf_mod.c lib/libssl/src/crypto/dso: dso_dlfcn.c lib/libssl/src/crypto/engine: eng_cnf.c eng_fat.c eng_list.c lib/libssl/src/crypto/evp: evp_pbe.c evp_pkey.c lib/libssl/src/crypto/ocsp: ocsp_ht.c ocsp_vfy.c lib/libssl/src/crypto/pem: pem_lib.c lib/libssl/src/crypto/pkcs7: bio_ber.c pk7_smime.c lib/libssl/src/crypto/ts: ts_conf.c ts_rsp_verify.c lib/libssl/src/crypto/ui: ui_lib.c lib/libssl/src/crypto/x509: x509_att.c x509name.c lib/libssl/src/crypto/x509v3: v3_akey.c v3_alt.c v3_conf.c v3_info.c x509v3.h lib/libssl/src/ssl: d1_pkt.c s3_pkt.c ssl_cert.c Log message: Replace all use of ERR_add_error_data with ERR_asprintf_error_data. This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c where it was being called with the incorrect number of arguments and using random things off the stack as addresses of strings. ok krw@, jsing@