summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher.c b/cipher.c
index f3d4f69a5..9f4546759 100644
--- a/cipher.c
+++ b/cipher.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher.c,v 1.109 2018/02/07 02:06:50 jsing Exp $ */ 1/* $OpenBSD: cipher.c,v 1.110 2018/02/13 03:36:56 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -448,7 +448,7 @@ cipher_get_keyiv(struct sshcipher_ctx *cc, u_char *iv, u_int len)
448{ 448{
449#ifdef WITH_OPENSSL 449#ifdef WITH_OPENSSL
450 const struct sshcipher *c = cc->cipher; 450 const struct sshcipher *c = cc->cipher;
451 int evplen; 451 int evplen;
452#endif 452#endif
453 453
454 if ((cc->cipher->flags & CFLAG_CHACHAPOLY) != 0) { 454 if ((cc->cipher->flags & CFLAG_CHACHAPOLY) != 0) {
@@ -493,7 +493,7 @@ cipher_set_keyiv(struct sshcipher_ctx *cc, const u_char *iv)
493{ 493{
494#ifdef WITH_OPENSSL 494#ifdef WITH_OPENSSL
495 const struct sshcipher *c = cc->cipher; 495 const struct sshcipher *c = cc->cipher;
496 int evplen = 0; 496 int evplen = 0;
497#endif 497#endif
498 498
499 if ((cc->cipher->flags & CFLAG_CHACHAPOLY) != 0) 499 if ((cc->cipher->flags & CFLAG_CHACHAPOLY) != 0)