Skip to content

Commit

Permalink
add 2 more boring algo mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
GlenDC committed Sep 24, 2024
1 parent 78f3817 commit 5a9553d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rama-net/src/tls/enums/boring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ try_from_mapping! {
let RSA_PKCS1_SHA256 = RSA_PKCS1_SHA256;
let RSA_PKCS1_SHA384 = RSA_PKCS1_SHA384;
let RSA_PKCS1_SHA512 = RSA_PKCS1_SHA512;
let ECDSA_SHA1_Legacy = ECDSA_SHA1;
let RSA_PKCS1_MD5_SHA1 = RSA_PKCS1_MD5_SHA1;
let ECDSA_NISTP256_SHA256 = ECDSA_SECP256R1_SHA256;
let ECDSA_NISTP384_SHA384 = ECDSA_SECP384R1_SHA384;
let ECDSA_NISTP521_SHA512 = ECDSA_SECP521R1_SHA512;
let RSA_PSS_SHA256 = RSA_PSS_RSAE_SHA256;
let RSA_PSS_SHA384 = RSA_PSS_RSAE_SHA384;
let RSA_PSS_SHA512 = RSA_PSS_RSAE_SHA512;
let ED25519 = ED25519;
// Not exposed in boring, but exists in openssl/ssl.h
// let RSA_PKCS1_SHA256_LEGACY = RSA_PKCS1_SHA256_LEGACY;
}

try_from_mapping! {
Expand Down

0 comments on commit 5a9553d

Please sign in to comment.