Module: kamailio
Branch: 5.7
Commit: 02958e56fed877275b98a5cf0c568cc4e9175a8c
URL:
https://github.com/kamailio/kamailio/commit/02958e56fed877275b98a5cf0c568cc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-10-16T10:47:55+02:00
jwt: use proper internal function for jwt_verify_key()
(cherry picked from commit 319df7fc417e898e945cac0d44e978c9ff151e3c)
---
Modified: src/modules/jwt/jwt_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/02958e56fed877275b98a5cf0c568cc…
Patch:
https://github.com/kamailio/kamailio/commit/02958e56fed877275b98a5cf0c568cc…
---
diff --git a/src/modules/jwt/jwt_mod.c b/src/modules/jwt/jwt_mod.c
index adda8d38456..caebefd346a 100644
--- a/src/modules/jwt/jwt_mod.c
+++ b/src/modules/jwt/jwt_mod.c
@@ -628,7 +628,7 @@ static int w_jwt_verify_key(sip_msg_t* msg, char* pkey, char* palg,
char* pclaim
return -1;
}
- return ki_jwt_verify(msg, &skey, &salg, &sclaims, &sjwtval);
+ return ki_jwt_verify_key(msg, &skey, &salg, &sclaims, &sjwtval);
}
/**