openssl/engines
Richard Levitte c361297046 Avoid using ERR_put_error() directly in OpenSSL code
If compiled with 'no-deprecated', ERR_put_error() is undefined.  We
had one spot where we were using it directly, because the file and
line information was passed from elsewhere.

Fortunately, it's possible to use ERR_raise() for that situation, and
call ERR_set_debug() immediately after and thereby override the
information that ERR_raise() stored in the error record.

util/mkerr.pl needed a small adjustment to not generate code that
won't compile in a 'no-deprecated' configuration.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9452)
2019-07-31 06:45:21 +02:00
..
asm Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
build.info Move padlock_asm_src file information to build.info files 2019-06-17 16:08:53 +02:00
e_afalg.c Use OPENSSL_strlcpy instead of strncpy in e_afalg.c 2019-07-30 20:36:32 +02:00
e_afalg.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_afalg.h Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
e_afalg.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_afalg_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_afalg_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi.c Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
e_capi.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_capi.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_capi_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_capi_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync.c engines/dasync: add explaining comments about AES-128-CBC-HMAC-SHA1 2019-02-22 13:31:49 +01:00
e_dasync.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_dasync.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_dasync_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_dasync_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_devcrypto.c Deprecate SYSerr, add new FUNCerr macro 2019-07-22 16:24:56 +02:00
e_ossltest.c Following the license change, modify the boilerplates in engines/ 2018-12-06 15:36:54 +01:00
e_ossltest.ec make error tables const and separate header file 2017-06-07 15:12:03 -04:00
e_ossltest.txt Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_ossltest_err.c Avoid using ERR_put_error() directly in OpenSSL code 2019-07-31 06:45:21 +02:00
e_ossltest_err.h Regenerate mkerr files 2019-07-16 05:26:28 +02:00
e_padlock.c Deprecate the "hw" configuration options, make "padlockeng" disablable 2019-03-05 08:46:51 +01:00