openssh/regress/unittests/sshkey/tests.c
Damien Miller 42c5ec4b97 refactor libcrypto initialisation
Don't call OpenSSL_add_all_algorithms() unless OpenSSL actually
supports it.

Move all libcrypto initialisation to a single function, and call that
from seed_rng() that is called early in each tool's main().

Prompted by patch from Rosen Penev
2018-11-23 10:42:05 +11:00

23 lines
375 B
C

/* $OpenBSD: tests.c,v 1.1 2014/06/24 01:14:18 djm Exp $ */
/*
* Regress test for sshbuf.h buffer API
*
* Placed in the public domain
*/
#include "includes.h"
#include "../test_helper/test_helper.h"
void sshkey_tests(void);
void sshkey_file_tests(void);
void sshkey_fuzz_tests(void);
void
tests(void)
{
sshkey_tests();
sshkey_file_tests();
sshkey_fuzz_tests();
}