]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg: update openssl to ignore RVCT 3079
authorEugene Cohen <eugene@hp.com>
Fri, 8 Jul 2016 07:53:16 +0000 (15:53 +0800)
committerQin Long <qin.long@intel.com>
Fri, 8 Jul 2016 07:56:50 +0000 (15:56 +0800)
Getting openssl 1.0.2g building with ARM RVCT requires a change to
ignore an unset variable used before set was necessary.
(NOTE: This was fixed in OpenSSL 1.1 HEAD with commit
       d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be dropped then.)

corrects x509_vfy.c(875): error C3017: ok may be used before being set

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Qin Long <qin.long@intel.com>
CryptoPkg/Library/OpensslLib/OpensslLib.inf

index 87571000b327d2fc6035b0d811ed53d3d9794e6c..4488bb522268aa79f31beacf1f707886ca907682 100644 (file)
   #  546: transfer of control bypasses initialization - may be emitted inappropriately if the uninitialized\r
   #       variable is never referenced after the jump\r
   #    1: ignore "#1-D: last line of file ends without a newline"\r
-  RVCT:*_*_ARM_CC_FLAGS     = $(OPENSSL_FLAGS) --library_interface=aeabi_clib99 --diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1 -JCryptoPkg/Include\r
+  # 3017: <entity> may be used before being set (NOTE: This was fixed in OpenSSL 1.1 HEAD with\r
+  #       commit d9b8b89bec4480de3a10bdaf9425db371c19145b, and can be dropped then.)\r
+  RVCT:*_*_ARM_CC_FLAGS     = $(OPENSSL_FLAGS) --library_interface=aeabi_clib99 --diag_suppress=1296,1295,550,1293,111,68,177,223,144,513,188,128,546,1,3017 -JCryptoPkg/Include\r
   XCODE:*_*_IA32_CC_FLAGS   = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w\r
   XCODE:*_*_X64_CC_FLAGS    = -mmmx -msse -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) -w\r