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/crypto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/crypto.h') diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h index c1ee78fb2f..068415f693 100644 --- a/src/lib/libcrypto/crypto.h +++ b/src/lib/libcrypto/crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.h,v 1.40 2015/09/17 09:51:40 bcook Exp $ */ +/* $OpenBSD: crypto.h,v 1.41 2017/04/29 21:48:43 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -499,9 +499,9 @@ uint64_t OPENSSL_cpu_caps(void); int OPENSSL_isservice(void); +#ifndef LIBRESSL_INTERNAL void OPENSSL_init(void); -#ifndef LIBRESSL_INTERNAL /* CRYPTO_memcmp returns zero iff the |len| bytes at |a| and |b| are equal. It * takes an amount of time dependent on |len|, but independent of the contents * of |a| and |b|. Unlike memcmp, it cannot be used to put elements into a -- cgit v1.2.3-55-g6feb