Long ago, in a galaxy far far away, Solar Designer asked wtf openssl md5 calls getpid() a zillion times.
The answer is memory debugging, which checks the "thread id" on every allocation/free. For reasons I haven't entirely fathomed, unless you are on Windows, what's returned is the PID. Whether this makes any sense at all, I don't know. Someone might care to think about it at some point. Also, the "thread id" may be used elsewhere - is there any point if its actually the PID? Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]