qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joseluis <jleah...@gmail.com>
Subject compiling qpid ming32 with ssl
Date Tue, 28 Feb 2012 23:27:56 GMT
I've compiled qpid with mingw32 on windows and ssl
gcc version of mingw32  4.4

I had to apply next modifications on mingw32 and qpid files

I had to modify the file sspi.h  (mingw32 file)

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

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                             

It's working great


View this message in context: http://qpid.2158936.n2.nabble.com/compiling-qpid-ming32-with-ssl-tp7327353p7327353.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:users-subscribe@qpid.apache.org

View raw message