On Fri, Mar 21, 2025 at 09:31:26AM -0500, Nicolas Mora wrote: > Hello, > > Le 2025-03-16 à 22 h 27, Ben Collins a écrit : > > > > Might be best if I disable mbedtls for now. > > > Yet, if I disable MbedTLS, I still have an error on jwt_jwks. The expected > error message isn't the one returned by the test > "Couldn't read a file:// file" != "Could not read a file:// file" > > Looks like the error message comes from another library (jansson?)
> 2: ./tests/jwt_jwks.c:93:F:jwt_jwks:load_fromurl:0: Assertion > 'jwks_error_msg(jwk_set) == "Couldn't read a file:// file"' failed: > jwks_error_msg(jwk_set) == "Could not read a file:// file", "Couldn't read a > file:// file" == "Couldn't read a file:// file" Right. Different versions of CUrl return this error message differently. I think there's a numeric code I can check instead. -- Ben Collins https://libjwt.io https://github.com/benmcollins -- 3EC9 7598 1672 961A 1139 173A 5D5A 57C7 242B 22CF
signature.asc
Description: PGP signature