aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorBastian Köcher <[email protected]>2018-03-07 20:43:12 +0100
committerBastian Köcher <[email protected]>2018-03-07 20:43:12 +0100
commit84a5ce76079ab210272be3da49c93ebd5ab75524 (patch)
treeedc0235f31c009cbe2dd7a3e4b253e71e12d8cb5 /openssl-sys/src
parentAdds `PKeyRef::get_id` to get the OID of a key (diff)
downloadrust-openssl-84a5ce76079ab210272be3da49c93ebd5ab75524.tar.xz
rust-openssl-84a5ce76079ab210272be3da49c93ebd5ab75524.zip
Adds RSA PKCS1 PSS padding
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 78b683f4..73918d7d 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1200,6 +1200,7 @@ pub const RSA_SSLV23_PADDING: c_int = 2;
pub const RSA_NO_PADDING: c_int = 3;
pub const RSA_PKCS1_OAEP_PADDING: c_int = 4;
pub const RSA_X931_PADDING: c_int = 5;
+pub const RSA_PKCS1_PSS_PADDING: c_int = 6;
pub const SHA_LBLOCK: c_int = 16;