Static build of openssl on windows with zlib

2006-03-29 Thread Steve doh
Hi, I have a static build of openssl 0.9.7.g I want to add zlib compression but not dynamically loaded at runtime. Is it possible to statically link zlib into the openssl build? If yes, what configure options do you use? I have tried: perl configure VC-WIN32 no-engine threads no-shared zlib no-ide

RE: struct problem

2006-03-29 Thread David Schwartz
> Thank! > but how can I use EVP_get_cipherbyname(const char *name);? > > ciphers[0].cipher = EVP_get_cipherbyname("BLABLABLABLA"); > perror("EVP_get_cipherbyname()"); > > ./evp > EVP_get_cipherbyname(): Success > > And always: success :-) but doesn't work. Why are you calling 'perror'?

mactel install?

2006-03-29 Thread John Russell
./Configure darwin-i386-cc --prefix=/usr/webtools05/apache2 -- openssldir=/usr/webtools05/apache2/ Install on mac (intel) fails with collect2: ld returned 1 exit status make[2]: *** [link_app.] Error 1 make[1]: *** [openssl] Error 2 make: *** [build_apps] Error 1 This is the recommended way f

Re: struct problem

2006-03-29 Thread Dr. Stephen Henson
On Wed, Mar 29, 2006, Nagy Zoltn Mrk wrote: > ohh sorry... > in the last example: > but, if i use: > { > const EVP_CIPHER *c; > c = EVP_get_cipherbyname("aes-128-cbc"); > EVP_EncryptInit(&ctx, c, key, NULL); > } > doesn't work > (segmentation fault) > Check to see if "c" is NULL before using it.

Re: struct problem

2006-03-29 Thread Nagy Zoltán Márk
ohh sorry... in the last example: but, if i use: { const EVP_CIPHER *c; c = EVP_get_cipherbyname("aes-128-cbc"); EVP_EncryptInit(&ctx, c, key, NULL); } doesn't work (segmentation fault) mark > hi! > > if i use: > { > EVP_EncryptInit(&ctx, EVP_aes_128_cbc(), key, NULL); > } > is work > > if i use:

Re: struct problem

2006-03-29 Thread Nagy Zoltán Márk
hi! if i use: { EVP_EncryptInit(&ctx, EVP_aes_128_cbc(), key, NULL); } is work if i use: { const EVP_CIPHER *c; c = EVP_aes_128_cbc(); EVP_EncryptInit(&ctx, c, key, NULL); } is work but, if i use: { const EVP_CIPHER *c; c = EVP_get_cipherbyname("aes-128-cbc"); EVP_EncryptInit(&ctx, EVP_aes_128_c

Re: struct problem

2006-03-29 Thread Nagy Zoltán Márk
Thank! but how can I use EVP_get_cipherbyname(const char *name);? ciphers[0].cipher = EVP_get_cipherbyname("BLABLABLABLA"); perror("EVP_get_cipherbyname()"); ./evp EVP_get_cipherbyname(): Success And always: success :-) but doesn't work. King regards, mark > That wont work in many cases beca

Re: 2nd Request for help Blackberry 7520 and failed in SSLv3 read client certificate A

2006-03-29 Thread Dr. Stephen Henson
On Wed, Mar 29, 2006, David Gianndrea wrote: > I'm sure everyone is real busy like me, but if some one could explain > this error im getting, and suggest how I could trouble shoot it more > I would be great full! > > Dr. Henson, have you a few minutes to spare a lost admin? > > Not really, I'

Re: struct problem

2006-03-29 Thread Dr. Stephen Henson
On Wed, Mar 29, 2006, Nagy Zoltn Mrk wrote: > Dear all > > I would like to create a data structure in C. > Below you can see what I have created, but it doesn't work correctly. > My question is: why doesn't initialised EVP_aes_128_cbc() into cipher? > > #define ORANGE 0xffa500 > > struct cipher

Re: struct problem

2006-03-29 Thread Nagy Zoltán Márk
no no no...name and description working correctly.struct ciphers_name ciphers[] ={   { "aes128cbc","AES 128bit CBC",EVP_aes_128_cbc(),ORANGE}};EVP_aes_128_cbc() not working correctly, but i dont known why? mark The unsigned char *name and *description are pointers, not storage arrays. For this to w

Re: 2nd Request for help Blackberry 7520 and failed in SSLv3 read client certificate A

2006-03-29 Thread Christopher Fowler
On Wed, 2006-03-29 at 11:19 -0500, David Gianndrea wrote: > Dr. Henson, have you a few minutes to spare a lost admin? There is one way to get the attention of those who know to stop what they are doing and spend cycles on your issue. That way is PayPal Many of us on this list are very busy a

2nd Request for help Blackberry 7520 and failed in SSLv3 read client certificate A

2006-03-29 Thread David Gianndrea
I'm sure everyone is real busy like me, but if some one could explain this error im getting, and suggest how I could trouble shoot it more I would be great full! Dr. Henson, have you a few minutes to spare a lost admin? David Gianndrea Senior Network Engineer Comsquared Systems, Inc. Email:

RE: Errors when coding X509 attributes - help needed

2006-03-29 Thread Daniel Díaz Sánchez
Hello, I am still developing an attribute certificates module for OpenSSL, I solved the problem of the attribute "policyAuthority": everything solved using GENERAL_NAME instead of GENERAL_NAMES. Now I have a couple of questions concerning "clearance" attributes and enumerated. 1.- The definitio

Re: struct problem

2006-03-29 Thread Steve . Pauly
The unsigned char *name and *description are pointers, not storage arrays. For this to work, you would need: struct ciphers_name {   unsigned char name[NAME_LEN];   unsigned char description[DESC_LEN];   const EVP_CIPHER *cipher;   unsigned int color; }; Steven Pauly Pitney Bowes GMS [EMAIL

struct problem

2006-03-29 Thread Nagy Zoltán Márk
Dear all I would like to create a data structure in C. Below you can see what I have created, but it doesn't work correctly. My question is: why doesn't initialised EVP_aes_128_cbc() into cipher? #define ORANGE 0xffa500 struct ciphers_name { unsigned char *name; unsigned char *description;

Thank you all !

2006-03-29 Thread Jie Zhang
Hi Everybody, Thank you all very much! Especially Bill's suggestion. I have not get used to this system yet and I am not sure if this reply can reach the system. After I got Bill's suggestion, I tried it combine with the "debug" flavor and it works great. So I replied to thank Bill but it seems

Re: Samples

2006-03-29 Thread Bernhard Froehlich
Vanessa Campos wrote: Hi, I'm starting to use openssl now. Does anyone know where I can find some sample code using openssl (a simple client / server sample) so I could see how it works. I'm tring to read the docs, but it'd be less complicated to me if I could see a real one working. Try htt

Samples - C++

2006-03-29 Thread Vanessa Campos
Hi, I'm starting to use openssl now. Does anyone know where I can find some sample code using openssl (a simple client / server sample) so I could see how it works. I'm tring to read the docs, but it'd be less complicated to me if I could see a real one working. Sorry, I forgot to tell: I'm worki

Samples

2006-03-29 Thread Vanessa Campos
Hi, I'm starting to use openssl now. Does anyone know where I can find some sample code using openssl (a simple client / server sample) so I could see how it works. I'm tring to read the docs, but it'd be less complicated to me if I could see a real one working. Thanks, Vanessa Campos [EMAIL PR

client & server cumminucation problem

2006-03-29 Thread anil kumar dahiya
Hi I have written a client program using openssl  to talk with Gateway (running on i386 machine) I compiled program test.c as below on linux (i386 ) and macos 10.3 (ppc).   gcc   -ansi -DOPENSSL_THREADS -D_REENTRANT -DOPENSSL_NO_KRB5 -O3 -fomit-frame-pointer -fno-common -DL_ENDIAN -Wall   -l

problem in client & server cumminication

2006-03-29 Thread anil kumar dahiya
Hi I have making a client program using openssl  to take with Gateway (running on i386 machine) I compiled program test.c as below on linux (i386 ) and macos 10.3 (ppc).   gcc   -ansi -DOPENSSL_THREADS -D_REENTRANT -DOPENSSL_NO_KRB5 -O3 -fomit-frame-pointer -fno-common -DL_ENDIAN -Wall   -lssl