[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
padlock patch for tor
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@xxxxxxxxxxxxxx with
unsubscribe or-talk in the body. http://archives.seul.org/or/talk/