Skip to content

Commit

Permalink
Remove comment string on MAX_OID_LENGTH that is openssl specific
Browse files Browse the repository at this point in the history
Signed-off-by: Qiu Yu <qiuyu@apple.com>
  • Loading branch information
unicell committed Sep 11, 2024
1 parent cc172cc commit e393954
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/common/tls/utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ namespace Extensions {
namespace TransportSockets {
namespace Tls {

// OpenSSL caps OBJ_obj2txt for to support size of Object Identifier up to 586 bytes.
// Here we are limiting the length of canonical numeric text form of OID to 256.
// Ref:
// https://github.com/openssl/openssl/blob/master/CHANGES.md#changes-between-310-and-311-30-may-2023
static constexpr int MAX_OID_LENGTH = 256;

static constexpr absl::string_view SSL_ERROR_UNKNOWN_ERROR_MESSAGE = "UNKNOWN_ERROR";
Expand Down

0 comments on commit e393954

Please sign in to comment.