Skip ssh1 specfic ciphers.
cipher-3des1.c and cipher-bf1.c are specific to sshv1 so don't even try to compile them when Protocol 1 is not enabled.
This commit is contained in:
parent
79d078e7a4
commit
d924640d4c
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#ifdef WITH_SSH1
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
@ -153,3 +155,4 @@ evp_ssh1_3des(void)
|
||||||
ssh1_3des.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH;
|
ssh1_3des.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH;
|
||||||
return &ssh1_3des;
|
return &ssh1_3des;
|
||||||
}
|
}
|
||||||
|
#endif /* WITH_SSH1 */
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#ifdef WITH_SSH1
|
||||||
#if defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF)
|
#if defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF)
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -101,3 +102,5 @@ evp_ssh1_bf(void)
|
||||||
return (&ssh1_bf);
|
return (&ssh1_bf);
|
||||||
}
|
}
|
||||||
#endif /* defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) */
|
#endif /* defined(WITH_OPENSSL) && !defined(OPENSSL_NO_BF) */
|
||||||
|
|
||||||
|
#endif /* WITH_SSH1 */
|
||||||
|
|
Loading…
Reference in New Issue