|
Packit |
aea12f |
/*
|
|
Packit |
aea12f |
* Copyright (C) 2014 Nikos Mavrogiannopoulos
|
|
Packit |
aea12f |
* Copyright (C) 2017 Red Hat, Inc.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* Author: Nikos Mavrogiannopoulos
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* This file is part of GnuTLS.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* GnuTLS is free software; you can redistribute it and/or modify it
|
|
Packit |
aea12f |
* under the terms of the GNU General Public License as published by
|
|
Packit |
aea12f |
* the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
aea12f |
* (at your option) any later version.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* GnuTLS is distributed in the hope that it will be useful, but
|
|
Packit |
aea12f |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
aea12f |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
aea12f |
* General Public License for more details.
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
aea12f |
* along with this program. If not, see <https://www.gnu.org/licenses/>
|
|
Packit |
aea12f |
*
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#ifdef HAVE_CONFIG_H
|
|
Packit |
aea12f |
#include <config.h>
|
|
Packit |
aea12f |
#endif
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#include <stdio.h>
|
|
Packit |
aea12f |
#include <stdlib.h>
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#if defined(_WIN32)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
int main()
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
exit(77);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#else
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#include <string.h>
|
|
Packit |
aea12f |
#include <sys/types.h>
|
|
Packit |
aea12f |
#include <netinet/in.h>
|
|
Packit |
aea12f |
#include <sys/socket.h>
|
|
Packit |
aea12f |
#include <sys/wait.h>
|
|
Packit |
aea12f |
#include <arpa/inet.h>
|
|
Packit |
aea12f |
#include <unistd.h>
|
|
Packit |
aea12f |
#include <gnutls/gnutls.h>
|
|
Packit |
aea12f |
#include <gnutls/dtls.h>
|
|
Packit |
aea12f |
#include <signal.h>
|
|
Packit |
aea12f |
#include "cert-common.h"
|
|
Packit |
aea12f |
#include "utils.h"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void terminate(void);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* This program tests the ability of the record layer,
|
|
Packit |
aea12f |
* to detect modified record packets, under various
|
|
Packit |
aea12f |
* ciphersuites.
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void server_log_func(int level, const char *str)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
fprintf(stderr, "server|<%d>| %s", level, str);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void client_log_func(int level, const char *str)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
fprintf(stderr, "client|<%d>| %s", level, str);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static int modify = 0;
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static ssize_t
|
|
Packit |
aea12f |
client_push(gnutls_transport_ptr_t tr, const void *data, size_t len)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
unsigned int fd = (long)tr;
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (modify == 0)
|
|
Packit |
aea12f |
return send(fd, data, len, 0);
|
|
Packit |
aea12f |
else {
|
|
Packit |
aea12f |
uint8_t *p = (void*)data;
|
|
Packit |
aea12f |
if (len < 30) {
|
|
Packit |
aea12f |
fail("test error in packet sending\n");
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
p[len-30]++;
|
|
Packit |
aea12f |
return send(fd, data, len, 0);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define MAX_BUF 24*1024
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void client(int fd, const char *prio, int ign)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
int ret;
|
|
Packit |
aea12f |
char buffer[MAX_BUF + 1];
|
|
Packit |
aea12f |
const char* err;
|
|
Packit |
aea12f |
gnutls_anon_client_credentials_t anoncred;
|
|
Packit |
aea12f |
gnutls_certificate_credentials_t x509_cred;
|
|
Packit |
aea12f |
gnutls_session_t session;
|
|
Packit |
aea12f |
/* Need to enable anonymous KX specifically. */
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
global_init();
|
|
Packit |
aea12f |
memset(buffer, 2, sizeof(buffer));
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (debug) {
|
|
Packit |
aea12f |
gnutls_global_set_log_function(client_log_func);
|
|
Packit |
aea12f |
gnutls_global_set_log_level(7);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_anon_allocate_client_credentials(&anoncred);
|
|
Packit |
aea12f |
gnutls_certificate_allocate_credentials(&x509_cred);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* Initialize TLS session
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
gnutls_init(&session, GNUTLS_CLIENT);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_transport_set_push_function(session, client_push);
|
|
Packit |
aea12f |
/* Use default priorities */
|
|
Packit |
aea12f |
ret = gnutls_priority_set_direct(session, prio, &err;;
|
|
Packit |
aea12f |
if (ret < 0) {
|
|
Packit |
aea12f |
fail("error setting priority: %s\n", err);
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* put the anonymous credentials to the current session
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
gnutls_credentials_set(session, GNUTLS_CRD_ANON, anoncred);
|
|
Packit |
aea12f |
gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_transport_set_int(session, fd);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* Perform the TLS handshake
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
do {
|
|
Packit |
aea12f |
ret = gnutls_handshake(session);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
while (ret < 0 && gnutls_error_is_fatal(ret) == 0);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (ret < 0) {
|
|
Packit |
aea12f |
fail("client (%s): Handshake has failed (%s)\n\n", prio,
|
|
Packit |
aea12f |
gnutls_strerror(ret));
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
} else {
|
|
Packit |
aea12f |
if (debug)
|
|
Packit |
aea12f |
success("client: Handshake was completed\n");
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (debug)
|
|
Packit |
aea12f |
success("client: TLS version is: %s\n",
|
|
Packit |
aea12f |
gnutls_protocol_get_name
|
|
Packit |
aea12f |
(gnutls_protocol_get_version(session)));
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
modify = 1;
|
|
Packit |
aea12f |
do {
|
|
Packit |
aea12f |
ret = gnutls_record_send(session, buffer, 2048);
|
|
Packit |
aea12f |
} while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED);
|
|
Packit |
aea12f |
modify = 0;
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (ret < 0) {
|
|
Packit |
aea12f |
fail("client[%s]: Error sending packet: %s\n", prio, gnutls_strerror(ret));
|
|
Packit |
aea12f |
terminate();
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_bye(session, GNUTLS_SHUT_WR);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
close(fd);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_deinit(session);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_anon_free_client_credentials(anoncred);
|
|
Packit |
aea12f |
gnutls_certificate_free_credentials(x509_cred);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_global_deinit();
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* These are global */
|
|
Packit |
aea12f |
pid_t child;
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void terminate(void)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
kill(child, SIGTERM);
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void server(int fd, const char *prio, int ign)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
int ret;
|
|
Packit |
aea12f |
const char* err;
|
|
Packit |
aea12f |
char buffer[MAX_BUF + 1];
|
|
Packit |
aea12f |
gnutls_session_t session;
|
|
Packit |
aea12f |
gnutls_anon_server_credentials_t anoncred;
|
|
Packit |
aea12f |
gnutls_certificate_credentials_t x509_cred;
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* this must be called once in the program
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
global_init();
|
|
Packit |
aea12f |
memset(buffer, 0, sizeof(buffer));
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (debug) {
|
|
Packit |
aea12f |
gnutls_global_set_log_function(server_log_func);
|
|
Packit |
aea12f |
gnutls_global_set_log_level(4711);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_certificate_allocate_credentials(&x509_cred);
|
|
Packit |
aea12f |
gnutls_certificate_set_x509_key_mem(x509_cred, &server_cert,
|
|
Packit |
aea12f |
&server_key,
|
|
Packit |
aea12f |
GNUTLS_X509_FMT_PEM);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_anon_allocate_server_credentials(&anoncred);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_init(&session, GNUTLS_SERVER);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* avoid calling all the priority functions, since the defaults
|
|
Packit |
aea12f |
* are adequate.
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
ret = gnutls_priority_set_direct(session, prio, &err;;
|
|
Packit |
aea12f |
if (ret < 0) {
|
|
Packit |
aea12f |
fail("error setting priority: %s\n", err);
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_credentials_set(session, GNUTLS_CRD_ANON, anoncred);
|
|
Packit |
aea12f |
gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_transport_set_int(session, fd);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
do {
|
|
Packit |
aea12f |
ret = gnutls_handshake(session);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
while (ret < 0 && gnutls_error_is_fatal(ret) == 0);
|
|
Packit |
aea12f |
if (ret < 0) {
|
|
Packit |
aea12f |
close(fd);
|
|
Packit |
aea12f |
gnutls_deinit(session);
|
|
Packit |
aea12f |
fail("server (%s): Handshake has failed (%s)\n\n", prio,
|
|
Packit |
aea12f |
gnutls_strerror(ret));
|
|
Packit |
aea12f |
terminate();
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
if (debug)
|
|
Packit |
aea12f |
success("server: Handshake was completed\n");
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (debug)
|
|
Packit |
aea12f |
success("server: TLS version is: %s\n",
|
|
Packit |
aea12f |
gnutls_protocol_get_name
|
|
Packit |
aea12f |
(gnutls_protocol_get_version(session)));
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* Here we do both a receive and a send test because if valgrind
|
|
Packit |
aea12f |
* detects an error on the peer, the main process will never know.
|
|
Packit |
aea12f |
*/
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* make sure we are not blocked forever */
|
|
Packit |
aea12f |
gnutls_record_set_timeout(session, 10000);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
/* Test receiving */
|
|
Packit |
aea12f |
do {
|
|
Packit |
aea12f |
ret = gnutls_record_recv(session, buffer, MAX_BUF);
|
|
Packit |
aea12f |
} while (ret == GNUTLS_E_AGAIN
|
|
Packit |
aea12f |
|| ret == GNUTLS_E_INTERRUPTED);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (ret != GNUTLS_E_DECRYPTION_FAILED) {
|
|
Packit |
aea12f |
fail("server: received modified packet with error code %d\n", ret);
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
close(fd);
|
|
Packit |
aea12f |
gnutls_deinit(session);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_anon_free_server_credentials(anoncred);
|
|
Packit |
aea12f |
gnutls_certificate_free_credentials(x509_cred);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
gnutls_global_deinit();
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (debug)
|
|
Packit |
aea12f |
success("server: finished\n");
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void start(const char *name, const char *prio, int ign)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
int fd[2];
|
|
Packit |
aea12f |
int ret;
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd);
|
|
Packit |
aea12f |
if (ret < 0) {
|
|
Packit |
aea12f |
perror("socketpair");
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
child = fork();
|
|
Packit |
aea12f |
if (child < 0) {
|
|
Packit |
aea12f |
perror("fork");
|
|
Packit |
aea12f |
fail("fork");
|
|
Packit |
aea12f |
exit(1);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (child) {
|
|
Packit |
aea12f |
/* parent */
|
|
Packit |
aea12f |
success("testing %s\n", name);
|
|
Packit |
aea12f |
close(fd[1]);
|
|
Packit |
aea12f |
server(fd[0], prio, ign);
|
|
Packit |
aea12f |
} else {
|
|
Packit |
aea12f |
close(fd[0]);
|
|
Packit |
aea12f |
client(fd[1], prio, ign);
|
|
Packit |
aea12f |
exit(0);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define AES_CBC "NONE:+VERS-TLS1.0:-CIPHER-ALL:+AES-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL"
|
|
Packit |
aea12f |
#define AES_CBC_SHA256 "NONE:+VERS-TLS1.2:-CIPHER-ALL:+RSA:+AES-128-CBC:+AES-256-CBC:+SHA256:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL"
|
|
Packit |
aea12f |
#define AES_GCM "NONE:+VERS-TLS1.2:-CIPHER-ALL:+RSA:+AES-128-GCM:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL"
|
|
Packit |
aea12f |
#define AES_CCM "NONE:+VERS-TLS1.2:-CIPHER-ALL:+RSA:+AES-128-CCM:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL"
|
|
Packit |
aea12f |
#define AES_CCM_8 "NONE:+VERS-TLS1.2:-CIPHER-ALL:+RSA:+AES-128-CCM-8:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define ARCFOUR_SHA1 "NONE:+VERS-TLS1.0:-CIPHER-ALL:+ARCFOUR-128:+SHA1:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL"
|
|
Packit |
aea12f |
#define ARCFOUR_MD5 "NONE:+VERS-TLS1.0:-CIPHER-ALL:+ARCFOUR-128:+MD5:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+CURVE-ALL:+RSA"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define NULL_SHA1 "NONE:+VERS-TLS1.0:-CIPHER-ALL:+NULL:+SHA1:+SIGN-ALL:+COMP-NULL:+ANON-ECDH:+RSA:+CURVE-ALL"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define NO_ETM ":%NO_ETM"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#define TLS13_AES_GCM "NONE:+VERS-TLS1.3:-CIPHER-ALL:+RSA:+AES-128-GCM:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+GROUP-ALL"
|
|
Packit |
aea12f |
#define TLS13_AES_CCM "NONE:+VERS-TLS1.3:-CIPHER-ALL:+RSA:+AES-128-CCM:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+GROUP-ALL"
|
|
Packit |
aea12f |
#define TLS13_CHACHA_POLY1305 "NONE:+VERS-TLS1.3:-CIPHER-ALL:+RSA:+CHACHA20-POLY1305:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+GROUP-ALL"
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
static void ch_handler(int sig)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
int status;
|
|
Packit |
aea12f |
wait(&status);
|
|
Packit |
aea12f |
check_wait_status(status);
|
|
Packit |
aea12f |
return;
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
void doit(void)
|
|
Packit |
aea12f |
{
|
|
Packit |
aea12f |
signal(SIGPIPE, SIG_IGN);
|
|
Packit |
aea12f |
signal(SIGCHLD, ch_handler);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
start("aes-cbc", AES_CBC, 1);
|
|
Packit |
aea12f |
start("aes-cbc-sha256", AES_CBC_SHA256, 1);
|
|
Packit |
aea12f |
start("aes-gcm", AES_GCM, 0);
|
|
Packit |
aea12f |
start("aes-ccm", AES_CCM, 0);
|
|
Packit |
aea12f |
start("aes-ccm-8", AES_CCM_8, 0);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (!gnutls_fips140_mode_enabled()) {
|
|
Packit |
aea12f |
start("null-sha1", NULL_SHA1, 0);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
start("arcfour-sha1", ARCFOUR_SHA1, 0);
|
|
Packit |
aea12f |
start("arcfour-md5", ARCFOUR_MD5, 0);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
start("aes-cbc-no-etm", AES_CBC NO_ETM, 1);
|
|
Packit |
aea12f |
start("aes-cbc-sha256-no-etm", AES_CBC_SHA256 NO_ETM, 1);
|
|
Packit |
aea12f |
start("aes-gcm-no-etm", AES_GCM NO_ETM, 0);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
if (!gnutls_fips140_mode_enabled()) {
|
|
Packit |
aea12f |
start("null-sha1-no-etm", NULL_SHA1 NO_ETM, 0);
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
start("arcfour-sha1-no-etm", ARCFOUR_SHA1 NO_ETM, 0);
|
|
Packit |
aea12f |
start("arcfour-md5-no-etm", ARCFOUR_MD5 NO_ETM, 0);
|
|
Packit |
aea12f |
start("tls13-chacha20-poly1305", TLS13_CHACHA_POLY1305, 0);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
start("tls13-aes-gcm", TLS13_AES_GCM, 0);
|
|
Packit |
aea12f |
start("tls13-aes-ccm", TLS13_AES_CCM, 0);
|
|
Packit |
aea12f |
}
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
#endif /* _WIN32 */
|