aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-08-07 16:28:29 -0700
committerSteven Fackler <[email protected]>2016-08-07 16:29:36 -0700
commit7ca5ccf0646478b6d3557b066594d7e7afc36c53 (patch)
tree5244c966b649b73fc5e599edfc31edb1b1d2224e /openssl-sys/src
parentRefactor BigNum (diff)
downloadrust-openssl-7ca5ccf0646478b6d3557b066594d7e7afc36c53.tar.xz
rust-openssl-7ca5ccf0646478b6d3557b066594d7e7afc36c53.zip
Hash reform
Closes #430
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 250bb054..6951a7db 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -282,6 +282,8 @@ pub const BIO_FLAGS_SHOULD_RETRY: c_int = 0x08;
pub const CRYPTO_LOCK: c_int = 1;
+pub const EVP_MAX_MD_SIZE: c_uint = 64;
+
pub const MBSTRING_ASC: c_int = MBSTRING_FLAG | 1;
pub const MBSTRING_BMP: c_int = MBSTRING_FLAG | 2;
pub const MBSTRING_FLAG: c_int = 0x1000;