mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
crypto/err: expand on error code generation
Signed-off-by: Čestmír Kalina <ckalina@redhat.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19823)
This commit is contained in:
parent
c3aed7e4e6
commit
2ee2b74cc7
@ -42,3 +42,14 @@ The generated C error code file `xxx_err.c` will load the header
|
||||
files `stdio.h`, `openssl/err.h` and `openssl/xxx.h` so the
|
||||
header file must load any additional header files containing any
|
||||
definitions it uses.
|
||||
|
||||
Adding new error codes
|
||||
======================
|
||||
|
||||
Instead of manually adding error codes into `crypto/err/openssl.txt`,
|
||||
it is recommended to leverage `make update` for error code generation.
|
||||
The target will process relevant sources and generate error codes for
|
||||
any *used* error codes.
|
||||
|
||||
If an error code is added manually into `crypto/err/openssl.txt`,
|
||||
subsequent `make update` has no effect.
|
||||
|
Loading…
Reference in New Issue
Block a user