summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCrypto')
-rw-r--r--Userland/Libraries/LibCrypto/ASN1/ASN1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibCrypto/ASN1/ASN1.cpp b/Userland/Libraries/LibCrypto/ASN1/ASN1.cpp
index 13712aacce..c7a2c65141 100644
--- a/Userland/Libraries/LibCrypto/ASN1/ASN1.cpp
+++ b/Userland/Libraries/LibCrypto/ASN1/ASN1.cpp
@@ -127,7 +127,7 @@ Optional<Core::DateTime> parse_generalized_time(const StringView& time)
auto month = lexer.consume(2).to_uint();
auto day = lexer.consume(2).to_uint();
auto hour = lexer.consume(2).to_uint();
- Optional<unsigned> minute, seconds, miliseconds, offset_hours, offset_minutes;
+ Optional<unsigned> minute, seconds, milliseconds, offset_hours, offset_minutes;
[[maybe_unused]] bool negative_offset = false;
if (!lexer.is_eof()) {
if (lexer.consume_specific('Z'))
@@ -152,8 +152,8 @@ Optional<Core::DateTime> parse_generalized_time(const StringView& time)
}
if (lexer.consume_specific('.')) {
- miliseconds = lexer.consume(3).to_uint();
- if (!miliseconds.has_value()) {
+ milliseconds = lexer.consume(3).to_uint();
+ if (!milliseconds.has_value()) {
return {};
}
if (lexer.consume_specific('Z'))
@@ -182,7 +182,7 @@ done_parsing:;
if (offset_hours.has_value() || offset_minutes.has_value())
dbgln("FIXME: Implement GeneralizedTime with offset!");
- // Unceremonially drop the miliseconds on the floor.
+ // Unceremonially drop the milliseconds on the floor.
return Core::DateTime::create(year.value(), month.value(), day.value(), hour.value(), minute.value_or(0), seconds.value_or(0));
}