[openssl.org #318] ssl installation error msg
My first reaction was to tell you that you need to update your development environment, but I may be wrong, it's entirely possible that something gets defined that disturbs it. Unfortunately, since we haven't heard about this from anywhere else, it's possible that your environment is different enough that we have no chance of resolving this without your help. I'm willing to give it a shot... I need some information: it's pretty obvious you're doing this on some Unix system. However, we need to know which one. Also, from the looks of it, you're building OpenSSL 0.9.6. How about trying a newer version, like 0.9.6g? If that doesn't helps, I can investigate further. [[EMAIL PROTECTED] - Fri Oct 25 09:17:35 2002]: This is error message getting while make. [...] making all in crypto/rand... cc -I.. -I../../include -O -c md_rand.c /usr/include/iso/stdlib_iso.h, line 116: syntax error before or at: unsigned /usr/include/iso/stdlib_iso.h, line 116: syntax error before or at: ) /usr/include/iso/stdlib_iso.h, line 116: warning: old-style declaration; add int /usr/include/iso/stdlib_iso.h, line 116: warning: identifier redeclared: strtol /usr/include/iso/stdlib_iso.h, line 116: syntax error before or at: char /usr/include/iso/stdlib_iso.h, line 116: syntax error before or at: ) /usr/include/iso/stdlib_iso.h, line 116: warning: syntax error: empty declaration cc: acomp failed for md_rand.c -- Richard Levitte __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #320] Bug Report
Is this still an issue? If it is, do you have the possibility and knowledge to help us debug it? I just tried that command with your openssl.txt as configuration file, and I had no problems, but that was on Linux... [[EMAIL PROTECTED] - Mon Oct 28 20:54:24 2002]: Runtime bug with req command. openssl version 9.6-G Compiled using gcc-2.95.2 platform: Windows 2000 Professional. All installation tests pass successfully. run this command: openssl req -new -x509 -days 36500 -key MyCA.key -out MyCA.crt -config openssl.txt get this error message: openssl.exe - Application Error The instruction at 0x0046f86a referenced memory at 0x. The memory could not be read. Click on OK to terminate the program Click on Cancel to debug the program Attached are the files: MyCA.key openssl.txt -- Joe Garfunkel Chief Information Officer, Sai People Solutions, Inc. (formerly Sai Software Consultants, Inc.) Email:mailto:JGarfunkel;saipeople.com Phone:281-358-1858 x-245 Fax: 281-358-2560 Web: http://www.saipeople.com Internal: 01-245 -- Richard Levitte __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #322] About RSA_check_key
[guest - Wed Oct 30 18:35:34 2002]: Hi: I want to check my own RSA Key Pair. But I just have : public modulus public exponent private exponent How can I calculate its p and q. Because the RSA_check_key function does not work on RSA public keys that have only the modulus and public exponent elements populated. It performs integrity checks on all the RSA key material, so the RSA key structure must contain all the private key data too. Correct. Or what method can let me check this key pair? What exactly do you want to check? With the information, all you can really check is that a plaintext that you encrypt with the public part can be decrypted with the private part and vice versa, so you probably want to use the encryption and signing functions on some plaintext, decryption and verification functions on the results, and do some comparison. I'm not sure we can do more for you at this time, so unless you have more to say on this subject, I'll resolve this ticket. -- Richard Levitte __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #325] Open SSL on Bug on Win32
In message [EMAIL PROTECTED] on Thu, 31 Oct 2002 22:45:26 +0100 (MET), [EMAIL PROTECTED] via RT [EMAIL PROTECTED] said: rt I would like to use your Open SSL 0.9.6 for web project for security rt purpose.. rt These are the Steps we did. rt rt 1) Downloaded the files( openssl-engine-0.9.6g.tar.gz and rt openssl-0.9.6g.tar.gz ) from http://www.openssl.org/source/ rt 2) Unzipped using Win Ace2.1 rt 3) Installed Perl from http://www.activestate.com/ActivePerl rt 4) Run Configure: [...] rt E:\FMADocs\openssl-engine-0.9.6gC:\Program Files\Microsoft Visual rt Studio .Net\ rt VC7\bin\NMAKE -f ms\ntdll.mak rt rt OutPut(last few lines): rt rt nul rt .\apps\testdsa.h rt 1 個のファイルをコピーしました。 rt copy nul+ .\apps\testrsa.h tmp32\testrsa.h rt nul rt .\apps\testrsa.h rt 1 個のファイルをコピーしました。 rt cl /Fotmp32\cryptlib.obj -Iinc32 -Itmp32 /MD /W3 /WX /G5 /Ox rt /O2 /Ob2 / rt Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 rt -DWINNT rt /Fdout32 -c .\crypto\cryptlib.c rt 'cl' は、内部コマンドまたは外部コマンド、 rt 操作可能なプログラムまたはバッチ ファイルとして認識されていません。 rt rt (This message is displayed in Japanese, but translated into english i.e., rt Internal command or external command or program or batch file of cl rt program is not recognize) What about trying to do the following before running nmake: C:\Program Files\Microsoft Visual Studio .Net\VC7\bin\VCVARS32 If this doesn't work, look in C:\Program Files\Microsoft Visual Studio .Net\VC7\bin for any .BAT file that sets up an environment for you. You need that for CMD to be able to find the compiler (cl.exe). Please tell us if that solved it for you, and if the correct .BAT file was something else than VCVARS32.BAT, please tell us so we can mention that in our documentation. -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See http://www.stacken.kth.se/~levitte/mail/ for more info. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #322] About RSA_check_key
Hi Richard : Thanks for your answer. As you say, I can compare a plaintext with original and decrypted a signed message to make sure those RSA key pair which I owned are correct. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
D2i_RSA_PUBKEY vs. d2i_RSAPublicKey
Why do the RSA-related command interfaces write public keys in the X509 ASN1 format instead of the vanilla RSA ASN1 format defined by d2i_RSAPublicKey etc? __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
RE: Windows CE Patch for OpenSSL 0.9.6g
Hi Martin, I'm a few days away from submitting my patch. It looks like we've done quite similar work which I guess isn't surprising since we've both had to plug the holes in the Windows CE CRT implementation. My approach differs in that I've seperated out this compatibility layer into a seperate library since it will be generally useful to other Windows CE development projects. I've also used the makefiles instead of VC project files. The compatibility layer that I've done goes futher, being general purpose, and allow piping between processes. I've used this to enable automated tests similar to the current Win32 openssl tests. It even allows you to invoke the openssl command-line utility on the device from the desktop and use it as you would the a native Win32 version. Regards, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:owner-openssl-dev;openssl.org]On Behalf Of Martin Erdrich Sent: Wednesday, 6 November 2002 12:52 AM To: [EMAIL PROTECTED] Subject: Windows CE Patch for OpenSSL 0.9.6g Here's a patch that allows OpenSSL to be compiled for Windows CE: - apply the patch to Version 0.9.6g. - runperl Configure VC-WIN32 , ms\do_ms.bat , nmake /f ms\do_nt.mak as usual - the subdirectory wce contains several embedded Visual C++ project files to build dll's and static libraries. The static libraries a trimmed to minimum size with several new NO_XYZ #defines Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Windows CE Patch for OpenSSL 0.9.6g
In message [EMAIL PROTECTED] on Tue, 5 Nov 2002 14:51:56 +0100, Martin Erdrich [EMAIL PROTECTED] said: martin_erdrich Here's a patch that allows OpenSSL to be compiled for martin_erdrich Windows CE: [...] martin_erdrich - the subdirectory wce contains several embedded martin_erdrich Visual C++ project files to build dll's and static martin_erdrich libraries. The static libraries a trimmed to minimum martin_erdrich size with several new NO_XYZ #defines I noticed those defines. Most of them make sense, but NO_CRL? I'll take a look at it when I have some time. -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See http://www.stacken.kth.se/~levitte/mail/ for more info. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Windows CE Patch for OpenSSL 0.9.6g
In message [EMAIL PROTECTED] on Wed, 6 Nov 2002 01:45:57 +1100, Steven Reddie [EMAIL PROTECTED] said: smr I'm a few days away from submitting my patch. It looks like smr we've done quite similar work which I guess isn't surprising smr since we've both had to plug the holes in the Windows CE CRT smr implementation. My approach differs in that I've seperated out smr this compatibility layer into a seperate library since it will be smr generally useful to other Windows CE development projects. [...] I'd appreciate it if my response to Martin didn't discourage you from contributing your patch. -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis-- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See http://www.stacken.kth.se/~levitte/mail/ for more info. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Compiling for Windows
Hi, I am trying to compile for Windows 2000 using VC6. When linking I am having the following error: evp_test.obj : error : unresolved external symbol _strsep Any ideas ? Daniel. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
SSL_pending() clarification/Arbitrary Length Messages?
Okay, so I need a bit of help. I have read through a bunch of documentation/examples, but I haven't really found a clear answer. How can I use blocking IO with SSL_read/SSL_write to form a concept of an arbitrary length message (preferably without a set terminator of some sort)? For instance, can anyone point me to an example where the client writes an arbitrary length string to a server, and the server echos it back to the client say 1000 times? Or is this not possible? do I have to terminate my messages somehow (so I can parse for that terminator), or even set a specific message size or something? Thanks in advance! Nate Yocom __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]