All pastes #41298 Raw Edit

Mine

public text v1 · immutable
#41298 ·published 2006-02-12 17:55 UTC
rendered paste body
Line 299, line in the function

PSSLPrivateKey::PSSLPrivateKey(const BYTE * keyData, PINDEX keySize)
{
  key = d2i_AutoPrivateKey(NULL, (BYTE **)&keyData, keySize);
}

Line 306, 2nd line in the function
PSSLPrivateKey::PSSLPrivateKey(const PBYTEArray & keyData)
{
  const BYTE * keyPtr = keyData;
  key = d2i_AutoPrivateKey(NULL, (BYTE **)&keyPtr, keyData.GetSize());
}

Line 474, line in the function
PSSLCertificate::PSSLCertificate(const BYTE * certData, PINDEX certSize)
{
  certificate = d2i_X509(NULL, (unsigned char **)&certData, certSize);
}

Line 481, 2nd line in the function
PSSLCertificate::PSSLCertificate(const PBYTEArray & certData)
{
  const BYTE * certPtr = certData;
  certificate = d2i_X509(NULL, (unsigned char **)&certPtr, certData.GetSize());
}