diff options
| author | Jared Roesch <[email protected]> | 2014-10-05 02:50:33 -0700 |
|---|---|---|
| committer | Jared Roesch <[email protected]> | 2014-10-05 02:50:33 -0700 |
| commit | a8cadc46ac9f125e74b729fdbd1cb75897cab575 (patch) | |
| tree | cc33db889fdbfd7724130c176b549d4320c64db2 /src/ffi.rs | |
| parent | Fix error messages (diff) | |
| download | rust-openssl-a8cadc46ac9f125e74b729fdbd1cb75897cab575.tar.xz rust-openssl-a8cadc46ac9f125e74b729fdbd1cb75897cab575.zip | |
Load crypto error strings
Diffstat (limited to 'src/ffi.rs')
| -rw-r--r-- | src/ffi.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -276,6 +276,8 @@ extern "C" { pub fn ERR_func_error_string(err: c_ulong) -> *const c_char; pub fn ERR_reason_error_string(err: c_ulong) -> *const c_char; + pub fn ERR_load_crypto_strings(); + pub fn EVP_md5() -> *const EVP_MD; pub fn EVP_ripemd160() -> *const EVP_MD; pub fn EVP_sha1() -> *const EVP_MD; @@ -427,4 +429,3 @@ extern "C" { pub fn i2d_RSAPrivateKey(k: *mut RSA, buf: *const *mut u8) -> c_int; pub fn d2i_RSAPrivateKey(k: *const *mut RSA, buf: *const *const u8, len: c_uint) -> *mut RSA; } - |