mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MINOR: jwt: Remove unused parameter in convert_ecdsa_sig
The pubkey parameter in convert_ecdsa_sig was not actually used.
This commit is contained in:
parent
cd89ce1766
commit
6e9f886c4d
1 changed files with 2 additions and 2 deletions
|
|
@ -220,7 +220,7 @@ jwt_jwsverify_hmac(const struct jwt_ctx *ctx, const struct buffer *decoded_signa
|
|||
* verification functions.
|
||||
* Returns 0 in case of success.
|
||||
*/
|
||||
static int convert_ecdsa_sig(const struct jwt_ctx *ctx, EVP_PKEY *pubkey, struct buffer *signature)
|
||||
static int convert_ecdsa_sig(const struct jwt_ctx *ctx, struct buffer *signature)
|
||||
{
|
||||
int retval = 0;
|
||||
ECDSA_SIG *ecdsa_sig = NULL;
|
||||
|
|
@ -345,7 +345,7 @@ jwt_jwsverify_rsa_ecdsa(const struct jwt_ctx *ctx, struct buffer *decoded_signat
|
|||
* work with OpenSSL.
|
||||
*/
|
||||
if (is_ecdsa) {
|
||||
int conv_retval = convert_ecdsa_sig(ctx, entry->pubkey, decoded_signature);
|
||||
int conv_retval = convert_ecdsa_sig(ctx, decoded_signature);
|
||||
if (conv_retval != 0) {
|
||||
retval = conv_retval;
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Reference in a new issue