deb1e49
#!/bin/sh
deb1e49
#
deb1e49
#  Remove the ACSS implementation from OpenSSH, and disable its use so that the
deb1e49
#  rest of the package can still be built.
deb1e49
#
deb1e49
> acss.c
de2e7a3
patch -sp0 << EOF
de2e7a3
--- cipher.c.orig       2005-07-17 09:02:10.000000000 +0200
de2e7a3
+++ cipher.c    2005-09-06 14:52:06.000000000 +0200
de2e7a3
@@ -45,6 +45,8 @@
de2e7a3
de2e7a3
 /* compatibility with old or broken OpenSSL versions */
de2e7a3
 #include "openbsd-compat/openssl-compat.h"
de2e7a3
+#undef USE_CIPHER_ACSS
deb1e49
+#define EVP_acss NULL
de2e7a3
deb1e49
 extern const EVP_CIPHER *evp_ssh1_bf(void);
deb1e49
 extern const EVP_CIPHER *evp_ssh1_3des(void);
deb1e49
EOF