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

Add OSSL_CMP_CTX_get0_validatedSrvCert() #18656

Closed

Conversation

DDvO
Copy link
Contributor

@DDvO DDvO commented Jun 24, 2022

  • add OSSL_CMP_CTX_get0_validatedSrvCert()
  • correct OSSL_CMP_validate_msg()
  • change ossl_cmp_ctx_set0_validatedSrvCert() to ossl_cmp_ctx_set1_validatedSrvCert()
  • add respective tests as well as the -srvcertout CLI option using the new function.
  • documentation is added or updated
  • tests are added or updated

@DDvO DDvO added branch: master Merge to master branch approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member triaged: feature The issue/pr requests/adds a feature labels Jun 24, 2022
apps/cmp.c Outdated Show resolved Hide resolved
apps/cmp.c Outdated Show resolved Hide resolved
@DDvO DDvO added this to the 3.1.0 milestone Jun 27, 2022
@DDvO
Copy link
Contributor Author

DDvO commented Jun 29, 2022

@t8m, your comments have been addressed.

@DDvO DDvO force-pushed the add_OSSL_CMP_CTX_get0_validatedSrvCert branch from dc1c84b to 27c2aeb Compare July 7, 2022 05:01
@DDvO
Copy link
Contributor Author

DDvO commented Jul 7, 2022

Rebased to solve trivial merge conflict.

Also here reviewing can continue.

@DDvO DDvO requested review from t8m and beldmit July 11, 2022 19:17
Copy link
Member

@beldmit beldmit left a comment

Choose a reason for hiding this comment

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

LGTM from a general point of view.

apps/cmp.c Show resolved Hide resolved
@DDvO DDvO removed the approval: otc review pending This pull request needs review by an OTC member label Jul 18, 2022
@DDvO
Copy link
Contributor Author

DDvO commented Jul 18, 2022

@t8m, since you gave comments on PR before, which have been addressed, can you approve, too?

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.

Just one nit and I'll approve

apps/cmp.c Outdated Show resolved Hide resolved
@t8m
Copy link
Member

t8m commented Jul 18, 2022

@beldmit still OK?

…e_msg()

Also change ossl_cmp_ctx_set0_validatedSrvCert() to ossl_cmp_ctx_set1_validatedSrvCert(),
and add respective tests as well as the -srvcertout CLI option using the new function.
@DDvO DDvO force-pushed the add_OSSL_CMP_CTX_get0_validatedSrvCert branch from cb5a304 to fef2a1b Compare July 19, 2022 06:52
@DDvO
Copy link
Contributor Author

DDvO commented Jul 19, 2022

I had to fix a trivial merge conflict in util/libcrypto.num.

@beldmit and @t8m, could you please reconfirm.

Copy link
Member

@beldmit beldmit left a comment

Choose a reason for hiding this comment

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

LGTM

@beldmit beldmit added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Jul 19, 2022
@openssl-machine openssl-machine added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Jul 20, 2022
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

openssl-machine pushed a commit that referenced this pull request Jul 20, 2022
…e_msg()

Also change ossl_cmp_ctx_set0_validatedSrvCert() to ossl_cmp_ctx_set1_validatedSrvCert(),
and add respective tests as well as the -srvcertout CLI option using the new function.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from #18656)
@DDvO
Copy link
Contributor Author

DDvO commented Jul 20, 2022

Merged - thanks @beldmit and @t8m

@DDvO DDvO closed this Jul 20, 2022
DDvO added a commit to mpeylo/cmpossl that referenced this pull request Aug 5, 2022
…e_msg()

Also change ossl_cmp_ctx_set0_validatedSrvCert() to ossl_cmp_ctx_set1_validatedSrvCert(),
and add respective tests as well as the -srvcertout CLI option using the new function.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from openssl#18656)
sftcd pushed a commit to sftcd/openssl that referenced this pull request Sep 24, 2022
…e_msg()

Also change ossl_cmp_ctx_set0_validatedSrvCert() to ossl_cmp_ctx_set1_validatedSrvCert(),
and add respective tests as well as the -srvcertout CLI option using the new function.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from openssl#18656)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch triaged: feature The issue/pr requests/adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants