|
Defines |
| #define | DEFAULT_CERT_FILE "./server.pem" |
| #define | DEFAULT_KEY_FILE "./certs/cakey.pem" |
| #define | DEFAULT_CA_FILE "./certs/cacert.pem" |
| #define | DEFAULT_CA_PATH "./certs/" |
| #define | SSL_PORT 443 |
| #define | do_pipe_sig() |
| #define | apps_startup() do_pipe_sig(); SSLC_add_all_algorithms(); |
| #define | BUF_BLOCK 256 |
Functions |
| void | SSLC_add_all_algorithms (void) |
| static int | websSSLSetCertStuff (SSL_CTX *ctx, char *cert_file, char *key_file) |
| static int | websSSLVerifyCallback (int ok, X509_STORE_CTX *ctx) |
| static RSA * | websSSLTempRSACallback (SSL *s, int is_export, int keylength) |
| static int | websSSLReadEvent (webs_t wp) |
| static int | websSSLAccept (int sid, char *ipaddr, int port, int listenSid) |
| static void | websSSLSocketEvent (int sid, int mask, int data) |
| int | websSSLOpen () |
| int | websSSLIsOpen () |
| void | websSSLClose () |
| int | websSSLSetCertFile (char_t *certFile) |
| int | websSSLSetKeyFile (char_t *keyFile) |
| int | websSSLFree (websSSL_t *wsp) |
| int | websSSLEof (websSSL_t *wsp) |
| int | websSSLRead (websSSL_t *wsp, char_t *buf, int len) |
| int | websSSLGets (websSSL_t *wsp, char_t **buf) |
| int | websSSLWrite (websSSL_t *wsp, char_t *buf, int len) |
| int | websSSLFlush (websSSL_t *wsp) |
Variables |
| static int | sslListenSock = -1 |
| static SSL_CTX * | sslctx = NULL |
| static int | sslVerifyDepth = 0 |
| static int | sslVerifyError = X509_V_OK |