Skip to content

Conversation

@kornelski
Copy link
Collaborator

I've copied rust-openssl APIs that are needed to make c2pa.org SDK compatible with boring (jira IMAGES-1371).

The openssl crate had also a couple of important safety fixes — X509VerifyParam::set_host with 0-len host was unsafe, and X509StoreRef::objects references may get invalidated by other accesses of the shared cache.

X509StoreRef::objects is unfixable, so I've marked it as unsafe and deprecated, which is technically semver-breaking, but I think the risk of use-after-free in a safe API could warrant releasing it in 4.x despite breakage.

@kornelski
Copy link
Collaborator Author

rust-version = "1.70" stops Clippy from demanding c"lit" syntax that has been added more recently.

@rushilmehra rushilmehra merged commit 57fbe0f into cloudflare:master Nov 28, 2024
23 checks passed
@kornelski kornelski deleted the verify-param branch November 29, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants