Ticket #25816: pkinit_crypto_openssl.patch

File pkinit_crypto_openssl.patch, 439 bytes (added by andre.beat@…, 14 years ago)

patch

  • pkinit_crypto_openssl.

    old new  
    36593659    if (buf == NULL)
    36603660        goto cleanup;
    36613661
    3662     retval = EVP_PKEY_decrypt(buf, data, (int)data_len, pkey);
     3662    retval = EVP_PKEY_decrypt(buf, data, (int)data_len, pkey, buf_len);
    36633663    if (retval <= 0) {
    36643664        pkiDebug("unable to decrypt received data (len=%d)\n", data_len);
    36653665        goto cleanup;