File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -671,16 +671,17 @@ std::unique_ptr<AsyncStatus> Validator::get_public_keys_from_web_continue(
671671 status->m_cget ->get_url () + " : " + err);
672672 }
673673 if (!json_obj.is <picojson::object>()) {
674- throw JsonException (
675- " Metadata resource " + status->m_cget ->get_url () + " contains "
676- " improperly-formatted JSON." );
674+ throw JsonException (" Metadata resource " +
675+ status->m_cget ->get_url () +
676+ " contains "
677+ " improperly-formatted JSON." );
677678 }
678679 auto top_obj = json_obj.get <picojson::object>();
679680 auto iter = top_obj.find (" jwks_uri" );
680681 if (iter == top_obj.end () || (!iter->second .is <std::string>())) {
681- throw JsonException (
682- " Metadata resource " + status->m_cget ->get_url () +
683- " is missing 'jwks_uri' string value" );
682+ throw JsonException (" Metadata resource " +
683+ status->m_cget ->get_url () +
684+ " is missing 'jwks_uri' string value" );
684685 }
685686 auto jwks_uri = iter->second .get <std::string>();
686687 status->m_has_metadata = true ;
@@ -706,7 +707,8 @@ std::unique_ptr<AsyncStatus> Validator::get_public_keys_from_web_continue(
706707 status->m_cget .reset ();
707708 if (!err.empty ()) {
708709 throw JsonException (" JSON parse failure when downloading from the "
709- " public key URL " + status->m_cget ->get_url () + " : " + err);
710+ " public key URL " +
711+ status->m_cget ->get_url () + " : " + err);
710712 }
711713
712714 auto now = std::time (NULL );
You can’t perform that action at this time.
0 commit comments