Two phases compilation

2014-06-06 Thread dcruette
Hello I work on source code injection, for roughness purposes. Is it possible to adapt the Configure tool in order to - first execute the preprocessing stage (macro expand and source code generation) like gcc -E - execute some custom source code manipulation (free/malloc enhance, array bound

ws2tcip.h not compatible with winsock.h

2014-06-07 Thread dcruette
Hello On a windows 7 / gcc-for-windows configuration the command ms/mingw32 fails : In file included from tmp/e_os.h:282:0 from .\ssl\ssl_locl.h:150 from .\ssl\t1_lib.c:118 In file gcc-for-windows\include\ws2tcpip.h:38:2 erreor #error w2tcpip.h is not compatible

ms/mingw32 gcc -mcpu is deprecated warning

2014-06-07 Thread dcruette
Hello I try to compile openssl - OS : windows 7 - compiler : gcc-for-windows (mingw32) With the ms/mingw32 -no-asm command, I get a gcc warning : '-mcpu=' is deprecated, use '-mtune=' or '-march=' instead The Configure file seems correct for mingw32 : mingw, gcc:-mno-cygwin -DL_ENDIAN

Re: openssl-testing mailing list

2014-06-07 Thread dcruette
Hello Mike I work on / provide custom tools, based on source code analysis, that can help in - generating autotest test suites according to each function signature : random / full combinatory of argument values : to check the function robustness wide loops : to check memory

NPE on malloc in ssl/d1_both.c, ssl/s3_enc.c, ssl/sll_ciph.c, ssl/ssl_sess.c, ssl/t1_lib.c

2014-06-10 Thread dcruette
Hello In version openssl-1.0.h In case of malloc error, the buffer is not tested here In ssl/d1_both.c int dtls1_process_heartbeat(SSL *s) { . /* Allocate memory for the response, size is 1 byte * message type, plus 2 bytes payload length, plus

Re: NPE on malloc in ssl/d1_both.c, ssl/s3_enc.c, ssl/sll_ciph.c, ssl/ssl_sess.c, ssl/t1_lib.c

2014-06-12 Thread dcruette
Thanks Kurt I found ssl/t1_lib.c but not ssl/d1_both.c, ssl/s3_enc.c, ssl/sll_ciph.c, ssl/ssl_sess.c in pull request #131 Didier Le 10.06.2014 23:49, Kurt Roeckx a écrit : On Tue, Jun 10, 2014 at 11:29:02PM +0200, dcrue...@qualitesys.com wrote: Hello In version openssl-1.0.h In case of

Re: NPE on malloc in ssl/d1_both.c, ssl/s3_enc.c, ssl/sll_ciph.c, ssl/ssl_sess.c, ssl/t1_lib.c

2014-06-14 Thread dcruette
Kurt Well I am not a C expert, for the moment I'll leave the development team do this ! Didier Le 14.06.2014 00:51, Kurt Roeckx a écrit : On Thu, Jun 12, 2014 at 08:05:52PM +0200, dcrue...@qualitesys.com wrote: Thanks Kurt I found ssl/t1_lib.c but not ssl/d1_both.c, ssl/s3_enc.c,

Windows patchs in distribution

2014-06-14 Thread dcruette
Hello Concerning windows implementations built with gcc-for-windows, I suggest - to remove the ms/mingw32.bat from the openssl-1.x.y-stable snapshots since it is deprecated : not present in openssl-SNAP-xxx) - in the INSTALL.W32 text file : change line 150 (and 199) and 161 : replace $

Windows : bug ssl/s3_pkt.c:647 and apps/speed.c and apps/s_socket.c

2014-06-14 Thread dcruette
Hello Since openssl-SNAP-20140613, for windows configuration A bug in ssl/s3_pkt.c:647 'INT_MAX' undeclared (first use in this function) OPENSSL_assert(s-s3-wnum=INT_MAX); A bug in apps/speed.c:318 format '%d' expects arguments of type 'int', but argument 3 has type DWORD' [-Wformat=] A

Re: Missing limits.h in s3_pkt.c

2014-06-22 Thread dcruette
It is ok in openssl-1.0.0-stable-SNAP-20140622 ok in openssl-1.0.1-stable-SNAP-20140622 ko in openssl-1.0.2-stable-SNAP-20140622 ko in openssl-SNAP-20140622 I don't realy understand how the merges are done betwween versions Didier Le 22.06.2014 12:31, Kurt Roeckx a écrit : On Sun, Jun 22, 2014

Re: Missing limits.h in s3_pkt.c

2014-06-23 Thread dcruette
I confirm all is ok in 20140623 snapshots Didier Le 22.06.2014 20:20, Kurt Roeckx a écrit : On Sun, Jun 22, 2014 at 03:58:03PM +0200, dcrue...@qualitesys.com wrote: ok in openssl-1.0.0-stable-SNAP-20140622 ok in openssl-1.0.1-stable-SNAP-20140622 ko in openssl-1.0.2-stable-SNAP-20140622 ko in

Windows mingw status for snapshot-20140624

2014-06-24 Thread dcruette
Hello For your info on a windows / mingw configuration openssl-1.0.1-stable-SNAP-20140624 make ok make test ok openssl-1.0.2-stable-SNAP-20140624 make ok make test ok openssl-SNAP-20140624 make ko in apps/speed.c:318:4 warning: format '%d' expects argument of type

Re: Do *you* know about Mingw and/or DJGPP?

2014-07-01 Thread dcruette
Hello Rich I just need to build a windows version of openssl, I just work with mingw to test a new autotest (source code test generation) approach. If for some reason the distrib is to be abandonned, let me know, I'll change, no pb. Thanks Le 01.07.2014 05:24, Salz, Rich a écrit :

Re: Windows mingw status for snapshot-20140630 is KO

2014-07-01 Thread dcruette
Hi I use a WIndows Mingw config, with default parameters perl .\Configure mingw make depend make make tests Nothing special, in fact. The make command fails with the errors below The snapshots for versions 1.0.x are ok but not openssl-SNAP-20140630 I really don't understand why Bye Le

Windows mingw status for snapshot-20140703 OK

2014-07-03 Thread dcruette
Hello Status for snapshot-20140703 perl .\Configure mingw : Ok make depend : Ok make speed.c:318:4 format '%d' expect 'int' but DWORD bntest.c:1949:5 format '%d' expect 'long int' but 'unsigned int' global make Ok Didier

crypto/ui/ui_lib.c

2014-07-08 Thread dcruette
Hello Seems to be a typo error in crypto/ui/ui_lib.c:919 Present in openssl-SNAP-20140703 Compilation is Ok but switch/case/default structure error This portion case UIT_BOOLEAN: { const char *p; if (!uis-result_buf)

Re: Unit Testing/statically analysing OpenSSL

2014-07-09 Thread dcruette
I'm also on the way to create unit tests on the source code basis I'm stuck for the moment on controling the Windows/mingw compile / test process, quite long I must admit ! I'll make feedback as soon as good news are available ! Didier CRUETTE QualiteSys Le 09.07.2014 15:56, Mike Bland a

Re: Unit Testing/statically analysing OpenSSL

2014-07-09 Thread dcruette
Ideally to, making a Jenkins CI up and running feed by the nightly Snapshoots would be a good start, with a Linux distrib and a Windows distrib for a start. I could afterwards provide you my custom C/C++ maven sonar plugin (for free for Openssl) for static source code audit. And at last (not

struct _finddatai64_t missinf in apps.c

2014-07-14 Thread dcruette
Hello In version openssl-SNAP-20140702 In a windows mingw gcc standard config, struct _finddatai64_t definition is missing in apps.c Didier CRUETTE __ OpenSSL Project http://www.openssl.org

struct _finddatai64_t missinf in apps.c

2014-07-14 Thread dcruette
Hello In version openssl-SNAP-20140712 In a windows mingw gcc standard config, struct _finddatai64_t definition is missing in apps.c Didier CRUETTE __ OpenSSL Project http://www.openssl.org

Re: struct _finddatai64_t missinf in apps.c

2014-07-14 Thread dcruette
Hello Peter I'll have a try with the newest version Thanks Didier Le 14.07.2014 13:19, Peter Mosmans a écrit : Hi Didier, Have you tried the most recent source from the official repositories (eg. github) ? Commit f8571ce82 ? The master branch compiles without issues for me on mingw as well

Jenkins CI config question

2014-08-01 Thread dcruette
Hello Openssl team I have managed to make Jenkins CI up and running on various config (Linux and Windows) For the moment -Linux Ubuntu 12.04 32 bits -Linux Rasberrypi 3.12.22 -Windows 7 Family edition Run openssl make + make depend + make test with -for linux standard ./config -for linux

windows compile failure

2014-08-01 Thread dcruette
Hello On the openssl-SNAP-20140801 branch on windows, ./Configure gcc standard build In file included from ../e_os.h:283:0, from ssl_locl.h:150, from t1_lib.c:122: d:\logicieldebaseqcr\gcc-for-windows\include\ws2tcpip.h:38:2: error: #error ws2tcpip.h is not

Re: windows compile failure

2014-08-02 Thread dcruette
I give up gcc On windows, I use ./Configure mingw Le 01.08.2014 17:47, dcrue...@qualitesys.com a écrit : Hello On the openssl-SNAP-20140801 branch on windows, ./Configure gcc standard build In file included from ../e_os.h:283:0, from ssl_locl.h:150, from

Re: Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread dcruette
Hi Gisle I contribute to the openssl-testing group by providing regular results of compilation/test for various platforms (Linux Ubuntu 32b i386, Linux Raspberry ARM, Windows 7 32b i386, may be OpenBSD Raspberry ARM in the future) Could someone communicate on the - must have (pre requisite for

Re: [PATCH] Make openssl 1.0.1 compilable on MinGW

2014-08-10 Thread dcruette
Hi In a previous post, I have seen that ms/mingw32 is deprecated (is removed from main snapshot) I confirm that perl Configure mingw make depend make make test is ok for openssl-SNAP-20140808 on windows 7 Regards Didier CRUETTE Le 10.08.2014 17:09, Support a écrit : Hi Linda, Have you

configure failure

2014-10-11 Thread dcruette
Hi On the current branch openssl-SNAP-20141011 perl ./Configure mingw -E -no-asm failure on : md4.h = ../../include/openssl/md4.h md4test.c = ../../test/md4test.c Can't open md4.c: No such file or directory at ../../util/mklink.pl line 62. Didier

Re: [openssl-dev] Continuous Integration for OpenSSL

2015-08-21 Thread dcruette
Hello the OpenSsl team I managed to setup a Jenkins CI engine with this configuration: - Jenkins engine run on Windows7 - Jenkins slaves run on Windows7 for Amd with Mingw/gcc - Jenkins slave run on Ubuntu Linux for Intel with gcc - Jenkins slave run on Raspberry PI Linux for Arm with

[openssl-dev] Test failure for windows mingw

2015-08-24 Thread dcruette
Hello On the openssl-SNAP-20150824 daily snapshot on Windows Mingw config, I have a build failure : @@@ START test_ec -- private ec testing ec private conversions p - d read EC key writing EC key p - p read EC key writing EC key d - d read EC key unable to load Key

[openssl-dev] Make under windows

2016-05-04 Thread dcruette
Hi I used to compile and test the daily tarball under jenkins CI successfully, under windows, perl, mingw. I am facing a new issue. The make depend command runs fine. The make command fails, the \ character seams to be removed. Could you help me ? Thanks Didier

Re: [openssl-dev] Make under windows

2016-05-06 Thread dcruette
Hello I am not expert of those tool configurations / installations. Is it possible to update the INSTALL file for windows + mingw ? Thanks for your help. Didier Le 05.05.2016 09:54, Andy Polyakov a écrit : If you configure for mingw, you need to do so from inside a MSYS/MingW shell. If you