From 62592c2475f2aafc76b66559adea295fe569cbd1 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 22 Nov 2023 15:43:42 +0000 Subject: [PATCH] Move SSL_library_init() next to OPENSSL_init_ssl() Its current position makes no sense and it will become a wrapper of the latter in a subsequent commit. ok jsing --- lib/libssl/ssl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 4ef6f6df7f5..8d65a1ec03b 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.231 2023/11/19 15:51:49 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.232 2023/11/22 15:43:42 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1395,8 +1395,6 @@ void SSL_set_accept_state(SSL *s); long SSL_get_default_timeout(const SSL *s); -int SSL_library_init(void ); - char *SSL_CIPHER_description(const SSL_CIPHER *, char *buf, int size); STACK_OF(X509_NAME) *SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk); @@ -2352,6 +2350,7 @@ void ERR_load_SSL_strings(void); #define OPENSSL_INIT_SSL_DEFAULT _OPENSSL_INIT_FLAG_NOOP int OPENSSL_init_ssl(uint64_t opts, const void *settings); +int SSL_library_init(void); #ifdef __cplusplus } -- 2.20.1