Remove ENGINE usage from crypto subdirs#28629
Remove ENGINE usage from crypto subdirs#28629jogme wants to merge 3 commits intoopenssl:feature/engineremovalfrom
Conversation
8132702 to
f70450f
Compare
9237be8 to
bcbdda0
Compare
ded7b50 to
a21b9c8
Compare
e229d4a to
7c70e29
Compare
mbroz
left a comment
There was a problem hiding this comment.
I think the ossl_unused attribute is not correct for most API calls, but please correct me if it has different meaning than attribute((unused)) (defined in e_os2.h) ...
6883e71 to
84c23a3
Compare
mbroz
left a comment
There was a problem hiding this comment.
LGTM
Deprecated OSSL_STORE_LOADER_get0_engine could be also replaced by a stub, but I think it is better to keep it returning NULL.
6b8cb63 to
c6388b7
Compare
There was a problem hiding this comment.
It's unfortunate that changes in internal functions are intermixed with NULL checks for the engine parameters in publicly facing functions, as well as ossl_unused additions/removals in the same commit, but I guess that's immaterial. The only meaningful change required is the leak fix, everything else is good enough as it is.
c7d9244 to
eda0770
Compare
Sashan
left a comment
There was a problem hiding this comment.
looks good to me. thanks.
b1efec7 to
90e2bc1
Compare
Engines can be removed safely from static and internal functions clearing out our codebase. Resolves: openssl/project#1625 Signed-off-by: Norbert Pocs <[email protected]>
Signed-off-by: Norbert Pocs <[email protected]>
Signed-off-by: Norbert Pocs <[email protected]>
|
This pull request is ready to merge |
Engines can be removed safely from static and internal functions clearing out our codebase. Resolves: openssl/project#1625 Signed-off-by: Norbert Pocs <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Reviewed-by: Saša Nedvědický <[email protected]> (Merged from #28629)
|
CI is not relevant. changes were merged to feature branch via |
Engines can be removed safely from static and internal functions clearing out our codebase. Resolves: openssl/project#1625 Signed-off-by: Norbert Pocs <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Reviewed-by: Saša Nedvědický <[email protected]> (Merged from openssl#28629)
Engines can be removed safely from static and internal functions clearing out our codebase. Resolves: openssl/project#1625 Signed-off-by: Norbert Pocs <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Reviewed-by: Saša Nedvědický <[email protected]> (Merged from openssl#28629)
Engines can be removed safely from static and internal functions clearing out our codebase. Resolves: openssl/project#1625 Signed-off-by: Norbert Pocs <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Eugene Syromiatnikov <[email protected]> Reviewed-by: Saša Nedvědický <[email protected]> (Merged from openssl#28629)
The functiontality here was already removed by the OPENSSL_NO_ENGINE guard.
This PR makes the internal function shiny.
Resolves: openssl/project#1625
Checklist