aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorBrian Chin <[email protected]>2017-01-30 10:35:57 -0800
committerBrian Chin <[email protected]>2017-01-30 15:04:44 -0800
commit72a10f3e65c1bed4689ba609d67865fbe766c92f (patch)
treeb4d3695f05688d3d341f615487d5bbdc097e7405 /openssl/src
parentSmall amount of docs. (diff)
downloadrust-openssl-72a10f3e65c1bed4689ba609d67865fbe766c92f.tar.xz
rust-openssl-72a10f3e65c1bed4689ba609d67865fbe766c92f.zip
Fixing typo
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/rsa.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/rsa.rs b/openssl/src/rsa.rs
index 433efd56..d9e599c8 100644
--- a/openssl/src/rsa.rs
+++ b/openssl/src/rsa.rs
@@ -353,7 +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.
+// This is needed here, as it needs access to the private data of Padding.
impl PKeyCtxRef {
pub fn set_rsa_padding(&mut self, pad: Padding) -> Result<(), ErrorStack> {
unsafe {