From b06d97dea79680706abbabd672be9d0fb4582be7 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 29 Apr 2017 21:48:44 +0000 Subject: Stop calling OPENSSL_init() internally, since it is a no-op. Also place it under #ifndef LIBRESSL_INTERNAL. ok beck@ --- src/lib/libcrypto/cryptlib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libcrypto/cryptlib.c') diff --git a/src/lib/libcrypto/cryptlib.c b/src/lib/libcrypto/cryptlib.c index 1bc245ed0a..f7b783a029 100644 --- a/src/lib/libcrypto/cryptlib.c +++ b/src/lib/libcrypto/cryptlib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptlib.c,v 1.40 2017/01/29 17:49:22 beck Exp $ */ +/* $OpenBSD: cryptlib.c,v 1.41 2017/04/29 21:48:43 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -403,7 +403,6 @@ CRYPTO_set_locking_callback(void (*func)(int mode, int type, /* Calling this here ensures initialisation before any threads * are started. */ - OPENSSL_init(); locking_callback = func; } -- cgit v1.2.3-55-g6feb