summaryrefslogtreecommitdiff
path: root/cipher-ctr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher-ctr.c')
-rw-r--r--cipher-ctr.c6
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
36const EVP_CIPHER *evp_aes_128_ctr(void);
37void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
38
39struct ssh_aes_ctr_ctx 37struct 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 */