Loading openssl/src/ssl/mod.rs +2 −3 Original line number Diff line number Diff line Loading @@ -3108,9 +3108,8 @@ impl SslRef { #[cfg(ossl102)] pub fn add_chain_certificate_pem(&mut self, chain: &[u8]) -> Result<(), ErrorStack> { let cert = X509::from_pem(chain)?; let ret = unsafe { ffi::SSL_add_chain_certificate_pem(self.as_ptr(), cert.as_ptr() as *mut _ ) }; let ret = unsafe { ffi::SSL_add_chain_certificate_pem(self.as_ptr(), cert.as_ptr() as *mut _) }; if ret == 1 { Ok(()) } else { Loading Loading
openssl/src/ssl/mod.rs +2 −3 Original line number Diff line number Diff line Loading @@ -3108,9 +3108,8 @@ impl SslRef { #[cfg(ossl102)] pub fn add_chain_certificate_pem(&mut self, chain: &[u8]) -> Result<(), ErrorStack> { let cert = X509::from_pem(chain)?; let ret = unsafe { ffi::SSL_add_chain_certificate_pem(self.as_ptr(), cert.as_ptr() as *mut _ ) }; let ret = unsafe { ffi::SSL_add_chain_certificate_pem(self.as_ptr(), cert.as_ptr() as *mut _) }; if ret == 1 { Ok(()) } else { Loading