mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 10:00:14 +00:00
42c5ec4b97
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
23 lines
375 B
C
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();
|
|
}
|