You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "JosiahWI (via GitHub)" <gi...@apache.org> on 2023/06/28 19:24:39 UTC

[GitHub] [trafficserver] JosiahWI opened a new pull request, #9928: Detect SSL_CTX_set_keylog_callback in CMake build

JosiahWI opened a new pull request, #9928:
URL: https://github.com/apache/trafficserver/pull/9928

   This looks for the symbol SSL_CTX_set_keylog_callback declared in ssl.h and defined in libssl.so. It defines the TS_HAS_TLS_KEYLOGGING appropriately so that we can run autests on TLS features, since the autests assume that TLS keylogging is enabled.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bneradt merged pull request #9928: Detect SSL_CTX_set_keylog_callback in CMake build

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt merged PR #9928:
URL: https://github.com/apache/trafficserver/pull/9928


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] JosiahWI commented on a diff in pull request #9928: Detect SSL_CTX_set_keylog_callback in CMake build

Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on code in PR #9928:
URL: https://github.com/apache/trafficserver/pull/9928#discussion_r1245917948


##########
CMakeLists.txt:
##########
@@ -254,6 +257,7 @@ check_symbol_exists(BIO_meth_get_ctrl "openssl/bio.h" HAVE_BIO_METH_GET_CTRL)
 check_symbol_exists(BIO_meth_get_create "openssl/bio.h" HAVE_BIO_METH_GET_CREATE)
 check_symbol_exists(BIO_meth_get_destroy "openssl/bio.h" HAVE_BIO_METH_GET_DESTROY)
 check_symbol_exists(DH_get_2048_256 "openssl/dh.h" TS_USE_GET_DH_2048_256)
+check_symbol_exists(SSL_CTX_set_keylog_callback openssl/ssl.h TS_HAS_TLS_KEYLOGGING)

Review Comment:
   Great question. In this case it's a matter of style. Since the CMake documention has them quoted, and because @cmcfarlen quoted most of them, I suggest we quote them all. Also, if there happened to be a header with a space in the name, then the quotes would be necessary. I hope that never happens, but theoretically that would be a reason to prefer quotes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bneradt commented on pull request #9928: Detect SSL_CTX_set_keylog_callback in CMake build

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #9928:
URL: https://github.com/apache/trafficserver/pull/9928#issuecomment-1612352439

   [approve ci fedora]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] randall commented on a diff in pull request #9928: Detect SSL_CTX_set_keylog_callback in CMake build

Posted by "randall (via GitHub)" <gi...@apache.org>.
randall commented on code in PR #9928:
URL: https://github.com/apache/trafficserver/pull/9928#discussion_r1245908165


##########
CMakeLists.txt:
##########
@@ -254,6 +257,7 @@ check_symbol_exists(BIO_meth_get_ctrl "openssl/bio.h" HAVE_BIO_METH_GET_CTRL)
 check_symbol_exists(BIO_meth_get_create "openssl/bio.h" HAVE_BIO_METH_GET_CREATE)
 check_symbol_exists(BIO_meth_get_destroy "openssl/bio.h" HAVE_BIO_METH_GET_DESTROY)
 check_symbol_exists(DH_get_2048_256 "openssl/dh.h" TS_USE_GET_DH_2048_256)
+check_symbol_exists(SSL_CTX_set_keylog_callback openssl/ssl.h TS_HAS_TLS_KEYLOGGING)

Review Comment:
   should this be a quoted include file (like all the previous lines) or unquoted (like the next line)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bneradt commented on pull request #9928: Detect SSL_CTX_set_keylog_callback in CMake build

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #9928:
URL: https://github.com/apache/trafficserver/pull/9928#issuecomment-1613149701

   [approve ci]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org