Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jul 7, 2022
1 parent c02e9dc commit ed4eca6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openssl/src/x509/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -845,11 +845,10 @@ impl X509Extension {

/// Adds an alias for an extension
///
/// This corresponds to [`X509V3_EXT_add_alias`]
///
/// # Safety
///
/// This method modifies global state without locking and therefore is not thread safe
#[corresponds(X509V3_EXT_add_alias)]
pub unsafe fn add_alias(to: Nid, from: Nid) -> Result<(), ErrorStack> {
ffi::init();
cvt(ffi::X509V3_EXT_add_alias(to.as_raw(), from.as_raw())).map(|_| ())
Expand Down

0 comments on commit ed4eca6

Please sign in to comment.