/* * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */#include<string.h>#include<openssl/bio.h>#include<openssl/x509_vfy.h>#include<openssl/ssl.h>#ifndef OPENSSL_NO_SRP#include<openssl/srp.h>#endif#ifndef OPENSSL_NO_SOCK# define USE_SOCKETS#include"e_os.h"#endif#include"handshake_helper.h"#include"testutil.h"HANDSHAKE_RESULT*HANDSHAKE_RESULT_new(){HANDSHAKE_RESULT*ret=OPENSSL_zalloc(sizeof(*ret));TEST_check(ret!=NULL);returnret;}voidHANDSHAKE_RESULT_free(HANDSHAKE_RESULT*result)