diff options
| author | Steven Fackler <[email protected]> | 2018-05-28 15:02:56 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-05-28 15:02:56 -0700 |
| commit | a523219f6cdf761019d0125bf4818acb90c47477 (patch) | |
| tree | 753b37cb91d948ee15df7eef25b6c14ff9f92d06 /openssl-sys/src | |
| parent | Merge pull request #934 from sfackler/digest-algo (diff) | |
| parent | rewrite Nid::{long_name,short_name} to return Results instead of Options (diff) | |
| download | rust-openssl-a523219f6cdf761019d0125bf4818acb90c47477.tar.xz rust-openssl-a523219f6cdf761019d0125bf4818acb90c47477.zip | |
Merge pull request #929 from marcoh00/nid-names
Get Nid string representations
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 e7bd046e..f2a77cab 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2106,6 +2106,7 @@ extern "C" { a: *const ASN1_OBJECT, no_name: c_int, ) -> c_int; + pub fn OBJ_nid2ln(nid: c_int) -> *const c_char; pub fn OBJ_nid2sn(nid: c_int) -> *const c_char; pub fn OBJ_find_sigid_algs(signid: c_int, pdig_nid: *mut c_int, ppkey_nid: *mut c_int) -> c_int; |