aboutsummaryrefslogtreecommitdiffstats
path: root/apps/pkeyutl.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pkeyutl.c')
-rw-r--r--apps/pkeyutl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c
index d8b2ad5f65..efd98684cb 100644
--- a/apps/pkeyutl.c
+++ b/apps/pkeyutl.c
@@ -420,7 +420,7 @@ int pkeyutl_main(int argc, char **argv)
/* Raw input data is handled elsewhere */
if (in != NULL && !rawin) {
/* Read the input data */
- buf_inlen = bio_to_mem(&buf_in, keysize * 10, in);
+ buf_inlen = bio_to_mem(&buf_in, -1, in);
if (buf_inlen < 0) {
BIO_printf(bio_err, "Error reading input Data\n");
goto end;