|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Minimal OpenSSL-based TLS server helpers for the CMSDK. More...
#include "Utils.h"Go to the source code of this file.
Namespaces | |
| namespace | cmlabs |
Functions | |
| int | cmlabs::TestSSL (int port) |
| Standalone smoke test for the SSL server functionality. | |
Minimal OpenSSL-based TLS server helpers for the CMSDK.
Only compiled with real content when _USE_SSL_ is defined (requires linking against OpenSSL); otherwise only the TestSSL() stub declaration remains. Provides two small wrappers: PsySSLServer (context + certificate loading) and SSLServer (a select()-based accept loop dispatching each client connection to a pthread worker function).
_USE_SSL_ branch. Definition in file PsySSL.h.