Skip to content

Commit

Permalink
Documenting lack of error codes stability
Browse files Browse the repository at this point in the history
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #20019)
  • Loading branch information
beldmit committed Jan 16, 2023
1 parent 60c3d73 commit ae61bd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/man3/ERR_GET_LIB.pod
Expand Up @@ -42,6 +42,14 @@ The library number, reason code, and whether the error
is fatal, respectively.
Starting with OpenSSL 3.0.0, the function code is always set to zero.

=head1 NOTES

Applications should not make control flow decisions based on specific error
codes. Error codes are subject to change at any time (even in patch releases of
OpenSSL). A particular error code can only be considered meaningful for control
flow decisions if it is explicitly documented as such. New failure codes may
still appear at any time.

=head1 SEE ALSO

L<ERR_get_error(3)>
Expand Down

0 comments on commit ae61bd3

Please sign in to comment.