Re: [edk2] [staging/HTTPS-TLS][PATCH] CryptPkg: Cleanup TlsLib X509Store initialization

2016-04-28 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu > -Original Message- > From: Samer El-Haj-Mahmoud [mailto:samer.el-haj-mahm...@hpe.com] > Sent: Friday, April 29, 2016 2:50 AM > To: edk2-devel@lists.01.org > Cc: Wu, Jiaxin ; Samer El-Haj-Mahmoud haj-mahm...@hpe.com>;

[edk2] [staging/HTTPS-TLS][PATCH] CryptPkg: Cleanup TlsLib X509Store initialization

2016-04-28 Thread Samer El-Haj-Mahmoud
Cleanup TlsLib to create a new X509 store only if needed in TlsNew(), and set its flags when created, not every time we are adding a certificate (in TlsSetCaCertificate) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud Signed-off-by: