#include <string.h>
#include <strings.h>
+#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
{NULL, NULL, 0}
};
-static X509 *make_cert()
+static X509 *make_cert(void)
{
X509 *ret = NULL;
X509 *crt = NULL;
int
main(void)
{
+ CRYPTO_library_init();
+
const struct set_name_fn *pfn = name_fns;
while (pfn->name) {
const char *const *pname = names;