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

Silence unsafe FFI warnings #82

Merged
merged 1 commit into from
Nov 12, 2019
Merged

Conversation

Goirad
Copy link
Member

@Goirad Goirad commented Nov 12, 2019

The rust compiler is issuing false positive improper_ctypes warning, but
this is not an issue because only pointers are being passed to mbedtls,
and they are used completely opaquely.

The rust compiler is issuing false positive improper_ctypes warning, but
this is not an issue because only pointers are being passed to mbedtls,
and they are used completely opaquely.
@jack-fortanix
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Nov 12, 2019
82: Silence unsafe FFI warnings r=jack-fortanix a=Goirad

The rust compiler is issuing false positive improper_ctypes warning, but
this is not an issue because only pointers are being passed to mbedtls,
and they are used completely opaquely.

Co-authored-by: Dario Gonzalez <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 12, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit 307d388 into fortanix:master Nov 12, 2019
@jethrogb
Copy link
Member

This is fine, but ideally this would be reported upstream so they fix the lint.

@jethrogb
Copy link
Member

mcr pushed a commit to mcr/rust-mbedtls that referenced this pull request Aug 10, 2023
This defines a new trait `Resolver`, which turns an address into a
Vec<SocketAddr>. It also provides an implementation of Resolver for
`Fn(&str)` so it's easy to define simple resolvers with a closure.


Fixes fortanix#82

Co-authored-by: Ulrik <[email protected]>
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.

3 participants