Most of the problems looks to be fixed

There are some problems pending working with SSL

I needed to patch some files

http://qpid.2158936.n2.nabble.com/Questions-regarding-Qpid-C-windows-client-tp7220897p7304738.html

After trying with different mingw32 versions, I've solved the problem
modifying

On sspi.h 

Commenting... 
//SECURITY_STATUS WINAPI ApplyControlTokenA(PCtxtHandle,PSecBufferDesc); 
//SECURITY_STATUS WINAPI ApplyControlTokenW(PCtxtHandle,PSecBufferDesc); 


Adding instead... 
SECURITY_STATUS WINAPI ApplyControlToken(PCtxtHandle,PSecBufferDesc); 


I also had to modify the SslAsyncIO.cpp adding these macros 


#define SecInvalidateHandle(x) do { \ 
 ((PSecHandle)(x))->dwLower = ((ULONG_PTR)((INT_PTR)-1)); \ 
 ((PSecHandle)(x))->dwUpper = ((ULONG_PTR)((INT_PTR)-1)); \ 
 } while (0) 

#define SecIsValidHandle(x) \ 
 ((((PSecHandle)(x))->dwLower != ((ULONG_PTR)(INT_PTR)-1)) && \ 
 (((PSecHandle)(x))->dwUpper != ((ULONG_PTR)(INT_PTR)-1))) 

#define SEC_I_CONTEXT_EXPIRED                             
_HRESULT_TYPEDEF_(0x00090317L) 


Great job, thanks a lot

--
View this message in context: 
http://qpid.2158936.n2.nabble.com/RE-patches-for-mingw32-tp7302157p7327288.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to