diff options
| author | Bradley Beddoes <[email protected]> | 2017-08-09 13:21:57 +1000 |
|---|---|---|
| committer | Bradley Beddoes <[email protected]> | 2017-08-09 13:34:08 +1000 |
| commit | 16e8fbc31ee2f144b43a0a8353d6f85514081bf3 (patch) | |
| tree | fa92ca800bfac4008e7ba31b518f33a666cf23b6 /openssl-sys/src | |
| parent | Set the private key within EcKeyBuilder (diff) | |
| download | rust-openssl-16e8fbc31ee2f144b43a0a8353d6f85514081bf3.tar.xz rust-openssl-16e8fbc31ee2f144b43a0a8353d6f85514081bf3.zip | |
Fix EC_KEY_set_public_key_affine_coordinates
Previous definition incorrectly used `const` pointers but the
underpinning library definition (unfortunately) does not.
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 69c95395..f0e3e18a 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1674,7 +1674,7 @@ extern "C" { pub fn EC_KEY_generate_key(key: *mut EC_KEY) -> c_int; pub fn EC_KEY_check_key(key: *const EC_KEY) -> c_int; pub fn EC_KEY_free(key: *mut EC_KEY); - pub fn EC_KEY_set_public_key_affine_coordinates(key: *mut EC_KEY, x: *const BIGNUM, y: *const BIGNUM) -> c_int; + pub fn EC_KEY_set_public_key_affine_coordinates(key: *mut EC_KEY, x: *mut BIGNUM, y: *mut BIGNUM) -> c_int; #[cfg(not(osslconf = "OPENSSL_NO_EC2M"))] pub fn EC_GF2m_simple_method() -> *const EC_METHOD; |