CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
PsySSL.cpp File Reference

Implementation of the OpenSSL-based TLS server helpers (see PsySSL.h). More...

#include "PsySSL.h"
Include dependency graph for PsySSL.cpp:

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.

Detailed Description

Implementation of the OpenSSL-based TLS server helpers (see PsySSL.h).

Compiled to (almost) nothing unless _USE_SSL_ is defined. Contains the SSLServer select()/accept loop, certificate loading, and the TestSSL() smoke test.

Definition in file PsySSL.cpp.