Skip to content

Commit 61a04a4

Browse files
committed
Fix naming of EC to ES256
1 parent 621d49d commit 61a04a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scitokens_internal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ Validator::get_public_key_pem(const std::string &issuer, const std::string &kid,
433433
}
434434
auto crv = iter3->second.get<std::string>();
435435
if (crv == "P-256") {
436-
alg = "EC256";
436+
alg = "ES256";
437437
} else {
438438
throw JsonException("Unsupported EC curve in public key");
439439
}

0 commit comments

Comments
 (0)