Skip to content

Commit cfb1bdf

Browse files
committed
enable add_chain_cert for boringssl
1 parent e8ab2a5 commit cfb1bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openssl/src/ssl/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3810,7 +3810,7 @@ impl SslRef {
38103810
}
38113811

38123812
#[corresponds(SSL_add0_chain_cert)]
3813-
#[cfg(ossl102)]
3813+
#[cfg(any(ossl102, boringssl))]
38143814
pub fn add_chain_cert(&mut self, chain: X509) -> Result<(), ErrorStack> {
38153815
unsafe {
38163816
cvt(ffi::SSL_add0_chain_cert(self.as_ptr(), chain.as_ptr()) as c_int).map(|_| ())?;

0 commit comments

Comments
 (0)