/*
* Figure out the buffer we need
*/
- RHEXDUMP(L_DBG_LVL_3, plaintext, plaintext_len, "Plaintext (%zu bytes)", plaintext_len);
+ RHEXDUMP(L_DBG_LVL_3, (uint8_t const *)plaintext, plaintext_len, "Plaintext (%zu bytes)", plaintext_len);
if (EVP_PKEY_encrypt(xt->evp_encrypt_ctx, NULL, &ciphertext_len,
(unsigned char const *)plaintext, plaintext_len) <= 0) {
tls_log_error(request, "Failed getting length of encrypted plaintext");
tls_log_error(request, "Failed decrypting ciphertext");
return XLAT_ACTION_FAIL;
}
- RHEXDUMP(L_DBG_LVL_3, plaintext, plaintext_len, "Plaintext (%zu bytes)", plaintext_len);
+ RHEXDUMP(L_DBG_LVL_3, (uint8_t const *)plaintext, plaintext_len, "Plaintext (%zu bytes)", plaintext_len);
/*
* Fixup the output buffer (and ensure it's \0 terminated)