You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by joseluis <jl...@gmail.com> on 2012/02/29 00:27:56 UTC
compiling qpid ming32 with ssl
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)
Commenting...
//SECURITY_STATUS WINAPI ApplyControlTokenA(PCtxtHandle,PSecBufferDesc);
//SECURITY_STATUS WINAPI ApplyControlTokenW(PCtxtHandle,PSecBufferDesc);
Adding...
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)
It's working great
thanks
--
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