make error tables const and separate header file
authorRich Salz <rsalz@openssl.org>
Wed, 7 Jun 2017 19:12:03 +0000 (15:12 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 7 Jun 2017 19:12:03 +0000 (15:12 -0400)
commit52df25cf2e656146cb3b206d8220124f0417d03f
treea0502334c45d96ad9ab32a855ee5bea28df2191d
parentbe606c013d31847718ceb5d97c567988a771c2e5
make error tables const and separate header file

Run perltidy on util/mkerr
Change some mkerr flags, write some doc comments
Make generated tables "const" when genearting lib-internal ones.
Add "state" file for mkerr
Renerate error tables and headers
Rationalize declaration of ERR_load_XXX_strings
Fix out-of-tree build
Add -static; sort flags/vars for options.
Also tweak code output
Moved engines/afalg to engines (from master)
Use -static flag
Standard engine #include's of errors
Don't linewrap err string tables unless necessary

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3392)
121 files changed:
.gitignore
Configurations/unix-Makefile.tmpl
crypto/asn1/asn1_err.c
crypto/async/async_err.c
crypto/bio/bio_err.c
crypto/bn/bn_err.c
crypto/buffer/buf_err.c
crypto/cms/cms_err.c
crypto/comp/comp_err.c
crypto/conf/conf_err.c
crypto/cpt_err.c
crypto/ct/ct_err.c
crypto/dh/dh_err.c
crypto/dsa/dsa_err.c
crypto/dso/dso_err.c
crypto/ec/ec_err.c
crypto/engine/eng_err.c
crypto/err/err.c
crypto/err/openssl.ec
crypto/err/openssl.txt [new file with mode: 0644]
crypto/evp/evp_err.c
crypto/kdf/kdf_err.c
crypto/objects/obj_err.c
crypto/ocsp/ocsp_err.c
crypto/pem/pem_err.c
crypto/pkcs12/pk12err.c
crypto/pkcs7/pkcs7err.c
crypto/rand/rand_err.c
crypto/rsa/rsa_err.c
crypto/ts/ts_err.c
crypto/ui/ui_err.c
crypto/x509/x509_err.c
crypto/x509v3/v3err.c
demos/engines/e_chil.txt [new file with mode: 0644]
engines/build.info
engines/e_afalg.c
engines/e_afalg.ec
engines/e_afalg.txt [new file with mode: 0644]
engines/e_afalg_err.c
engines/e_afalg_err.h
engines/e_capi.ec
engines/e_capi.txt [new file with mode: 0644]
engines/e_capi.txt.old [new file with mode: 0644]
engines/e_capi_err.c
engines/e_capi_err.h
engines/e_dasync.c
engines/e_dasync.ec
engines/e_dasync.txt [new file with mode: 0644]
engines/e_dasync.txt.old [new file with mode: 0644]
engines/e_dasync_err.c
engines/e_dasync_err.h
engines/e_ossltest.c
engines/e_ossltest.ec
engines/e_ossltest.txt [new file with mode: 0644]
engines/e_ossltest.txt.old [new file with mode: 0644]
engines/e_ossltest_err.c
engines/e_ossltest_err.h
engines/e_padlock.ec [deleted file]
include/internal/dso.h
include/internal/dsoerr.h [new file with mode: 0644]
include/openssl/asn1.h
include/openssl/asn1err.h [new file with mode: 0644]
include/openssl/async.h
include/openssl/asyncerr.h [new file with mode: 0644]
include/openssl/bio.h
include/openssl/bioerr.h [new file with mode: 0644]
include/openssl/bn.h
include/openssl/bnerr.h [new file with mode: 0644]
include/openssl/buffer.h
include/openssl/buffererr.h [new file with mode: 0644]
include/openssl/cms.h
include/openssl/cmserr.h [new file with mode: 0644]
include/openssl/comp.h
include/openssl/comperr.h [new file with mode: 0644]
include/openssl/conf.h
include/openssl/conferr.h [new file with mode: 0644]
include/openssl/crypto.h
include/openssl/cryptoerr.h [new file with mode: 0644]
include/openssl/ct.h
include/openssl/cterr.h [new file with mode: 0644]
include/openssl/dh.h
include/openssl/dherr.h [new file with mode: 0644]
include/openssl/dsa.h
include/openssl/dsaerr.h [new file with mode: 0644]
include/openssl/ec.h
include/openssl/ecerr.h [new file with mode: 0644]
include/openssl/engine.h
include/openssl/engineerr.h [new file with mode: 0644]
include/openssl/err.h
include/openssl/evp.h
include/openssl/evperr.h [new file with mode: 0644]
include/openssl/kdf.h
include/openssl/kdferr.h [new file with mode: 0644]
include/openssl/objects.h
include/openssl/objectserr.h [new file with mode: 0644]
include/openssl/ocsp.h
include/openssl/ocsperr.h [new file with mode: 0644]
include/openssl/pem.h
include/openssl/pemerr.h [new file with mode: 0644]
include/openssl/pkcs12.h
include/openssl/pkcs12err.h [new file with mode: 0644]
include/openssl/pkcs7.h
include/openssl/pkcs7err.h [new file with mode: 0644]
include/openssl/rand.h
include/openssl/randerr.h [new file with mode: 0644]
include/openssl/rsa.h
include/openssl/rsaerr.h [new file with mode: 0644]
include/openssl/ssl.h
include/openssl/sslerr.h [new file with mode: 0644]
include/openssl/ts.h
include/openssl/tserr.h [new file with mode: 0644]
include/openssl/ui.h
include/openssl/uierr.h [new file with mode: 0644]
include/openssl/x509.h
include/openssl/x509err.h [new file with mode: 0644]
include/openssl/x509v3.h
include/openssl/x509v3err.h [new file with mode: 0644]
ssl/ssl_err.c
util/libcrypto.num
util/mkdef.pl
util/mkerr.pl [changed mode: 0644->0755]