mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
LibTLS: Avoid unnecessary HashMap copies, improve const-correctness
This commit is contained in:
parent
f866c80222
commit
2bb2a7097d
4 changed files with 11 additions and 11 deletions
|
@ -794,7 +794,7 @@ ErrorOr<Certificate> Certificate::parse_certificate(ReadonlyBytes buffer, bool)
|
|||
#undef DROP_OBJECT
|
||||
#undef REWRITE_TAG
|
||||
|
||||
ErrorOr<String> RelativeDistinguishedName::to_string()
|
||||
ErrorOr<String> RelativeDistinguishedName::to_string() const
|
||||
{
|
||||
#define ADD_IF_RECOGNIZED(identifier, shorthand_code) \
|
||||
if (it->key == identifier) { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue