Commit a43e8284 authored by iamwwc's avatar iamwwc
Browse files

make cargo fmt happy

parent 20f6cbee
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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 {