]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt
CryptoPkg/TlsLib: rewrite TlsSetCipherList()
[mirror_edk2.git] / CryptoPkg / Library / OpensslLib / OpenSSL-HOWTO.txt
index e8b0bab010307fae8d529739cdc353056289ae74..ac63d4c077960271df9c3fe0388d35c9f820f393 100644 (file)
@@ -18,28 +18,29 @@ on the cryptography.
                              OpenSSL-Version\r
 =============================================================================\r
   EDKII supports building with the latest release of OpenSSL.\r
-  The latest official release is OpenSSL-1.1.0e (Released at 2017-Feb-16).\r
+  The latest official release is OpenSSL-1.1.0g (Released at 2017-Nov-02).\r
   NOTE: Only latest release version was fully validated.\r
         And no guarantees on build & functionality if using other versions.\r
 \r
 =============================================================================\r
                       HOW to Install OpenSSL for UEFI Building\r
 =============================================================================\r
-1. Clone the latest official OpenSSL release into the directory\r
-     CryptoPkg/Library/OpensslLib/openssl/\r
+  OpenSSL repository was added as one submodule of EDKII project.\r
 \r
-   Use OpenSSL-1.1.0e release as one example:\r
-     (OpenSSL_1_1_0e below is the tag name for the OpenSSL-1.1.0e release)\r
-     > cd CryptoPkg/Library/OpensslLib\r
-     > git clone -b OpenSSL_1_1_0e https://github.com/openssl/openssl openssl\r
-     or\r
-     > git clone https://github.com/openssl/openssl openssl\r
-     > git checkout OpenSSL_1_1_0e\r
-Or\r
-2. Download the latest OpenSSL release package from the official website:\r
-     https://www.openssl.org/source/\r
-   and unpack the OpenSSL source into:\r
-     CryptoPkg/Library/OpensslLib/openssl/\r
+  The user can use the following commands to clone both main EDKII repo and\r
+openssl submodule:\r
+  1) Add the "--recursive" flag to the git clone command:\r
+     $ git clone --recursive https://github.com/tianocore/edk2\r
+or\r
+  2) Manually initialize and update the submodules after the clone operation\r
+     on main project:\r
+     $ git clone https://github.com/tianocore/edk2\r
+     $ git submodule update --init --recursive\r
+\r
+  And use the following combined commands to pull the remote submodule updates\r
+(e.g. Updating the new supported OpenSSL release tag):\r
+     $ git pull --recurse-submodules && \\r
+       git submodule update --recursive --remote\r
 \r
 =============================================================================\r
                       About process_files.pl\r