problem with openssl-0.9.7-beta1 mkdef.pl

2002-06-04 Thread Alex Collado
Hi, I have winnt 4.0 sp6a , vc++ 6 and NASM version 0.98 When I execute ms\do_nasm I have the following errors: D:\proyecto\sw\openssl\openssl-0.9.7-beta1perl util\mkdef.pl 16 libeay 1ms\libeay16.def Warning: EVP_aes_128_cfb does not have a number assigned Warning: EVP_aes_128_ofb does not

Memleak in libcrypto

2002-06-04 Thread Giudicelli Frédéric
There is a memleak in libcrypto: 1) In crypto/asn1/tasn_new.c:149 in function asn1_item_ex_combine_new *pval is never freed, it should be freed at v3_conf:166 in function do_ext_nconf, it seems like the it associated function does not do the job properly: This problem shows up for an extension

[PATCH] config gcc 3.1

2002-06-04 Thread Ralf S. Engelschall
GCC 3.1 and higher output different syntax on option --version: | $ gcc-3.0.4 --version | 3.0.4 | $ gcc-3.1 --version | gcc (GCC) 3.1 | Copyright (C) 2002 Free Software Foundation, Inc. | This is free software; see the source for copying conditions. There is NO | warranty; not even for

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-04 Thread Praveen Dulam
Lutz thanks . Your guess is right. I tried with error option and I got this printed. RSA key error: PRNG not seeded This is my simple code. could not find out documentation on how to seed PRNG. Here is my test program. == int genarateKeys() { RSA *rsa,

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-04 Thread Bill Pringlemeir
Praveen Lutz thanks . Your guess is right. I tried with error option Praveen and I got this printed. Praveen RSA key error: PRNG not seeded You must modify rand_win32.c or whatever you are using to seed the PRNG. This is found at the end of the file. I have written a DEV_RANDOM for

Re: Prime number returns NULL ( BN_generate_prime)

2002-06-04 Thread Bill Pringlemeir
Bill == Bill Pringlemeir [EMAIL PROTECTED] writes: Praveen Lutz thanks . Your guess is right. I tried with error option Praveen and I got this printed. Praveen RSA key error: PRNG not seeded [snip] Bill the function `bitShaker' and my simple RNG for default data Bill [providing it is

[openssl.org #73] make failing under MAC OS X (darwin)

2002-06-04 Thread Michaël Dumez via RT
cc -o openssl -DMONOLITH -I../include -fPIC -DTHREADS -D_REENTRANT -O3 -D_DARWIN -DB_ENDIAN openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o

[openssl.org #74] problem with openssl-0.9.7-beta1 mkdef.pl

2002-06-04 Thread
Hi, I have winnt 4.0 sp6a , vc++ 6 and NASM version 0.98 When I execute ms\do_nasm I have the following errors: D:\proyecto\sw\openssl\openssl-0.9.7-beta1perl util\mkdef.pl 16 libeay 1ms\libeay16.def Warning: EVP_aes_128_cfb does not have a number assigned Warning: EVP_aes_128_ofb does not

[openssl.org #68] config gcc 3.1

2002-06-04 Thread \\ Ralf S.Engelschall \ via RT\
GCC 3.1 and higher output different syntax on option --version: | $ gcc-3.0.4 --version | 3.0.4 | $ gcc-3.1 --version | gcc (GCC) 3.1 | Copyright (C) 2002 Free Software Foundation, Inc. | This is free software; see the source for copying conditions. There is NO | warranty; not even for

[openssl.org #76] Cygwin problems with 0.9.7

2002-06-04 Thread [EMAIL PROTECTED] via RT
Building 0.9.7 (snapshot from June 1) with Cygwin led to several warnings during compilation related to the assembly code now included by default. Despite the warnings, it passed the tests in make test. Does something need to get fixed? These warnings under Cygwin's port of GCC were errors under

[openssl.org #75] DJGPP (DOS) Patch for 0.9.7

2002-06-04 Thread [EMAIL PROTECTED] via RT
Here is a slightly redone patch so that openssl-0.9.7 compiles under DJGPP. This is against the June 1 snapshot. I removed the part of the patch relating to Cygwin, since the Cygwin settings in Configure have now changed. This configures, builds, and does make test without problem, except for

[openssl.org #77] Openssl 0.9.6d coredumps

2002-06-04 Thread Jarmo Järvenpää via RT
Hi all, I've tried to use the following certificate and private key to sign my own requested certificate but for some reason, openssl coredumps. Coredumps occur also when trying to obtain information from private key (with commands like pkcs8, rsa). Any idea why this is happening? (I can

[openssl.org #78] Memleak in libcrypto

2002-06-04 Thread Giudicelli Frédéric via RT
There is a memleak in libcrypto: 1) In crypto/asn1/tasn_new.c:149 in function asn1_item_ex_combine_new *pval is never freed, it should be freed at v3_conf:166 in function do_ext_nconf, it seems like the it associated function does not do the job properly: This problem shows up for an

cpp0 cannot allocate ...

2002-06-04 Thread Satria Bakti (13297096)
Hi, I'm working on AES code in openssl. After some modifications on AES code, I tried to compile it using 'make' command, but it failed. Here's the message : cpp0 cannot allocate 56915764 bytes after allocating 481876 bytes I'm using i585 166Mhz machine, gcc-2.96, running on Linux 2.4.2-2.

Re: cpp0 cannot allocate ...

2002-06-04 Thread Lutz Jaenicke
On Wed, Jun 05, 2002 at 02:31:35AM +0700, Satria Bakti (13297096) wrote: I'm working on AES code in openssl. After some modifications on AES code, I tried to compile it using 'make' command, but it failed. Here's the message : cpp0 cannot allocate 56915764 bytes after allocating 481876

[openssl.org #68] OpenSSL 0.9.7 beta1: gcc version check broken for gcc 3.1

2002-06-04 Thread Richard Levitte via RT
Change commited. -- Richard Levitte [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager

[openssl.org #78] Memleak in libcrypto

2002-06-04 Thread Richard Levitte via RT
Sorry, I fail to see the problem here. As far as I understand the code, *pval points at the ASN.1 blob that is the result of parsing the attribute string you're citing. Surely you don't want that to be freed before you even got to use it, do you? Or do I misunderstand something here?

[openssl.org #64] can't compile demos/maurice/loadkeys.c

2002-06-04 Thread Richard Levitte via RT
The fix is to add an extra NULL argument at the end of the argument list in both places where this error occurs. I've just commited a patch, so the above fix will be present in 0.9.6e. [[EMAIL PROTECTED] - Fri May 31 09:32:25 2002]: I've just installed openssl-0.9.6c on Linux, and I'm

RE: [openssl.org #77] Openssl 0.9.6d coredumps

2002-06-04 Thread Robert Eiglmaier
Hi Jarmo, how did you generate your private key? When I asn1parse it it looks very different from my openssl generated. First it has an AlgorithmIdentifier (rsaEncryption) where mine doesn't have one. And then it only has 6 integers (probably Modulus, pubKey, privKey, exp1, exp2 and coeff) where

RE: [openssl.org #64] can't compile demos/maurice/loadkeys.c

2002-06-04 Thread Judith Retief via RT
Thanks for the quick response! Judith -Original Message- From: Richard Levitte via RT [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:23 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [openssl.org #64] can't compile demos/maurice/loadkeys.c The fix is to add

[openssl.org #70] [Fwd: Bug#144586: libssl-dev: Typo in BN_rand(3ssl) man page]

2002-06-04 Thread Richard Levitte via RT
BN_pseudo_rand_range() was given in the synopsis exactly as you requested, since 0.9.6c (or at least, that's what I can make out by checking with our repository). I must say that I have some difficulty doing anything with this report because of that... -- Richard Levitte [EMAIL PROTECTED]