Segmentation fault in SSLCertificates::FreeDERVector(derVect)
Brought to you by:
ashish_kulz,
harrybharry
According to https://www.openssl.org/docs/crypto/d2i_X509.html#WARNINGS a temporary buffer must be used for second argument of d2i_X509. The attached patch fixes the segmentation fault in subsequent call of OPENSSL_free from SSLCertificates::FreeDERVector(derVect).