summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/cipher.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-03-22 20:41:37 +0000
committerdes <des@FreeBSD.org>2006-03-22 20:41:37 +0000
commit7c07891caf91823c65d0ed7f700a1cfe983e15cc (patch)
treefb276a713da5dc24fdafffe04d15c0de14e138e2 /crypto/openssh/cipher.c
parentc2efe9a3053e865e5c7bf36de808ec154ddb8c36 (diff)
downloadFreeBSD-src-7c07891caf91823c65d0ed7f700a1cfe983e15cc.zip
FreeBSD-src-7c07891caf91823c65d0ed7f700a1cfe983e15cc.tar.gz
Merge conflicts.
Diffstat (limited to 'crypto/openssh/cipher.c')
-rw-r--r--crypto/openssh/cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/cipher.c b/crypto/openssh/cipher.c
index 0dddf27..1434d55 100644
--- a/crypto/openssh/cipher.c
+++ b/crypto/openssh/cipher.c
@@ -334,7 +334,7 @@ cipher_get_keyiv(CipherContext *cc, u_char *iv, u_int len)
if ((u_int)evplen != len)
fatal("%s: wrong iv length %d != %d", __func__,
evplen, len);
-#if OPENSSL_VERSION_NUMBER < 0x00907000L
+#ifdef USE_BUILTIN_RIJNDAEL
if (c->evptype == evp_rijndael)
ssh_rijndael_iv(&cc->evp, 0, iv, len);
else
@@ -365,7 +365,7 @@ cipher_set_keyiv(CipherContext *cc, u_char *iv)
evplen = EVP_CIPHER_CTX_iv_length(&cc->evp);
if (evplen == 0)
return;
-#if OPENSSL_VERSION_NUMBER < 0x00907000L
+#ifdef USE_BUILTIN_RIJNDAEL
if (c->evptype == evp_rijndael)
ssh_rijndael_iv(&cc->evp, 1, iv, evplen);
else
OpenPOWER on IntegriCloud