1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecated

This commit is contained in:
Timothy Flynn 2023-01-13 10:52:17 -05:00 committed by Linus Groh
parent 63c814fa2f
commit 0ddc2e1f50
17 changed files with 24 additions and 24 deletions

View file

@ -128,7 +128,7 @@ Optional<Certificate> Certificate::parse_asn1(ReadonlyBytes buffer, bool)
ENTER_SCOPE_WITHOUT_TYPECHECK("Certificate::version");
READ_OBJECT_OR_FAIL(Integer, Crypto::UnsignedBigInteger, value, "Certificate::version");
if (!(value < 3)) {
dbgln_if(TLS_DEBUG, "Certificate::version Invalid value for version: {}", value.to_base(10));
dbgln_if(TLS_DEBUG, "Certificate::version Invalid value for version: {}", value.to_base_deprecated(10));
return {};
}
certificate.version = value.words()[0];