Issue #22160: Update OpenSSL to 1.0.1i for the Windows build.
diff --git a/Misc/NEWS b/Misc/NEWS
index 34269ac..d4c4a55 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -89,6 +89,11 @@
 - Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/
   now display special message when and only when there are failures.
 
+Windows
+-------
+
+- Issue #22160: The bundled version of OpenSSL has been updated to 1.0.1i.
+
 
 What's New in Python 2.7.8?
 ===========================
diff --git a/PCbuild/pyproject.vsprops b/PCbuild/pyproject.vsprops
index 0dd61e5..f98ca09 100644
--- a/PCbuild/pyproject.vsprops
+++ b/PCbuild/pyproject.vsprops
@@ -82,7 +82,7 @@
 	/>

 	<UserMacro

 		Name="opensslDir"

-		Value="$(externalsDir)\openssl-1.0.1h"

+		Value="$(externalsDir)\openssl-1.0.1i"

 	/>

 	<UserMacro

 		Name="tcltkDir"

diff --git a/Tools/buildbot/external-common.bat b/Tools/buildbot/external-common.bat
index 319ef15..0994679 100644
--- a/Tools/buildbot/external-common.bat
+++ b/Tools/buildbot/external-common.bat
@@ -23,6 +23,7 @@
 @rem if exist openssl-0.9.8y rd /s/q openssl-0.9.8y
 @rem if exist openssl-1.0.1g rd /s/q openssl-1.0.1g
 @rem if exist openssl-1.0.1h rd /s/q openssl-1.0.1h
+@rem if exist openssl-1.0.1i rd /s/q openssl-1.0.1i
 @rem if exist sqlite-3.6.21 rd /s/q sqlite-3.6.21
 
 @rem bzip
@@ -36,8 +37,8 @@
 if not exist db-4.7.25.0 svn export http://svn.python.org/projects/external/db-4.7.25.0
 
 @rem OpenSSL
-if exist openssl-1.0.1g rd /s/q openssl-1.0.1g
-if not exist openssl-1.0.1h svn export http://svn.python.org/projects/external/openssl-1.0.1h
+if exist openssl-1.0.1h rd /s/q openssl-1.0.1h
+if not exist openssl-1.0.1i svn export http://svn.python.org/projects/external/openssl-1.0.1i
 
 @rem tcl/tk
 if not exist tcl-8.5.15.0 (