message: Use EVP_CIPHER_CTX_free instead of EVP_CIPHER_CTX_cleanup
diff: @@ -61,7 +61,7 @@ bool SecMsgCrypter::Encrypt(uint8_t* chPlaintext, uint32_t nPlain, std::vector<u
  if (fOk) fOk = EVP_EncryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, &chKey[0], &chIV[0]);
  if (fOk) fOk = EVP_EncryptUpdate(ctx, &vchCiphertext[0], &nCLen, chPlaintext, nLen);
  if (fOk) fOk = EVP_EncryptFinal_ex(ctx, (&vchCiphertext[0])+nCLen, &nFLen);
  - EVP_CIPHER_CTX_cleanup(ctx);
  + EVP_CIPHER_CTX_free(ctx);
  if (!fOk)
  return false;
  @@ -86,11 +86,10 @@ bool SecMsgCrypter::Decrypt(uint8_t* chCiphertext, uint32_t nCipher, std::vector
  bool fOk = true;
  - EVP_CIPHER_CTX_init(ctx);
  if (fOk) fOk = EVP_DecryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, &chKey[0], &chIV[0]);
  if (fOk) fOk = EVP_DecryptUpdate(ctx, &vchPlaintext[0], &nPLen, &chCiphertext[0], nCipher);
  if (fOk) fOk = EVP_DecryptFinal_ex(ctx, (&vchPlaintext[0])+nPLen, &nFLen);
  - EVP_CIPHER_CTX_cleanup(ctx);
  + EVP_CIPHER_CTX_free(ctx);
  if (!fOk)
  return false;
  