Re: HKEY_PERFORMANCE_DATA

2003-08-14 Thread Martin Kochanski
If we're going to try exception handling then I suppose that CreateToolhelp32Snapshot could be wrapped in a handler as well... although I'd still be worried that some internal bit of Windows could be left in a state as a result of the exception. At 14:40 08/08/03 -0400, you wrote: In case

Re: AW: AW: AW: BUG: CreateToolhelp32Snapshot, check if running as NT service

2003-08-14 Thread Martin Kochanski
At 11:28 11/08/03 +0200, you wrote: Hi, to make things clear, how to check if a Win32 exe is currently running as a NT service: 1.) Check if the SID (security ID) of the current process is S-1-5-18, i.e. the so called LOCALSYSTEM account. This changes if you configure your service (in the

BUG: CreateToolhelp32Snapshot

2003-08-07 Thread Martin Kochanski
inclination is to comment out or otherwise disable the whole of the ToolHelp code on the Windows 2003 Server platform, since the Crypt... functions should have produced pretty good randomness all by themselves; but I'd welcome anyone's comments. - Martin Kochanski

Re: [openssl.org #86] Bug in RSA_check_key

2002-06-20 Thread Martin Kochanski
I'll second that. OpenSSL works excellently in isolation, but when you come to use it in a context in which there are *already* keys and certificate stores (eg. CAPI) it would be excellent to be able to access those directly, so that our software has the same familiar quirks as Microsoft's,