Unverified Commit 82b958c6 authored by Alex Gaynor's avatar Alex Gaynor Committed by GitHub
Browse files

Merge pull request #2378 from Jakuje/EVP_PKEY_CTX_new_id

pkey_ctx: Fix link to the corresponding OpenSSL function
parents f672fcc9 7bc1b816
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ impl<T> PkeyCtx<T> {

impl PkeyCtx<()> {
    /// Creates a new pkey context for the specified algorithm ID.
    #[corresponds(EVP_PKEY_new_id)]
    #[corresponds(EVP_PKEY_CTX_new_id)]
    #[inline]
    pub fn new_id(id: Id) -> Result<Self, ErrorStack> {
        unsafe {