Latest update, add TLS 1.3 session time configuration.
This commit is contained in:
@@ -9,9 +9,12 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <openssl/provider.h>
|
||||
#include "internal/nelem.h"
|
||||
#include "testutil.h"
|
||||
|
||||
static OSSL_PROVIDER *prov = NULL;
|
||||
|
||||
#ifndef OPENSSL_NO_MD2
|
||||
# include <openssl/evp.h>
|
||||
# include <openssl/md2.h>
|
||||
@@ -58,6 +61,17 @@ static int test_md2(int n)
|
||||
}
|
||||
#endif
|
||||
|
||||
int global_init(void)
|
||||
{
|
||||
prov = OSSL_PROVIDER_load(NULL, "legacy");
|
||||
|
||||
return prov != NULL;
|
||||
}
|
||||
void cleanup_tests(void)
|
||||
{
|
||||
OSSL_PROVIDER_unload(prov);
|
||||
}
|
||||
|
||||
int setup_tests(void)
|
||||
{
|
||||
#ifndef OPENSSL_NO_MD2
|
||||
|
||||
Reference in New Issue
Block a user