-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
OSSL_CMP_CTX: rename get/set functions for trustedStore
#17277
Conversation
This would be 4.0 change only. |
32822b8
to
d0c5324
Compare
Why not 3.1? |
Ah yes, and I changed a pointless |
Why not 3.1? Because this is an ABI break. You cannot remove functions to replace them with other functions and not break ABI even if you provide compat macros. |
trustedStore
, simplify cmp_ctx.c
trustedStore
d0c5324
to
0727abd
Compare
I've split this PR into the renaming part, since this has not been allowed for 3.1, |
How if I do the 'renaming' the other way round - |
That would be of course OK for 3.1 in terms of API/ABI compatibility. I am still unsure whether we want to introduce such macro aliases, but probably yes. |
This makes the naming more consistent, in a backward-compatible way
0727abd
to
098dddf
Compare
This makes the naming more consistent, in a backward-compatible way
098dddf
to
b113ae0
Compare
I've just done so in a fixup. |
@t8m, is this okay now? |
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. |
Merged - thanks @t8m |
This makes the naming more consistent, in a backward-compatible way Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #17277)
This makes the naming more consistent, in a backward-compatible way Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#17277)
Rename
OSSL_CMP_CTX_get0_trustedStore()
toOSSL_CMP_CTX_get0_trusted()
andOSSL_CMP_CTX_set0_trustedStore()
toOSSL_CMP_CTX_set0_trusted()
,adding name macros for backward compatibility.
This makes the get/set function naming more consistent
(in particular with
OSSL_CMP_CTX_{get0,set1}_untrusted()
)and.removes much redundancy form the definition of many getters and setters
Checklist