]> andersk Git - openssh.git/commitdiff
- (dtucker) [cipher.c openbsd-compat/openbsd-compat.h
authordtucker <dtucker>
Fri, 17 Jun 2005 11:15:20 +0000 (11:15 +0000)
committerdtucker <dtucker>
Fri, 17 Jun 2005 11:15:20 +0000 (11:15 +0000)
   openbsd-compat/openssl-compat.c] only include openssl compat stuff where
   it's needed as it can cause conflicts elsewhere (eg xcrypt.c).  Found by
   and ok tim@
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------

ChangeLog
cipher.c
openbsd-compat/openbsd-compat.h
openbsd-compat/openssl-compat.c

index b8c167363d5c2ecf96466847ec966f600ff832a1..ac6328af898f5f67aff63c9114a616153838500a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      make this -Wsign-compare clean; ok avsm@ markus@
      NB. auth1.c changes not committed yet (conflicts with uncommitted sync)
      NB2. more work may be needed to make portable Wsign-compare clean
+ - (dtucker) [cipher.c openbsd-compat/openbsd-compat.h
+   openbsd-compat/openssl-compat.c] only include openssl compat stuff where
+   it's needed as it can cause conflicts elsewhere (eg xcrypt.c).  Found by
+   and ok tim@
 
 20050616
  - (djm) OpenBSD CVS Sync
index 20d0a80c43d7229c5fabd72467202ceba44ee0cd..fc1e2ae1c889a125a395dca0a3533f54d6250146 100644 (file)
--- a/cipher.c
+++ b/cipher.c
@@ -43,6 +43,9 @@ RCSID("$OpenBSD: cipher.c,v 1.76 2005/06/17 02:44:32 djm Exp $");
 
 #include <openssl/md5.h>
 
+/* compatibility with old or broken OpenSSL versions */
+#include "openbsd-compat/openssl-compat.h"
+
 extern const EVP_CIPHER *evp_ssh1_bf(void);
 extern const EVP_CIPHER *evp_ssh1_3des(void);
 extern void ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int);
index 899ca41e6ca07e4252af8805c8de794a1dc99383..8f55193b006f32654d7fe61a6a232fc510f108ae 100644 (file)
@@ -168,9 +168,6 @@ char *shadow_pw(struct passwd *pw);
 /* rfc2553 socket API replacements */
 #include "fake-rfc2553.h"
 
-/* compatibility with old or broken OpenSSL versions */
-#include "openssl-compat.h"
-
 /* Routines for a single OS platform */
 #include "bsd-cray.h"
 #include "bsd-cygwin_util.h"
index 89bd250cad183cde8ab4ff6e6065396e139edfb7..957be810c84134964caed26fb88dfd0e85e09b5b 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#define SSH_DONT_REDEF_EVP
 #include "includes.h"
 
+#define SSH_DONT_REDEF_EVP
+#include "openssl-compat.h"
+
 #ifdef SSH_OLD_EVP
 int
 ssh_EVP_CipherInit(EVP_CIPHER_CTX *evp, const EVP_CIPHER *type,
This page took 0.048627 seconds and 5 git commands to generate.