audk/CryptoPkg/Library
Qin Long 81bec7aa52 CryptoPkg/OpensslLib: Suppress extra build warnings in openssl source
(Need further follow-ups as described in
    https://bugzilla.tianocore.org/show_bug.cgi?id=455)

This patch added some extra build options to suppress possible warnings
when building openssl source under GCC48 and VS2010. Including:

Adding "-Wno-error=maybe-uninitialized" to suppress the following GCC48
build warning:
  OpensslLib/openssl/ssl/statem/statem_clnt.c:2543:9: error: "len" may
     be used uninitialized in this function [-Werror=maybe-uninitialized]
       len += pskhdrlen;
           ^

And adding "/wd4306" to suppress the following VS2010 build warning:
  openssl\crypto\asn1\tasn_dec.c(795) : warning C4306: 'type cast' :
               conversion from 'int' to 'ASN1_VALUE *' of greater size

Cc: Ting Ye <ting.ye@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-04-07 00:24:16 +08:00
..
BaseCryptLib CryptoPkg/BaseCryptLib: Fix Build Warning issue in PEI Module 2017-03-30 16:00:51 +08:00
BaseCryptLibRuntimeCryptProtocol CryptoPkg: Fix typos in comments 2016-11-07 23:21:22 +08:00
Include CryptoPkg: Move openssl and CRT headers to private include section 2017-04-07 00:22:07 +08:00
IntrinsicLib CryptoPkg: Fix handling of &strcmp function pointers 2017-03-29 16:12:32 +08:00
OpensslLib CryptoPkg/OpensslLib: Suppress extra build warnings in openssl source 2017-04-07 00:24:16 +08:00
TlsLib CryptoPkg: Convert files to CRLF line ending 2017-04-06 15:42:34 +08:00