From dea579e3ced20a997dc9c2b82eb0c086555a68b8 Mon Sep 17 00:00:00 2001 From: doug <> Date: Wed, 11 Feb 2015 03:19:37 +0000 Subject: Enable building with -DOPENSSL_NO_DEPRECATED. If you didn't enable deprecated code, there were missing err.h and bn.h includes. This commit allows building with or without deprecated code. This was not derived from an OpenSSL commit. However, they recently enabled OPENSSL_NO_DEPRECATED in git and fixed these header problems in a different way. Verified with clang that this only changes line numbers in the generated asm. ok miod@ --- src/lib/libcrypto/engine/eng_ctrl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/engine/eng_ctrl.c') diff --git a/src/lib/libcrypto/engine/eng_ctrl.c b/src/lib/libcrypto/engine/eng_ctrl.c index ea31bfc582..bf832dc626 100644 --- a/src/lib/libcrypto/engine/eng_ctrl.c +++ b/src/lib/libcrypto/engine/eng_ctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eng_ctrl.c,v 1.9 2014/07/10 13:58:22 jsing Exp $ */ +/* $OpenBSD: eng_ctrl.c,v 1.10 2015/02/11 03:19:37 doug Exp $ */ /* ==================================================================== * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. * @@ -55,6 +55,8 @@ #include +#include + #include "eng_int.h" /* When querying a ENGINE-specific control command's 'description', this string -- cgit v1.2.3-55-g6feb