summaryrefslogtreecommitdiffstats
path: root/cipher-ctr.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2012-12-13 08:18:56 +1100
committerDamien Miller <djm@mindrot.org>2012-12-13 08:18:56 +1100
commit25a02b0c95e01bc331267a1db0f62d3cbd7a0897 (patch)
treee968ae08dad316203054e909841d3b8367cc3b79 /cipher-ctr.c
parent8c05da3326fef892d993f0cd91808f2daf4d6a5f (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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher-ctr.c b/cipher-ctr.c
index 04975b4b..f053abe2 100644
--- a/cipher-ctr.c
+++ b/cipher-ctr.c
@@ -16,6 +16,7 @@
*/
#include "includes.h"
+#ifndef OPENSSL_HAVE_EVPCTR
#include <sys/types.h>
#include <stdarg.h>
@@ -144,3 +145,5 @@ evp_aes_128_ctr(void)
#endif
return (&aes_ctr);
}
+
+#endif /* OPENSSL_HAVE_EVPCTR */