The pubkey parameter in convert_ecdsa_sig was not actually used.
* 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;
* 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;