#include <string.h>
#include <stdio.h>
#include "xyssl/net.h"
#include "xyssl/ssl.h"
#include "xyssl/havege.h"
#include "xyssl/certs.h"
#include "xyssl/x509.h"
Go to the source code of this file.
Defines | |
#define | _CRT_SECURE_NO_DEPRECATE 1 |
#define | SERVER_PORT 4433 |
#define | SERVER_NAME "xyssl.org" |
#define | GET_REQUEST |
Functions | |
int | main (void) |
#define _CRT_SECURE_NO_DEPRECATE 1 |
Definition at line 22 of file ssl_client2.c.
#define GET_REQUEST |
Value:
"GET /hello/ HTTP/1.0\r\n" \ "Host: xyssl.org\r\n\r\n"
Definition at line 40 of file ssl_client2.c.
#define SERVER_NAME "xyssl.org" |
Definition at line 39 of file ssl_client2.c.
#define SERVER_PORT 4433 |
Definition at line 34 of file ssl_client2.c.
int main | ( | void | ) |
Definition at line 44 of file ssl_client2.c.
References BADCERT_CN_MISMATCH, BADCERT_HAS_EXPIRED, BADCERT_NOT_TRUSTED, ERR_SSL_PEER_CLOSE_NOTIFY, GET_REQUEST, havege_init(), havege_rand(), net_close(), net_connect(), rsa_free(), server_fd, SERVER_NAME, SERVER_PORT, ssl_close_notify(), ssl_default_ciphers, ssl_free(), ssl_get_cipher_name(), ssl_get_verify_result(), ssl_handshake(), ssl_init(), SSL_IS_CLIENT, ssl_read(), ssl_set_authmode(), ssl_set_ca_chain(), ssl_set_ciphlist(), ssl_set_endpoint(), ssl_set_io_files(), ssl_set_rng_func(), ssl_set_rsa_cert(), SSL_VERIFY_OPTIONAL, ssl_write(), test_cli_crt, test_cli_key, x509_add_certs(), x509_free_cert(), x509_parse_key(), and xyssl_ca_crt.