Skip to content

Commit 1a843bd

Browse files
committed
rsa: Fix EVP_PKEY_CTX_set0_rsa_oaep_label
It was introduced in the previous PR, but the argument names were changed while porting.
1 parent a13ccfe commit 1a843bd

File tree

1 file changed

+1
-1
lines changed
  • source/deimos/openssl

1 file changed

+1
-1
lines changed

source/deimos/openssl/rsa.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ static if (OPENSSL_VERSION_AT_LEAST(1, 1, 0))
332332

333333
auto EVP_PKEY_CTX_set0_rsa_oaep_label()(EVP_PKEY_CTX* ctx, ubyte* label, int len) {
334334
return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT,
335-
EVP_PKEY_CTRL_RSA_OAEP_LABEL, llen, l);
335+
EVP_PKEY_CTRL_RSA_OAEP_LABEL, len, label);
336336
}
337337
}
338338

0 commit comments

Comments
 (0)