[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-security-dev
Subject:    RE: Problem with release version (winCAPI)
From:       "Matthias Niggemeier" <m () thias ! de>
Date:       2004-09-30 15:09:09
Message-ID: 001001c4a6ff$702d3a20$c90510ac () intranet ! dcmgmbh ! de
[Download RAW message or body]


Berin,
yes, I tried the latest CVS to make sure I am not searching for
a bug thats still fixed.
At work (i.e. with the domain user logged on) both the release and
the debug version work.
At home (i.e. with a local user logged on) only the debug version
works, the release version fails.
I noted that the release version needs nearly 10 seconds to fail,
i think this is a hint on a timeout or so.
I am using XP with SP2 and Visual Studio 6 SP6. (But, if i remember
correctly, the above behaviour was there before SP2)

Greetings

Matthias

> -----Original Message-----
> From: Berin Lautenbach [mailto:berin@wingsofhermes.org] 
> Sent: Thursday, September 30, 2004 12:22 PM
> To: security-dev@xml.apache.org
> Subject: Re: Problem with release version (winCAPI)
> 
> 
> Matthias,
> 
> You must be using a CVS version?  The 
> XSECSOAPRequestorSimpleWin32.hpp 
> is a current bug in CVS (it's fixed in my local copy, but not 
> committed :>.)
> 
> What operating system?  XP?  I've never seen/heard anything 
> like you are 
> reporting.
> 
> When you say "at work ... both do" - does that mean both work 
> or both fail?
> 
> Cheers,
> 	Berin
> 
> Matthias Niggemeier wrote:
> 
> > Berin,
> > I would like to try, but when I try to compile xtest, i have
> > two issues:
> > 
> > 1) I have no file 
> xsec/utils/winutils/XSECSOAPRequestorSimpleWin32.hpp
> > commenting out works for the compiler, but 
> > 
> > 2) the linker cannot find __endthreadex and __beginthreadex
> > 
> > Looking at MSDN, these are included in MSVCRT.lib; but explicitly
> > linking this wouldn't do. I tried a bit, but since I don't know
> > these functions (I use AfxBeginThread), I have no more ideas
> > how to fix this.
> > 
> > Interesting for me is the following:
> > I use the same notebook at home and at work, but with different
> > users. At home, the debug version works well, but the 
> release version
> > fails with the stated error.
> > At work, logged on with the domain user, both versions do.
> > 
> > Greetings
> > 
> > Matthias
> > 
> > 
> >>-----Original Message-----
> >>From: Berin Lautenbach [mailto:berin@wingsofhermes.org] 
> >>Sent: Wednesday, September 29, 2004 2:36 PM
> >>To: security-dev@xml.apache.org
> >>Subject: Re: Problem with release version (winCAPI)
> >>
> >>
> >>Matthias,
> >>
> >>Do the samples work in release version?  if you pass xtest a "-w" 
> >>parameter it will run using the CAPI - would be interesting to know 
> >>whether that runs OK.
> >>
> >>Cheers,
> >>	Berin
> >>
> >>Matthias Niggemeier wrote:
> >>
> >>
> >>>Hi there!
> >>>When using xsec to sign an xml-file with HMAC, the
> >>>debug version works fine. But when I try to start
> >>>the release version, initialization of the lib fails
> >>>with the message
> >>>
> >>>WinCAPICryptoProvider() - Error obtaining generating 
> >>>internal key store for PROV_RSA_FULL
> >>>
> >>>What can I do? I use MSVC6 on WinXP.
> >>>
> >>>Regards
> >>>
> >>>Matthias
> >>
> 

["smime.p7s" (application/x-pkcs7-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic