diff options
Diffstat (limited to 'cipher-ctr.c')
-rw-r--r-- | cipher-ctr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher-ctr.c b/cipher-ctr.c index 04975b4b6..d1fe69f57 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> |
@@ -33,9 +34,6 @@ | |||
33 | #include <openssl/aes.h> | 34 | #include <openssl/aes.h> |
34 | #endif | 35 | #endif |
35 | 36 | ||
36 | const EVP_CIPHER *evp_aes_128_ctr(void); | ||
37 | void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t); | ||
38 | |||
39 | struct ssh_aes_ctr_ctx | 37 | struct ssh_aes_ctr_ctx |
40 | { | 38 | { |
41 | AES_KEY aes_ctx; | 39 | AES_KEY aes_ctx; |
@@ -144,3 +142,5 @@ evp_aes_128_ctr(void) | |||
144 | #endif | 142 | #endif |
145 | return (&aes_ctr); | 143 | return (&aes_ctr); |
146 | } | 144 | } |
145 | |||
146 | #endif /* OPENSSL_HAVE_EVPCTR */ | ||