diff options
| author | Brian Chin <[email protected]> | 2017-01-30 10:30:25 -0800 |
|---|---|---|
| committer | Brian Chin <[email protected]> | 2017-01-30 15:04:44 -0800 |
| commit | ef61b814ff51d516adbc33d522dd0d84f2344196 (patch) | |
| tree | ba877d1b009d64632e2a91b3a542629c721d0ce8 /openssl/src | |
| parent | Simplify protocol based on the semantics defined by openssl. (diff) | |
| download | rust-openssl-ef61b814ff51d516adbc33d522dd0d84f2344196.tar.xz rust-openssl-ef61b814ff51d516adbc33d522dd0d84f2344196.zip | |
Small amount of docs.
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/rsa.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl/src/rsa.rs b/openssl/src/rsa.rs index 63ed874a..433efd56 100644 --- a/openssl/src/rsa.rs +++ b/openssl/src/rsa.rs @@ -353,6 +353,7 @@ unsafe fn pkey_ctx_get_rsa_padding(ctx: *mut ffi::EVP_PKEY_CTX, ppad: *mut c_int ffi::EVP_PKEY_CTX_ctrl(ctx, ffi::EVP_PKEY_RSA, -1, ffi::RSA_PKEY_CTRL_GET_RSA_PADDING, 0, ppad as *mut c_void) } +// This is needed here, as it needs access to the privade data of Padding. impl PKeyCtxRef { pub fn set_rsa_padding(&mut self, pad: Padding) -> Result<(), ErrorStack> { unsafe { |