From: Ajay <abr...@ma...> - 2004-09-29 09:35:14
|
hi! i have built PyOpenSSL for WinCE using eVC++, trouble is import doesn't work. what i have done is, instead of hacking around distutils, i have simply added all source and header files to a evc project and built them (building all crypto to crypto.pyd and so on). the trouble is import crypto throws an error saying initcrypto not defined. i have checked the source and initcrypto is defined...i build PyOpenSSL i= n the same way on a PC using VC++ 6.0 and that works okay so i dont know where the error is coming from. i am using the client.py and server.py in 'examples/simple' (i found the examples :)) and would like no authentication at all. just an encrypted exchange. But when do ctx.set_verify(VERIFY_NONE, verify_cb) on both the client and server end, the server does not call verify_cb (as expected) but the client makes the call and whats more it calls twice ( i have a print statement in there). how can i have no server authentication and where is the extra call (shouldn't it be called only once) thanks cheers ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |