diff options
| author | Brian Chin <[email protected]> | 2017-01-30 10:08:25 -0800 |
|---|---|---|
| committer | Brian Chin <[email protected]> | 2017-01-30 15:04:44 -0800 |
| commit | 588fd33552f9c84e8ed67c4cff35264b671362d9 (patch) | |
| tree | 5b78ccd0a20363dc3fc05f0cc32e3fe344b64d01 /openssl/src/pkey.rs | |
| parent | Add the necessary constants to access the pkey ctx stuff. (diff) | |
| download | rust-openssl-588fd33552f9c84e8ed67c4cff35264b671362d9.tar.xz rust-openssl-588fd33552f9c84e8ed67c4cff35264b671362d9.zip | |
Testing first version that works with signer.
Diffstat (limited to 'openssl/src/pkey.rs')
| -rw-r--r-- | openssl/src/pkey.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl/src/pkey.rs b/openssl/src/pkey.rs index 7a32692b..fd963c24 100644 --- a/openssl/src/pkey.rs +++ b/openssl/src/pkey.rs @@ -151,6 +151,12 @@ impl PKey { } } +pub struct PKeyCtxRef(::util::Opaque); + +impl ::types::OpenSslTypeRef for PKeyCtxRef { + type CType = ffi::EVP_PKEY_CTX; +} + #[cfg(test)] mod tests { use symm::Cipher; |