diff --git a/compiler/lib/ClientLib/KeySet.cpp b/compiler/lib/ClientLib/KeySet.cpp index f5e968830..1b11f6ea7 100644 --- a/compiler/lib/ClientLib/KeySet.cpp +++ b/compiler/lib/ClientLib/KeySet.cpp @@ -96,7 +96,7 @@ llvm::Error KeySet::setupEncryptionMaterial(ClientParameters ¶ms, this->outputs.push_back(output); } } - int err; + CAPI_ERR_TO_LLVM_ERROR( this->encryptionRandomGenerator = allocate_encryption_generator(&err, seed_msb, seed_lsb),