diff options
author | doug <> | 2015-02-11 03:19:37 +0000 |
---|---|---|
committer | doug <> | 2015-02-11 03:19:37 +0000 |
commit | dea579e3ced20a997dc9c2b82eb0c086555a68b8 (patch) | |
tree | 2d213cc4df03f8f141841d2ca287094d778f0ca1 /src/lib/libcrypto/engine/tb_cipher.c | |
parent | c26652e36ac1ecfa50a2d217fdd0c2786495c552 (diff) | |
download | openbsd-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/tb_cipher.c')
-rw-r--r-- | src/lib/libcrypto/engine/tb_cipher.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/engine/tb_cipher.c b/src/lib/libcrypto/engine/tb_cipher.c index d869acf405..a888d7a958 100644 --- a/src/lib/libcrypto/engine/tb_cipher.c +++ b/src/lib/libcrypto/engine/tb_cipher.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tb_cipher.c,v 1.6 2014/06/12 15:49:29 deraadt Exp $ */ | 1 | /* $OpenBSD: tb_cipher.c,v 1.7 2015/02/11 03:19:37 doug Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2000 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2000 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -53,6 +53,8 @@ | |||
53 | * | 53 | * |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include <openssl/err.h> | ||
57 | |||
56 | #include "eng_int.h" | 58 | #include "eng_int.h" |
57 | 59 | ||
58 | /* If this symbol is defined then ENGINE_get_cipher_engine(), the function that | 60 | /* If this symbol is defined then ENGINE_get_cipher_engine(), the function that |