padlock patch for tor
Udo van den Heuvel
udovdh at xs4all.nl
Sat Nov 28 14:03:13 UTC 2009
Hello,
I noticed that tor-0.2.1.20-tor.0.fc12.i386 did not use my VIA padlock
crypto hardware. So I made a small patch based on the knowledge
available at http://www.logix.cz/michal/devel/padlock/.
# cat SOURCES/tor-padlock.patch
--- a/src/common/crypto.c 2009-11-28 14:53:39.000000000 +0100
+++ b/src/common/crypto.c 2009-11-28 14:54:02.000000000 +0100
@@ -188,6 +188,7 @@
ENGINE_load_builtin_engines();
if (!ENGINE_register_all_complete())
return -1;
+ ENGINE_set_default_ciphers(ENGINE_by_id("padlock"));
/* XXXX make sure this isn't leaking. */
log_engine("RSA", ENGINE_get_default_RSA());
Udo
***********************************************************************
To unsubscribe, send an e-mail to majordomo at torproject.org with
unsubscribe or-talk in the body. http://archives.seul.org/or/talk/
More information about the tor-talk
mailing list