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/tb_digest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/engine/tb_digest.c') diff --git a/src/lib/libcrypto/engine/tb_digest.c b/src/lib/libcrypto/engine/tb_digest.c index 5bdb37a915..f7720d39e7 100644 --- a/src/lib/libcrypto/engine/tb_digest.c +++ b/src/lib/libcrypto/engine/tb_digest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tb_digest.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ +/* $OpenBSD: tb_digest.c,v 1.7 2015/02/11 03:19:37 doug Exp $ */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. * @@ -53,6 +53,8 @@ * */ +#include + #include "eng_int.h" /* If this symbol is defined then ENGINE_get_digest_engine(), the function that -- cgit v1.2.3-55-g6feb