Fix no-engine.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
This commit is contained in:
Ben Laurie 2015-12-27 14:59:04 +00:00
parent 41977c53cd
commit 33bed28b39
3 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,7 @@
#include <string.h>
#include "ec_lcl.h"
#include <openssl/err.h>
#ifndef OPENSSSL_NO_ENGINE
#ifndef OPENSSL_NO_ENGINE
# include <openssl/engine.h>
#endif

View File

@ -63,6 +63,7 @@
#ifndef OPENSSL_NO_ENGINE
# include <openssl/engine.h>
#endif
#include <openssl/evp.h>
#include "internal/asn1_int.h"
#include "internal/evp_int.h"

View File

@ -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);