aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/rsa.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-06-09 21:33:35 -0700
committerSteven Fackler <[email protected]>2018-06-09 21:49:36 -0700
commit115cb730b0ec9a2010d7a803586a7fcce214cb83 (patch)
treea9559c3a76b3b8e1ce43f065eb571eb48e742d0e /openssl/src/rsa.rs
parentMerge pull request #936 from sfackler/windows-static (diff)
downloadrust-openssl-115cb730b0ec9a2010d7a803586a7fcce214cb83.tar.xz
rust-openssl-115cb730b0ec9a2010d7a803586a7fcce214cb83.zip
Switch to accessors in libressl where possible
Some accessors are mysteriously still macros so we can't make everything opaque yet, unfortunately. cc #909
Diffstat (limited to 'openssl/src/rsa.rs')
-rw-r--r--openssl/src/rsa.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/rsa.rs b/openssl/src/rsa.rs
index 92a5799e..d2131d28 100644
--- a/openssl/src/rsa.rs
+++ b/openssl/src/rsa.rs
@@ -645,7 +645,7 @@ impl<T> fmt::Debug for Rsa<T> {
}
cfg_if! {
- if #[cfg(ossl110)] {
+ if #[cfg(any(ossl110, libressl273))] {
use ffi::{
RSA_get0_key, RSA_get0_factors, RSA_get0_crt_params, RSA_set0_key, RSA_set0_factors,
RSA_set0_crt_params,