Use of generic name "STRING" in safestack.h

2009-09-17 Thread Eystein Måløy Stenberg
HI all, I'm using OpenSSL version 1.0.0 beta3 on Windows through MinGW. The reason for using the beta version is that I get errors compiling stable versions (openssl-0.9.8h); "./Configure mingw && make" gives: --- Configured for mingw. making all in crypto... make[1]: Entering directory `/home/Admi

Re: Use of generic name "STRING" in safestack.h

2009-09-17 Thread Dr. Stephen Henson
On Thu, Sep 17, 2009, Eystein Mly Stenberg wrote: > > While in 1.0.0 beta3, everything builds just fine. > However, safestack.h, line 113 says "typedef char *STRING;", which > collides with /mingw/include/ntdef.h, line 35: > typedef struct _STRING { > USHORT Length; > USHORT MaximumLength; >

Re: Use of generic name "STRING" in safestack.h

2009-09-17 Thread Jeffrey Walton
Hi Eystein, > typedef struct _STRING { > USHORT Length; > USHORT MaximumLength; > PCHAR Buffer; > } STRING, *PSTRING; That looks like a UNICODE_STRING (or less commonly LSA_STRING) to me. I don't ever recall seeing Microsoft defining it as a STRING. Perhaps mingw/ntdef.h is the culprit. Jeff

Re: Re: Use of generic name

2009-09-17 Thread carlyoung
> >On Thu 17/09/09 4:37 PM , Jeffrey Walton noloa...@gmail.com sent: >Hi Eystein, > >> typedef struct _STRING { >> USHORT Length; >> USHORT MaximumLength; >> PCHAR Buffer; >> } STRING, *PSTRING; >That looks like a UNICODE_STRING (or less commonly LSA_STRING) to me. >I don't ever recall seeing Micro

Re: TLS extension support

2009-09-17 Thread Daniel Black
On Wednesday 05 August 2009 17:09:54 rajanchittil wrote: > Hi ALL, Hi rajanchittil > I was trying to figure out the TLS extension supported by openssl. I have > gone thorough RFC 3546 (http://www.faqs.org/rfcs/rfc3546.html) .It mentions > 6 TLS extension could look at the updated rfc4366 too >

Re: TLS extension support

2009-09-17 Thread tensy joseph
Hi Daniel, I have gone through tls.h header file and i can see this /* ExtensionType values from RFC 3546 */ #define TLSEXT_TYPE_server_name 0 #define TLSEXT_TYPE_max_fragment_length 1 #define TLSEXT_TYPE_client_certificate_url 2 #define TLSEXT_TYPE_trusted_ca_keys 3 #define TLSEXT_TYPE_trun

Re: TLS extension support

2009-09-17 Thread tensy joseph
Hi Daniel, I have gone through tls.h header file and i can see this /* ExtensionType values from RFC 3546 */ #define TLSEXT_TYPE_server_name 0 #define TLSEXT_TYPE_max_fragment_length 1 #define TLSEXT_TYPE_client_certificate_url 2 #define TLSEXT_TYPE_trusted_ca_keys 3 #define TLSEXT_TYPE_trun

Re: TLS extension support

2009-09-17 Thread Daniel Black
On Friday 18 September 2009 15:29:29 tensy joseph wrote: > but this all extensions are not supported in openssl 9.8k. > I have another query . > > If my server is using older openssl version like 9.8d which does not > support tls extension by default and my client is using openssl 9.8k which > s

Re: ( beginner ) how to send starttls command in smtp protocol ( as in the s_client )

2009-09-17 Thread Daniel Black
On Sunday 09 August 2009 14:47:35 Meir Yanovich wrote: > Hello all > im trying to find the right code ( c++/c) to connect to smtp server using > starttls > i know it can be done using openssl according this tutorial : > http://qmail.jms1.net/test-auth.shtml > i need to translate it to real code . t