summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/cipher-ctr.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/cipher-ctr.c')
-rw-r--r--crypto/openssh/cipher-ctr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/crypto/openssh/cipher-ctr.c b/crypto/openssh/cipher-ctr.c
index b24f3a4..3b86cc1 100644
--- a/crypto/openssh/cipher-ctr.c
+++ b/crypto/openssh/cipher-ctr.c
@@ -29,13 +29,7 @@
/* compatibility with old or broken OpenSSL versions */
#include "openbsd-compat/openssl-compat.h"
-#ifdef USE_BUILTIN_RIJNDAEL
-#include "rijndael.h"
-#define AES_KEY rijndael_ctx
-#define AES_BLOCK_SIZE 16
-#define AES_encrypt(a, b, c) rijndael_encrypt(c, a, b)
-#define AES_set_encrypt_key(a, b, c) rijndael_set_key(c, (char *)a, b, 1)
-#else
+#ifndef USE_BUILTIN_RIJNDAEL
#include <openssl/aes.h>
#endif
OpenPOWER on IntegriCloud