sync with OpenBSD -current

This commit is contained in:
purplerain 2024-10-18 17:00:07 +00:00
parent c0a325cf3c
commit 5f899da0da
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
67 changed files with 1194 additions and 789 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: crypto_init.c,v 1.21 2024/04/10 14:51:02 beck Exp $ */
/* $OpenBSD: crypto_init.c,v 1.22 2024/10/17 14:27:57 jsing Exp $ */
/*
* Copyright (c) 2018 Bob Beck <beck@openbsd.org>
*
@ -27,7 +27,7 @@
#include <openssl/objects.h>
#include <openssl/x509v3.h>
#include "cryptlib.h"
#include "crypto_internal.h"
#include "x509_issuer_cache.h"
int OpenSSL_config(const char *);
@ -48,7 +48,8 @@ OPENSSL_init_crypto_internal(void)
{
crypto_init_thread = pthread_self();
OPENSSL_cpuid_setup();
crypto_cpu_caps_init();
ERR_load_crypto_strings();
}