]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/OpensslLib/Patch-HOWTO.txt
CryptoPkg: Update OpensslLib module files for openssl-1.0.2c support
[mirror_edk2.git] / CryptoPkg / Library / OpensslLib / Patch-HOWTO.txt
index de60a5fc20e878584c664eaf82d0ef1df7390edf..0ea7b8aa0ba50febc3f6bb71b3d1387cf4792e74 100644 (file)
@@ -4,49 +4,49 @@
 ================================================================================\r
   OpenSSL is a well-known open source implementation of SSL and TLS protocols.\r
 The core library implements the basic cryptographic functions and provides various\r
-utility functions. The OpenSSL library is widely used in variety of security \r
-products development as base crypto provider. (See http://www.openssl.org for more \r
+utility functions. The OpenSSL library is widely used in variety of security\r
+products development as base crypto provider. (See http://www.openssl.org for more\r
 information for OpenSSL).\r
-  UEFI (Unified Extensible Firmware Interface) is a specification detailing the \r
-interfaces between OS and platform firmware. Several security features were \r
-introduced (e.g. Authenticated Variable Service, Driver Signing, etc) from UEFI \r
-2.2 (http://www.uefi.org). These security features highly depends on the \r
+  UEFI (Unified Extensible Firmware Interface) is a specification detailing the\r
+interfaces between OS and platform firmware. Several security features were\r
+introduced (e.g. Authenticated Variable Service, Driver Signing, etc) from UEFI\r
+2.2 (http://www.uefi.org). These security features highly depends on the\r
 cryptography. This patch will enable openssl building under UEFI environment.\r
 \r
 \r
 ================================================================================\r
                                 OpenSSL-Version\r
 ================================================================================\r
-  Current supported OpenSSL version for UEFI Crypto Library is 0.9.8zf.\r
-    http://www.openssl.org/source/openssl-0.9.8zf.tar.gz\r
+  Current supported OpenSSL version for UEFI Crypto Library is 1.0.2c.\r
+    http://www.openssl.org/source/openssl-1.0.2c.tar.gz\r
 \r
 \r
 ================================================================================\r
                       HOW to Install Openssl for UEFI Building\r
 ================================================================================\r
-1.  Download OpenSSL 0.9.8zf from official website:\r
-       http://www.openssl.org/source/openssl-0.9.8zf.tar.gz\r
+1.  Download OpenSSL 1.0.2c from official website:\r
+    http://www.openssl.org/source/openssl-1.0.2c.tar.gz\r
 \r
-    NOTE: Some web browsers may rename the downloaded TAR file to openssl-0.9.8zf.tar.tar.\r
-          When you do the download, rename the "openssl-0.9.8zf.tar.tar" to\r
-          "openssl-0.9.8zf.tar.gz" or rename the local downloaded file with ".tar.tar"\r
+    NOTE: Some web browsers may rename the downloaded TAR file to openssl-1.0.2c.tar.tar.\r
+          When you do the download, rename the "openssl-1.0.2c.tar.tar" to\r
+          "openssl-1.0.2c.tar.gz" or rename the local downloaded file with ".tar.tar"\r
           extension to ".tar.gz".\r
 \r
-2.  Extract TAR into CryptoPkg/Library/OpenSslLib/openssl-0.9.8zf\r
+2.  Extract TAR into CryptoPkg/Library/OpenSslLib/openssl-1.0.2c\r
 \r
-    NOTE: If you use WinZip to unpack the openssl source in Windows, please \r
-          uncheck the WinZip smart CR/LF conversion option (WINZIP: Options --> \r
+    NOTE: If you use WinZip to unpack the openssl source in Windows, please\r
+          uncheck the WinZip smart CR/LF conversion option (WINZIP: Options -->\r
           Configuration --> Miscellaneous --> "TAR file smart CR/LF conversion").\r
-  \r
-3.  Apply this patch: EDKII_openssl-0.9.8zf.patch, and make installation\r
+\r
+3.  Apply this patch: EDKII_openssl-1.0.2c.patch, and make installation\r
 \r
     For Windows Environment:\r
     ------------------------\r
     1) Make sure the patch utility has been installed in your machine.\r
-       Install Cygwin or get the patch utility binary from \r
+       Install Cygwin or get the patch utility binary from\r
           http://gnuwin32.sourceforge.net/packages/patch.htm\r
-    2) cd $(WORKSPACE)\CryptoPkg\Library\OpensslLib\openssl-0.9.8zf\r
-    3) patch -p0 -i ..\EDKII_openssl-0.9.8zf.patch\r
+    2) cd $(WORKSPACE)\CryptoPkg\Library\OpensslLib\openssl-1.0.2c\r
+    3) patch -p0 -i ..\EDKII_openssl-1.0.2c.patch\r
     4) cd ..\r
     5) Install.cmd\r
 \r
@@ -54,8 +54,8 @@ cryptography. This patch will enable openssl building under UEFI environment.
     -----------------------\r
     1) Make sure the patch utility has been installed in your machine.\r
        Patch utility is available from http://directory.fsf.org/project/patch/\r
-    2) cd $(WORKSPACE)/CryptoPkg/Library/OpensslLib/openssl-0.9.8zf\r
-    3) patch -p0 -i ../EDKII_openssl-0.9.8zf.patch\r
+    2) cd $(WORKSPACE)/CryptoPkg/Library/OpensslLib/openssl-1.0.2c\r
+    3) patch -p0 -i ../EDKII_openssl-1.0.2c.patch\r
     4) cd ..\r
     5) ./Install.sh\r
 \r