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

using cipher as i32 results in invalid value #129

Open
AdrianCX opened this issue Nov 27, 2020 · 0 comments
Open

using cipher as i32 results in invalid value #129

AdrianCX opened this issue Nov 27, 2020 · 0 comments

Comments

@AdrianCX
Copy link
Contributor

Code:

    #[test]
    fn test_cipher_request() {
        let cipher_suites : Vec<i32> = vec![RsaWithAes128GcmSha256.into()];        
        let other_cipher_suites : Vec<i32> = vec![RsaWithAes128GcmSha256 as i32];

        println!("{:?} {:?}", cipher_suites, other_cipher_suites);
    }

Result:

     Running target/debug/deps/mbedtls_hyper-8203c142faadc4d2

running 1 test
[156] [36]

Values should match 156

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

No branches or pull requests

1 participant