[or-cvs] r16128: SOAT: fixed an ssl test typo mike noticed. (torflow/branches/gsoc2008)

aleksei at seul.org aleksei at seul.org
Wed Jul 23 08:57:13 UTC 2008


Author: aleksei
Date: 2008-07-23 04:57:13 -0400 (Wed, 23 Jul 2008)
New Revision: 16128

Modified:
   torflow/branches/gsoc2008/soat.py
Log:
SOAT: fixed an ssl test typo mike noticed.

Modified: torflow/branches/gsoc2008/soat.py
===================================================================
--- torflow/branches/gsoc2008/soat.py	2008-07-23 08:50:50 UTC (rev 16127)
+++ torflow/branches/gsoc2008/soat.py	2008-07-23 08:57:13 UTC (rev 16128)
@@ -444,7 +444,7 @@
             plog('ERROR', 'Exit node ' + `exit_node` + ' seems to be meddling with certificates. (' + address + ')')
 
             cert_file_name = ssl_certs_dir + address_file + '_' + `exit_node` + '.pem'
-            cert_file = open(cert_file, 'w')
+            cert_file = open(cert_file_name, 'w')
             cert_file.write(cert_pem)
             cert_file.close()
 
@@ -472,7 +472,7 @@
         plog('ERROR', 'Exit node ' + `exit_node` + ' seems to be meddling with certificates. (' + address + ')')
 
         cert_file_name = ssl_certs_dir + address + '_' + `exit_node` + '.pem'
-        cert_file = open(cert_file, 'w')
+        cert_file = open(cert_file_name, 'w')
         cert_file.write(cert_pem)
         cert_file.close()
 



More information about the tor-commits mailing list