View | Details | Raw Unified | Return to bug 223994 | Differences between
and this patch

Collapse All | Expand All

(-)src/lib/openssl-compat.h 2018-02-02 15:27:50.229100000 -0600 (-1 / +1 lines)
Lines 1-7 Link Here
1
#ifndef __OPENSSL_COPMAT__H__
1
#ifndef __OPENSSL_COPMAT__H__
2
#define __OPENSSL_COPMAT__H__
2
#define __OPENSSL_COPMAT__H__
3
#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
3
#if ( (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) )
4
static inline int EVP_PKEY_up_ref(EVP_PKEY *pkey)
4
static inline int EVP_PKEY_up_ref(EVP_PKEY *pkey)
5
{
5
{
6
       CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
6
       CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);

Return to bug 223994