summaryrefslogtreecommitdiffstats
path: root/openpgp/src/lib.rs
diff options
context:
space:
mode:
authorIgor Matuszewski <igor@sequoia-pgp.org>2020-04-13 16:45:40 +0200
committerIgor Matuszewski <igor@sequoia-pgp.org>2020-08-13 13:09:51 +0200
commit3cbf53d72f01c269072778d383aafcebd97b708c (patch)
tree05582537c5f970e1e9c83e3736b1a012bef9a8c2 /openpgp/src/lib.rs
parent854e88520e051540adff288e89791cc153d617e2 (diff)
openpgp: Allow compiling with other crypto backends
Diffstat (limited to 'openpgp/src/lib.rs')
-rw-r--r--openpgp/src/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/openpgp/src/lib.rs b/openpgp/src/lib.rs
index e21ce704..4e7744a1 100644
--- a/openpgp/src/lib.rs
+++ b/openpgp/src/lib.rs
@@ -54,9 +54,6 @@ extern crate lazy_static;
#[macro_use]
mod macros;
-#[cfg(not(feature = "crypto-nettle"))]
-compile_error!("Sequoia currently requires the Nettle cryptographic library for now");
-
// On debug builds, Vec<u8>::truncate is very, very slow. For
// instance, running the decrypt_test_stream test takes 51 seconds on
// my (Neal's) computer using Vec<u8>::truncate and <0.1 seconds using