hongzhi-gao opened a new pull request, #3606:
URL: https://github.com/apache/thrift/pull/3606

   ## Summary
   
   - Add optional CMake support for building libthrift against 
[Tongsuo](https://github.com/Tongsuo-Project/Tongsuo) using `-DWITH_TONGSUO=ON` 
and `-DTONGSUO_ROOT_DIR=...`.
   - Extend `TSSLSocketFactory` with `SSLProtocol::NTLS` and dual-certificate 
APIs (`loadSign*` / `loadEnc*`) for TLCP/NTLS.
   - Add `TNTLSSocketTest` and SM2 test material under `test/keys/ntls/`.
   
   ## Test plan
   
   - [x] Configure with `-DWITH_TONGSUO=ON -DTONGSUO_ROOT_DIR=<prefix> 
-DBUILD_TESTING=ON -DBUILD_COMPILER=ON`
   - [x] `ctest -R TNTLSSocketTest` (handshake echo, mutual auth, buffer-loaded 
certs)
   
   Tongsuo must be built with `./config enable-ntls` before running NTLS tests.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to