Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: net/der/parser.cc

Issue 1541213002: Adding OCSP Parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix break condition. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« net/der/input.h ('K') | « net/der/parser.h ('k') | net/net.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/der/parser.cc
diff --git a/net/der/parser.cc b/net/der/parser.cc
index 6419549cf044998e362503b0b8b0300afc3343f5..d6faf33fd5cb3b883382a4011695cd53250c3692 100644
--- a/net/der/parser.cc
+++ b/net/der/parser.cc
@@ -193,6 +193,13 @@ bool Parser::ReadBitString(BitString* bit_string) {
return ParseBitString(value, bit_string);
}
+bool Parser::ReadGeneralizedTime(GeneralizedTime* out) {
+ Input value;
+ if (!ReadTag(kGeneralizedTime, &value))
+ return false;
+ return ParseGeneralizedTime(value, out);
+}
+
} // namespace der
} // namespace net
« net/der/input.h ('K') | « net/der/parser.h ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698