From 33bed28b399adb42b33d9a23814a62096ab84cb4 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 27 Dec 2015 14:59:04 +0000 Subject: [PATCH] Fix no-engine. Reviewed-by: Kurt Roeckx --- crypto/ec/ec_key.c | 2 +- crypto/evp/pmeth_lib.c | 1 + include/openssl/evp.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crypto/ec/ec_key.c b/crypto/ec/ec_key.c index e2ca142057..82d13eb951 100644 --- a/crypto/ec/ec_key.c +++ b/crypto/ec/ec_key.c @@ -65,7 +65,7 @@ #include #include "ec_lcl.h" #include -#ifndef OPENSSSL_NO_ENGINE +#ifndef OPENSSL_NO_ENGINE # include #endif diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index bbc4565816..a80fc33ccb 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -63,6 +63,7 @@ #ifndef OPENSSL_NO_ENGINE # include #endif +#include #include "internal/asn1_int.h" #include "internal/evp_int.h" diff --git a/include/openssl/evp.h b/include/openssl/evp.h index d93bb1e587..a4d2299e69 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -1293,7 +1293,7 @@ int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer); int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen); -typedef int EVP_PKEY_gen_cb (EVP_PKEY_CTX *ctx); +typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx); int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); -- 2.25.1