[prev in list] [next in list] [prev in thread] [next in thread]
List: openssl-dev
Subject: [patch] djgpp and OPENSSL_ia32cap
From: "Gisle Vanem" <giva () bgnett ! no>
Date: 2004-07-30 21:10:26
Message-ID: 023b01c47679$a2cef8d0$0600000a () broadpark ! no
[Download RAW message or body]
Allthough djgpp isn't Unix, it does have opendir() and friends:
--- ./orig/crypto/o_dir.c Sat Jul 10 15:15:58 2004
+++ ./crypto/o_dir.c Sun Jul 18 20:15:46 2004
@@ -70,7 +70,7 @@
#include "o_dir.h"
#define LPDIR_H
-#if defined OPENSSL_SYS_UNIX
+#if defined OPENSSL_SYS_UNIX || defined DJGPP
#include "LPdir_unix.c"
#elif defined OPENSSL_SYS_VMS
#include "LPdir_vms.c"
-------
And this must be an omission:
--- ./orig/crypto/sha/sha512.c Sun Jul 25 21:00:20 2004
+++ ./crypto/sha/sha512.c Fri Jul 30 16:16:20 2004
@@ -347,7 +347,7 @@
#if defined(OPENSSL_IA32_SSE2) && !defined(OPENSSL_NO_ASM) && !defined(I386_ONLY)
#define GO_FOR_SSE2(ctx,in,num) do { \
- extern int OPENSSL_ia32cap; \
+ extern unsigned long OPENSSL_ia32cap; \
void sha512_block_sse2(void *,const void *,size_t); \
if (!(OPENSSL_ia32cap & (1<<26))) break; \
sha512_block_sse2(ctx->h,in,num); return; \
IMHO, should be put in a header somewhere.
--gv
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic