From ade86d935b33956d65b938c258ae946c352db312 Mon Sep 17 00:00:00 2001 From: Andi Drebes Date: Fri, 16 Sep 2022 15:34:19 +0200 Subject: [PATCH] enhance(jit): Add support for clear text results in ServerLambda This removes the restriction of `ServerLambda` that the source program must return encrypted values. --- compiler/lib/ServerLib/ServerLambda.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/lib/ServerLib/ServerLambda.cpp b/compiler/lib/ServerLib/ServerLambda.cpp index f4f627a67..dd8e34382 100644 --- a/compiler/lib/ServerLib/ServerLambda.cpp +++ b/compiler/lib/ServerLib/ServerLambda.cpp @@ -55,10 +55,6 @@ ServerLambda::loadFromModule(std::shared_ptr module, << ") != 1 is not supported"; } - if (!param->outputs[0].encryption.hasValue()) { - return StringError("ServerLambda: clear output is not yet supported"); - } - lambda.clientParameters = *param; return lambda; }