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

Fix use of verification callback for strict checks and document newly added checks #13312

Closed
wants to merge 5 commits into from

Conversation

DDvO
Copy link
Contributor

@DDvO DDvO commented Nov 4, 2020

  • x509_vfy.c: Call verification callback individually per strict check in check_chain().
    To this end, introduce CHECK_CB macro simplifying use of cert verification callback function
  • CHANGES.md: Mention (strict) checks recently added to X509_verify_cert()
  • Improve doc of X509_verify_cert(), also in openssl.pod,
    in particular regarding the checks due to X509_V_FLAG_X509_STRICT/-x509_strict

Fixes #13283

CHANGES.md Outdated Show resolved Hide resolved
crypto/x509/x509_vfy.c Outdated Show resolved Hide resolved
@DDvO DDvO force-pushed the fix_13283_strict_check_callback branch from 729b106 to 1e1a2f2 Compare November 4, 2020 15:22
crypto/x509/x509_vfy.c Outdated Show resolved Hide resolved
@DDvO
Copy link
Contributor Author

DDvO commented Nov 5, 2020

@t8m, is there anything further to improve on this PR?

Copy link
Member

@t8m t8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@t8m t8m added approval: done This pull request has the required number of approvals branch: master Merge to master branch and removed approval: otc review pending labels Nov 5, 2020
@DDvO DDvO added the approval: ready to merge The 24 hour grace period has passed, ready to merge label Nov 6, 2020
@DDvO
Copy link
Contributor Author

DDvO commented Nov 6, 2020

Merged - thanks @t8m

@DDvO DDvO closed this Nov 6, 2020
openssl-machine pushed a commit that referenced this pull request Nov 6, 2020
in particular regarding the checks due to X509_V_FLAG_X509_STRICT/-x509_strict

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from #13312)
openssl-machine pushed a commit that referenced this pull request Nov 6, 2020
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from #13312)
openssl-machine pushed a commit that referenced this pull request Nov 6, 2020
…tion cb function

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from #13312)
openssl-machine pushed a commit that referenced this pull request Nov 6, 2020
…in check_chain()

Fixes #13283

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from #13312)
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 approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The -x509_strict flag no longer accepts missing Authority Key Identifier and Subject Key Identifier
2 participants