That's great, Thanks, Ard.

(I still re-create one patch based on the just-cloned tree, with the patch name 
fix. :-)).

Best Regards & Thanks,
LONG, Qin

-----Original Message-----
From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] 
Sent: Friday, June 12, 2015 4:58 PM
To: Long, Qin
Cc: Ye, Ting; edk2-devel@lists.sourceforge.net
Subject: Re: [patch 0/3] *** Update OpenSSL support to 1.0.2b release ***

On 12 June 2015 at 10:25, qlong <qin.l...@intel.com> wrote:
> [NOTE]
> OpenSSL 1.0.2b was just released at 11-Jun-2015. This patch is updated 
> to catch this latest release.
> The changes between 1.0.2a-patch and 1.0.2b-patch is few:
>   > One memory allocation bug was already fixed in 1.0.2b codes (x509_vpm.c)
>     Then remove the fix codes from EDKII-openssl-1.0.2b.patch
>   > Add few missed boundary check in CryptX509.c 
> ================================================================
> Update the EDKII crypto provider from openssl 0.9.8zf to 1.0.2b.
> The OpenSSL Project announced that the support for version 0.9.8 will 
> cease on 31st December 2015. This patch updates the EDKII openssl 
> support to the latest 1.0.2 branch.
>

OK, with some manual massaging of the patches, I managed to apply them and do a 
test build and test run on the ArmVirtQemu-AARCH64 platform.
Everything works fine afaict.

For the series:

Tested-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org>


> qlong (3):
>   [CryptoPkg]  Remove the old patch file for openssl-0.9.8zf build, and
>     add the patch file for openssl-1.0.2b.
>   [CryptoPkg] Update INF file, installation scripts and HOWTO for
>     openssl-1.0.2b support.
>   [CryptoPkg] Updates some support header files and wrapper files to
>     support openssl-1.0.2b build, and correct some openssl API usages
>       & boundary check.
>
>  CryptoPkg/Include/OpenSslSupport.h                 |   8 +-
>  CryptoPkg/Include/memory.h                         |  16 +
>  .../Library/BaseCryptLib/Pk/CryptAuthenticode.c    |   6 +-
>  CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Sign.c |  10 +-
>  .../Library/BaseCryptLib/Pk/CryptPkcs7Verify.c     |  11 +-
>  CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c        |  12 +-
>  CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c      |  18 +-
>  .../Library/OpensslLib/EDKII-openssl-1.0.2b.patch  | 346 ++++++++++++  
> .../Library/OpensslLib/EDKII_openssl-0.9.8zf.patch | 279 ----------
>  CryptoPkg/Library/OpensslLib/Install.cmd           | 146 ++---
>  CryptoPkg/Library/OpensslLib/Install.sh            | 146 ++---
>  CryptoPkg/Library/OpensslLib/OpensslLib.inf        | 620 
> ++++++++++++++-------
>  CryptoPkg/Library/OpensslLib/Patch-HOWTO.txt       |  46 +-
>  13 files changed, 1013 insertions(+), 651 deletions(-)  create mode 
> 100644 CryptoPkg/Include/memory.h  create mode 100644 
> CryptoPkg/Library/OpensslLib/EDKII-openssl-1.0.2b.patch
>  delete mode 100644 
> CryptoPkg/Library/OpensslLib/EDKII_openssl-0.9.8zf.patch
>
> --
> 1.9.5.msysgit.1
>
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to