From 951cf9cbca2d366fb2bc3a94bf9f62f71ac0cc7b Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 12 Jan 2023 16:04:22 +0100 Subject: [PATCH] Fix external armor and dearmor commands --- .../src/main/java/sop/external/operation/ArmorExternal.java | 2 +- .../src/main/java/sop/external/operation/DearmorExternal.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external-sop/src/main/java/sop/external/operation/ArmorExternal.java b/external-sop/src/main/java/sop/external/operation/ArmorExternal.java index 5149792..68edc23 100644 --- a/external-sop/src/main/java/sop/external/operation/ArmorExternal.java +++ b/external-sop/src/main/java/sop/external/operation/ArmorExternal.java @@ -35,6 +35,6 @@ public class ArmorExternal implements Armor { @Override public Ready data(InputStream data) throws SOPGPException.BadData, IOException { - return ExternalSOP.ready(Runtime.getRuntime(), commandList, envList); + return ExternalSOP.ready(Runtime.getRuntime(), commandList, envList, data); } } diff --git a/external-sop/src/main/java/sop/external/operation/DearmorExternal.java b/external-sop/src/main/java/sop/external/operation/DearmorExternal.java index 936746f..11e0322 100644 --- a/external-sop/src/main/java/sop/external/operation/DearmorExternal.java +++ b/external-sop/src/main/java/sop/external/operation/DearmorExternal.java @@ -28,6 +28,6 @@ public class DearmorExternal implements Dearmor { @Override public Ready data(InputStream data) throws SOPGPException.BadData, IOException { - return ExternalSOP.ready(Runtime.getRuntime(), commandList, envList); + return ExternalSOP.ready(Runtime.getRuntime(), commandList, envList, data); } }