Skip to content

Commit 82b958c

Browse files
authored
Merge pull request sfackler#2378 from Jakuje/EVP_PKEY_CTX_new_id
pkey_ctx: Fix link to the corresponding OpenSSL function
2 parents f672fcc + 7bc1b81 commit 82b958c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openssl/src/pkey_ctx.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ impl<T> PkeyCtx<T> {
148148

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

0 commit comments

Comments
 (0)