summaryrefslogtreecommitdiffstats
path: root/Lib/test/make_ssl_certs.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-07-26 15:15:52 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-07-26 15:15:52 (GMT)
commitd2e9fdfbdef17b1159c14569260ac1dc18dfebff (patch)
tree6224653ff508f60dee133b94d476f3f2bbc69245 /Lib/test/make_ssl_certs.py
parentf21fcd09c50d30ca99e9fa95f70dba481bd46f1b (diff)
downloadcpython-d2e9fdfbdef17b1159c14569260ac1dc18dfebff.zip
cpython-d2e9fdfbdef17b1159c14569260ac1dc18dfebff.tar.gz
cpython-d2e9fdfbdef17b1159c14569260ac1dc18dfebff.tar.bz2
Issue #22074: Fix Lib/test/make_ssl_certs.py
Diffstat (limited to 'Lib/test/make_ssl_certs.py')
-rw-r--r--Lib/test/make_ssl_certs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/make_ssl_certs.py b/Lib/test/make_ssl_certs.py
index 4251d55..81d04f8 100644
--- a/Lib/test/make_ssl_certs.py
+++ b/Lib/test/make_ssl_certs.py
@@ -115,7 +115,7 @@ def make_ca():
with open(os.path.join('cadir','index.txt'),'a+') as f:
pass # empty file
with open(os.path.join('cadir','crl.txt'),'a+') as f:
- r.write("00")
+ f.write("00")
with open(os.path.join('cadir','index.txt.attr'),'w+') as f:
f.write('unique_subject = no')