This is BSD sockets based application for connecting to Websocket server. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
16 lines
319 B
C
16 lines
319 B
C
/*
|
|
* Copyright (c) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#define CA_CERTIFICATE_TAG 1
|
|
|
|
#define TLS_PEER_HOSTNAME "localhost"
|
|
|
|
/* This is the same cert as what is found in net-tools/https-cert.pem file
|
|
*/
|
|
static const unsigned char ca_certificate[] = {
|
|
#include "https-cert.der.inc"
|
|
};
|