diff options
| author | Manuel Schölling <[email protected]> | 2015-04-15 22:54:03 +0200 |
|---|---|---|
| committer | Manuel Schölling <[email protected]> | 2015-04-15 22:59:07 +0200 |
| commit | 7db00b97ba4a5e513e2a8bd555bd2b2c36bc0afa (patch) | |
| tree | 56fdf39753142c496084d554f6feeb836786ec46 /openssl-sys/src | |
| parent | Fix nightly build issues (diff) | |
| download | rust-openssl-7db00b97ba4a5e513e2a8bd555bd2b2c36bc0afa.tar.xz rust-openssl-7db00b97ba4a5e513e2a8bd555bd2b2c36bc0afa.zip | |
Add X509::public_key()
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 109c4168..53e06c3a 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -573,6 +573,7 @@ extern "C" { pub fn X509_set_version(x: *mut X509, version: c_ulong) -> c_int; pub fn X509_set_pubkey(x: *mut X509, pkey: *mut EVP_PKEY) -> c_int; pub fn X509_sign(x: *mut X509, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; + pub fn X509_get_pubkey(x: *mut X509) -> *mut EVP_PKEY; pub fn X509_EXTENSION_free(ext: *mut X509_EXTENSION); |