Re: [Cppcms-users] feedback after testing cppcms svn trunk compiled with msvc2005
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2011-01-20 11:34:46
|
> From: Cristian Oneț <one...@gm...> > > Sorry I have one more patch that I forgot about. When running with > apache+mod_fastcgi the application runs in context of > NTAUTHORITY\SYSTEM which can't use CryptAcquireContext the way it's > used by a normal user (so it's failing) see [1] but from the msdn docs > [2] it seems that cppcms should call CryptAcquireContext with > CRYPT_VERIFYCONTEXT flag (see the flag's description). > > [1] >http://www.eggheadcafe.com/software/aspnet/32785121/how-to-prevent-microsoft-csps-from-using-dpapi.aspx > > [2] http://msdn.microsoft.com/en-us/library/aa379886%28v=vs.85%29.aspx > Ok I'll commit this as well. As you understand I'm mostly Linux/Unix developer with good background in Windows. so such things are quite hard to catch them for me. Thanks! Artyom |