Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions opensshlib/cipher-3des1.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include "ssherr.h"

#ifdef WITH_SSH1

/*
* This is used by SSH1:
*
Expand Down Expand Up @@ -155,3 +157,5 @@ evp_ssh1_3des(void)
EVP_CIPHER_meth_set_flags(ssh1_3des, EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH);
return ssh1_3des;
}

#endif /* WITH_SSH1 */
4 changes: 2 additions & 2 deletions opensshlib/cipher-bf1.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "includes.h"

#ifdef WITH_OPENSSL
#if defined(WITH_OPENSSL) && defined(WITH_SSH1)

#include <sys/types.h>

Expand Down Expand Up @@ -99,4 +99,4 @@ evp_ssh1_bf(void)
EVP_CIPHER_meth_set_do_cipher(ssh1_bf, bf_ssh1_do_cipher);
return (ssh1_bf);
}
#endif /* WITH_OPENSSL */
#endif /* WITH_OPENSSL && WITH_SSH1 */