nss leaks

2010-09-22 Thread Xavier Toth
Using valgrind on one of my tests I get the follow results ==7241== Syscall param exit_group(exit_code) contains uninitialised byte(s) ==7241==at 0x3E99A90B8A: _Exit (in /lib64/tls/libc-2.3.4.so) ==7241==by 0x3E99A30CEA: exit (in /lib64/tls/libc-2.3.4.so) ==7241==by 0x3E99A1C411: (below

signature verification, VFY_CreateContextWithAlgorithmID help

2010-09-03 Thread Xavier Toth
I'm trying to verify the signature of a file I've signed but I don't understand where to get the sigAlgorithm and hash to pass to VFY_CreateContextWithAlgorithmID. I've googled looking for some sample code using the VFY_ apis to verify signatures but I haven't found anything that I could build off