diff options
Diffstat (limited to 'runtime/lmcry_gcry.c')
-rw-r--r-- | runtime/lmcry_gcry.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/lmcry_gcry.c b/runtime/lmcry_gcry.c index 3941b06c..041cd581 100644 --- a/runtime/lmcry_gcry.c +++ b/runtime/lmcry_gcry.c @@ -215,7 +215,13 @@ SetDeleteOnClose(void *pF, int val) gcryfileSetDeleteOnClose(pF, val); } -static void +static rsRetVal +GetBytesLeftInBlock(void *pF, ssize_t *left) +{ + return gcryfileGetBytesLeftInBlock((gcryfile) pF, left); +} + +static rsRetVal DeleteStateFiles(uchar *logfn) { return gcryfileDeleteState(logfn); @@ -280,6 +286,7 @@ CODESTARTobjQueryInterface(lmcry_gcry) pIf->Decrypt = Decrypt; pIf->OnFileClose = OnFileClose; pIf->DeleteStateFiles = DeleteStateFiles; + pIf->GetBytesLeftInBlock = GetBytesLeftInBlock; finalize_it: ENDobjQueryInterface(lmcry_gcry) |