diff options
| author | mredlek <[email protected]> | 2017-01-27 20:55:40 +0100 |
|---|---|---|
| committer | mredlek <[email protected]> | 2017-01-27 20:55:40 +0100 |
| commit | f5149eac5a5746c1cb45edab445ab0d240d33c86 (patch) | |
| tree | 2395e67cb92b8d90c5daa67c0881498b8c41d046 /openssl-sys/src | |
| parent | Style changes according to review (diff) | |
| download | rust-openssl-f5149eac5a5746c1cb45edab445ab0d240d33c86.tar.xz rust-openssl-f5149eac5a5746c1cb45edab445ab0d240d33c86.zip | |
Add setters to new getter-functions in X509ReqRef
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 3 | ||||
| -rw-r--r-- | openssl-sys/src/ossl110.rs | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 47bc314c..1340a63f 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1935,6 +1935,9 @@ extern { pub fn X509_REQ_add_extensions(req: *mut X509_REQ, exts: *mut stack_st_X509_EXTENSION) -> c_int; pub fn X509_REQ_sign(x: *mut X509_REQ, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int; + pub fn X509_REQ_set_version(x: *mut X509_REQ, version: c_long) -> c_int; + pub fn X509_REQ_set_subject_name(req: *mut X509_REQ, name: *mut ::X509_NAME) -> c_int; + #[cfg(not(ossl101))] pub fn X509_VERIFY_PARAM_free(param: *mut X509_VERIFY_PARAM); diff --git a/openssl-sys/src/ossl110.rs b/openssl-sys/src/ossl110.rs index c3c95fa4..84f08f29 100644 --- a/openssl-sys/src/ossl110.rs +++ b/openssl-sys/src/ossl110.rs @@ -193,8 +193,5 @@ extern { mac_iter: c_int, keytype: c_int) -> *mut PKCS12; pub fn X509_REQ_get_version(req: *const X509_REQ) -> c_long; - pub fn X509_REQ_set_version(x: *mut X509_REQ, version: c_long) -> c_int; pub fn X509_REQ_get_subject_name(req: *const X509_REQ) -> *mut ::X509_NAME; - pub fn X509_REQ_set_subject_name(req: *mut X509_REQ, name: *mut ::X509_NAME) -> c_int; - } |