Skip to content

Commit

Permalink
Update ext.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
pluveto authored Jul 16, 2024
1 parent 7841271 commit e4c1b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pingora-openssl/src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub fn ssl_set_verify_cert_store(
cvt(SSL_ctrl(
ssl.as_ptr(),
SSL_CTRL_SET_VERIFY_CERT_STORE,
0,
1, // increase the ref count of X509Store so that ssl_ctx can outlive X509StoreRef
cert_store.as_ptr() as *mut c_void,
))?;
}
Expand Down

0 comments on commit e4c1b43

Please sign in to comment.