summaryrefslogtreecommitdiff
path: root/lib/opencdk/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/opencdk/hash.c')
-rw-r--r--lib/opencdk/hash.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/opencdk/hash.c b/lib/opencdk/hash.c
index 61fadd6dad..cddcbc216f 100644
--- a/lib/opencdk/hash.c
+++ b/lib/opencdk/hash.c
@@ -42,7 +42,7 @@ hash_encode (void *data, FILE * in, FILE * out)
if (!mfx)
{
- gnutls_assert();
+ gnutls_assert ();
return CDK_Inv_Value;
}
@@ -52,10 +52,10 @@ hash_encode (void *data, FILE * in, FILE * out)
{
err = _gnutls_hash_init (&mfx->md, mfx->digest_algo);
if (err < 0)
- {
- gnutls_assert();
- return map_gnutls_error (err);
- }
+ {
+ gnutls_assert ();
+ return map_gnutls_error (err);
+ }
mfx->md_initialized = 1;
}
@@ -88,7 +88,7 @@ _cdk_filter_hash (void *data, int ctl, FILE * in, FILE * out)
return 0;
}
}
-
- gnutls_assert();
+
+ gnutls_assert ();
return CDK_Inv_Mode;
}