Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scitokens_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,12 +734,12 @@ std::unique_ptr<AsyncStatus> Validator::get_public_keys_from_web_continue(
auto metadata = std::string(buffer, len);
picojson::value json_obj;
auto err = picojson::parse(json_obj, metadata);
status->m_cget.reset();
if (!err.empty()) {
throw JsonException("JSON parse failure when downloading from the "
" public key URL " +
status->m_cget->get_url() + ": " + err);
}
status->m_cget.reset();

auto now = std::time(NULL);
// TODO: take expiration time from the cache-control header in the
Expand Down
Loading