Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APPS: Fix behavior of print_name() on out==NULL and result type of dump_cert_text() #16344

Closed
wants to merge 1 commit into from

Conversation

DDvO
Copy link
Contributor

@DDvO DDvO commented Aug 18, 2021

This fixes spurious error queue entries like

007E7E0D01000000:error:100C0102:BIO routines:BIO_puts:passed a null parameter:../openssl/crypto/bio/bio_lib.c:406:
007E7E0D01000000:error:100C0102:BIO routines:BIO_puts:passed a null parameter:../openssl/crypto/bio/bio_lib.c:406:

mentioned in #16300 (comment).

These are due to the IMHO unfortunate design decison that BIO_puts(NULL, ...), takes a NULL BIO input as an error,
while most/all other BIO print functions simply are no-ops in this case.

@DDvO DDvO added the approval: otc review pending This pull request needs review by an OTC member label Aug 18, 2021
apps/lib/apps.c Show resolved Hide resolved
@t8m t8m added branch: master Merge to master branch triaged: bug The issue/pr is/fixes a bug labels Aug 23, 2021
@t8m t8m added this to the 3.0.0 milestone Aug 23, 2021
@paulidale paulidale added approval: done This pull request has the required number of approvals and removed approval: otc review pending This pull request needs review by an OTC member labels Aug 23, 2021
@openssl-machine
Copy link
Collaborator

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests. Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

@DDvO
Copy link
Contributor Author

DDvO commented Aug 25, 2021

Merged - thanks.

@DDvO DDvO closed this Aug 25, 2021
openssl-machine pushed a commit that referenced this pull request Aug 25, 2021
…) on out==NULL

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #16344)
@t8m t8m removed this from the 3.0.0 milestone Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: done This pull request has the required number of approvals branch: master Merge to master branch triaged: bug The issue/pr is/fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants