summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/eng_dyn.c
diff options
context:
space:
mode:
authordoug <>2015-02-11 03:19:37 +0000
committerdoug <>2015-02-11 03:19:37 +0000
commitdea579e3ced20a997dc9c2b82eb0c086555a68b8 (patch)
tree2d213cc4df03f8f141841d2ca287094d778f0ca1 /src/lib/libcrypto/engine/eng_dyn.c
parentc26652e36ac1ecfa50a2d217fdd0c2786495c552 (diff)
downloadopenbsd-dea579e3ced20a997dc9c2b82eb0c086555a68b8.tar.gz
openbsd-dea579e3ced20a997dc9c2b82eb0c086555a68b8.tar.bz2
openbsd-dea579e3ced20a997dc9c2b82eb0c086555a68b8.zip
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@
Diffstat (limited to 'src/lib/libcrypto/engine/eng_dyn.c')
-rw-r--r--src/lib/libcrypto/engine/eng_dyn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/engine/eng_dyn.c b/src/lib/libcrypto/engine/eng_dyn.c
index dfb35a8403..c78d9f6856 100644
--- a/src/lib/libcrypto/engine/eng_dyn.c
+++ b/src/lib/libcrypto/engine/eng_dyn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: eng_dyn.c,v 1.12 2014/07/13 16:03:09 beck Exp $ */ 1/* $OpenBSD: eng_dyn.c,v 1.13 2015/02/11 03:19:37 doug Exp $ */
2/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL 2/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -58,6 +58,8 @@
58 58
59#include <string.h> 59#include <string.h>
60 60
61#include <openssl/err.h>
62
61#include "eng_int.h" 63#include "eng_int.h"
62#include <openssl/dso.h> 64#include <openssl/dso.h>
63 65