Yan-Daojiang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23429 )

Change subject: OpenSSL 3.x compatibility adaptation
......................................................................


Patch Set 19:

(1 comment)

Thanks for the suggestion—you're right.

I replaced the runtime check with a compile-time static_assert.

http://gerrit.cloudera.org:8080/#/c/23429/18/src/kudu/util/jwt-util.cc
File src/kudu/util/jwt-util.cc:

http://gerrit.cloudera.org:8080/#/c/23429/18/src/kudu/util/jwt-util.cc@658
PS18, Line 658:   // OSSL_PKEY_PARAM_PUB_KEY is a well-known constant name 
provided by OpenSSL 3.0
              :   // headers (openssl/core_names.h). It's a compile-time 
constant string literal
              :   // and should never be null.
              :   static_assert(OSSL_PKEY_PARAM_PUB_KEY != nullptr,
              :                 "OSSL_PKEY_PARAM_PUB_KEY must be a non-
> nit: IIUC, this isn't only for debug builds -- this end up as an extra oper
Done



--
To view, visit http://gerrit.cloudera.org:8080/23429
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic587a85e6b9088ffd353f9119b75431f1ec60b5c
Gerrit-Change-Number: 23429
Gerrit-PatchSet: 19
Gerrit-Owner: Yan-Daojiang <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yan-Daojiang <[email protected]>
Gerrit-Comment-Date: Thu, 16 Oct 2025 03:11:29 +0000
Gerrit-HasComments: Yes

Reply via email to