-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As discussed in #2, ring is not mature enough to replace OpenSSL. Hence, the standalone mode which has been made to implement such a replacement has to be removed until ring becomes usable.
- Loading branch information
Showing
8 changed files
with
8 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
mod key_type; | ||
mod openssl_certificate; | ||
|
||
#[cfg(not(feature = "standalone"))] | ||
mod openssl_hash; | ||
#[cfg(feature = "standalone")] | ||
mod standalone_hash; | ||
|
||
mod openssl_keys; | ||
mod key_type; | ||
|
||
#[cfg(not(feature = "standalone"))] | ||
pub const DEFAULT_ALGO: &str = "rsa2048"; | ||
#[cfg(feature = "standalone")] | ||
pub const DEFAULT_ALGO: &str = "ecdsa_p256"; | ||
|
||
pub use key_type::KeyType; | ||
pub use openssl_certificate::{Csr, X509Certificate}; | ||
|
||
#[cfg(not(feature = "standalone"))] | ||
pub use openssl_hash::sha256; | ||
#[cfg(feature = "standalone")] | ||
pub use standalone_hash::sha256; | ||
|
||
pub use openssl_keys::{gen_keypair, KeyPair}; | ||
pub use key_type::KeyType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.