diff options
author | Damien Miller <djm@mindrot.org> | 2012-12-13 08:18:56 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2012-12-13 08:18:56 +1100 |
commit | 25a02b0c95e01bc331267a1db0f62d3cbd7a0897 (patch) | |
tree | e968ae08dad316203054e909841d3b8367cc3b79 /cipher-ctr.c | |
parent | 8c05da3326fef892d993f0cd91808f2daf4d6a5f (diff) |
- (djm) [configure.ac cipher-ctr.c] Adapt EVP AES CTR change to retain our
compat code for older OpenSSL
Diffstat (limited to 'cipher-ctr.c')
-rw-r--r-- | cipher-ctr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher-ctr.c b/cipher-ctr.c index 04975b4b6..f053abe2e 100644 --- a/cipher-ctr.c +++ b/cipher-ctr.c | |||
@@ -16,6 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | #ifndef OPENSSL_HAVE_EVPCTR | ||
19 | #include <sys/types.h> | 20 | #include <sys/types.h> |
20 | 21 | ||
21 | #include <stdarg.h> | 22 | #include <stdarg.h> |
@@ -144,3 +145,5 @@ evp_aes_128_ctr(void) | |||
144 | #endif | 145 | #endif |
145 | return (&aes_ctr); | 146 | return (&aes_ctr); |
146 | } | 147 | } |
148 | |||
149 | #endif /* OPENSSL_HAVE_EVPCTR */ | ||