Dr. Henson:
I applied your recommendations and still received the same errors. attached are the source and error files. Regards, William Johnston ----- Original Message ----- From: "Dr S N Henson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 9:56 PM Subject: Re: win32 compile > William Johnston wrote: > > > > openssl-users: > > > > Yes. I found wincrypt.h. > > > > The only errors I am receiving are for the > > declaration of the variable named X509_NAME > > in <openssl/pem.h> (line 51). > > > > typedef struct pem_recip_st > > { > > char *name; > > X509_NAME *dn; > > > > int cipher; > > int key_enc; > > char iv[8]; > > } PEM_USER; > > > > X509_NAME is defined in <wincrypt.h> (line 1575) as a string pointer, > > namely: > > > > #define X509_NAME ((LPCSTR) 7) > > > > Any suggestions? > > > > Under what circumstances do you get that error? Its a known issue. It > should be handled by the x509.h file if its included after wincrypt.h > and the symbol WIN32 is defined. > > Steve. > -- > Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/ > Personal Email: [EMAIL PROTECTED] > Senior crypto engineer, Gemplus: http://www.gemplus.com/ > Core developer of the OpenSSL project: http://www.openssl.org/ > Business Email: [EMAIL PROTECTED] PGP key: via homepage. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] >
Compiling... bio_ssl.c e:\program files\microsoft visual studio\vc98\include\openssl\pem.h(156) : error C2059: syntax error : '(' e:\program files\microsoft visual studio\vc98\include\openssl\pem.h(161) : error C2059: syntax error : '}' e:\program files\microsoft visual studio\vc98\include\openssl\pem.h(179) : error C2061: syntax error : identifier 'PEM_USER' e:\program files\microsoft visual studio\vc98\include\openssl\pem.h(182) : error C2143: syntax error : missing '{' before '*' e:\program files\microsoft visual studio\vc98\include\openssl\pem.h(198) : warning C4142: benign redefinition of type e:\program files\microsoft visual studio\vc98\include\openssl\pem.h(204) : error C2059: syntax error : '}'
pem.h
Description: Binary data