Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
#include "cert-common.h"
#include "utils.h"
-static void terminate(void);
-
/* This program tests that a client cannot send any unencrypted data
* during the handshake process. That is to ensure we protect buggy clients
* from transmitting sensitive data over the wire.
/* These are global */
pid_t child;
-static void terminate(void)
-{
- assert(child);
- kill(child, SIGTERM);
- exit(1);
-}
-
static void server(int fd, const char *prio)
{
int ret;
#include "cert-common.h"
#include "utils.h"
-static void terminate(void);
-
/* This program tests that handshakes do not include a session ticket
* if the flag GNUTLS_NO_TICKETS is specified under TLS 1.2.
*
/* These are global */
pid_t child;
-static void terminate(void)
-{
- assert(child);
- kill(child, SIGTERM);
- exit(1);
-}
-
static void server(int fd, const char *prio, unsigned int flags)
{
int ret;