diff options
| author | Andrew Dunham <[email protected]> | 2015-07-19 00:11:07 -0700 |
|---|---|---|
| committer | Andrew Dunham <[email protected]> | 2015-07-23 22:30:07 -0700 |
| commit | ab7bfad225c36bc29c3513fb8c2b5b97743dfe3e (patch) | |
| tree | f3f3f5819a7d5021715265d3d6e2132e1ba15ef9 /openssl-sys/src | |
| parent | Make curl follow redirects (diff) | |
| download | rust-openssl-ab7bfad225c36bc29c3513fb8c2b5b97743dfe3e.tar.xz rust-openssl-ab7bfad225c36bc29c3513fb8c2b5b97743dfe3e.zip | |
Add function to write RSA public key as PEM
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 5317ff20..7ff600c3 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -468,6 +468,7 @@ extern "C" { kstr: *mut c_char, klen: c_int, callback: Option<PasswordCallback>, user_data: *mut c_void) -> c_int; + pub fn PEM_write_bio_PUBKEY(bp: *mut BIO, x: *mut EVP_PKEY) -> c_int; pub fn PEM_write_bio_X509(bio: *mut BIO, x509: *mut X509) -> c_int; pub fn PEM_write_bio_X509_REQ(bio: *mut BIO, x509: *mut X509_REQ) -> c_int; |