diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-04-01 11:51:46 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-04-13 14:06:19 +0200 |
commit | 96015d5fc51f6c81902a212662c73b512b0c8535 (patch) | |
tree | 21bec9d57c1ab2ee2579b33bfd04d3954f68ac5e /BaseTools/Source/Python/Ecc/Configuration.py | |
parent | 5eadb54e26e239429e8b4fe18897781f2321738a (diff) | |
download | edk2-96015d5fc51f6c81902a212662c73b512b0c8535.tar.gz edk2-96015d5fc51f6c81902a212662c73b512b0c8535.tar.bz2 edk2-96015d5fc51f6c81902a212662c73b512b0c8535.zip |
CryptoPkg/TlsLib: pre-compute OpensslCipherLength in TlsCipherMappingTable
In the next patches, we'll need the lengths of the
TLS_CIPHER_MAPPING.OpensslCipher string fields. These lengths can be
computed at build time; add the new field "OpensslCipherLength", and
introduce the MAP() macro for populating it.
While at it, add some horizontal whitespace to "TlsCipherMappingTable",
and add a comma after the last element. This will come handy in a later
patch.
(The patch does not change the first two columns of
"TlsCipherMappingTable", which can be easily verified with "git show
--word-diff".)
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Qin Long <qin.long@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=915
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Configuration.py')
0 files changed, 0 insertions, 0 deletions