static char * all_tests(apr_pool_t *pool, request_rec *r) { char *message; TST_RUN(test_jwt_array_has_string, pool); TST_RUN(test_jwt_url_encode_decode, pool); TST_RUN(test_jwt_header_to_string, pool); TST_RUN(test_jwt_parse, pool); TST_RUN(test_plaintext_jwt_parse, pool); TST_RUN(test_jwt_get_string, pool); TST_RUN(test_jwk_parse_json, pool); TST_RUN(test_plaintext_decrypt, pool); TST_RUN(test_plaintext_decrypt2, pool); TST_RUN(test_plaintext_decrypt_symmetric, pool); TST_RUN(test_jwt_decrypt, pool); #if (OPENSSL_VERSION_NUMBER >= 0x1000100f) TST_RUN(test_jwt_decrypt_gcm, pool); #endif TST_RUN(test_jwt_verify_rsa, pool); TST_RUN(test_proto_validate_access_token, r); TST_RUN(test_proto_validate_code, r); TST_RUN(test_proto_authorization_request, r); TST_RUN(test_proto_validate_nonce, r); TST_RUN(test_proto_validate_jwt, r); return 0; }
static char * all_tests(apr_pool_t *pool) { TST_RUN(test_jwt_parse, pool); return 0; }