diff options
Diffstat (limited to 'lib/opencdk/kbnode.c')
-rw-r--r-- | lib/opencdk/kbnode.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/opencdk/kbnode.c b/lib/opencdk/kbnode.c index e9374c87eb..376f308582 100644 --- a/lib/opencdk/kbnode.c +++ b/lib/opencdk/kbnode.c @@ -448,7 +448,7 @@ cdk_kbnode_write_to_mem_alloc (cdk_kbnode_t node, if (!node || !r_buf || !r_buflen) { - gnutls_assert(); + gnutls_assert (); return CDK_Inv_Value; } @@ -458,7 +458,7 @@ cdk_kbnode_write_to_mem_alloc (cdk_kbnode_t node, rc = cdk_stream_tmp_new (&s); if (rc) { - gnutls_assert(); + gnutls_assert (); return rc; } @@ -477,7 +477,7 @@ cdk_kbnode_write_to_mem_alloc (cdk_kbnode_t node, if (rc) { cdk_stream_close (s); - gnutls_assert(); + gnutls_assert (); return rc; } } @@ -512,14 +512,14 @@ cdk_kbnode_write_to_mem (cdk_kbnode_t node, byte * buf, size_t * r_nbytes) if (!node || !r_nbytes) { - gnutls_assert(); + gnutls_assert (); return CDK_Inv_Value; } rc = cdk_stream_tmp_new (&s); if (rc) { - gnutls_assert(); + gnutls_assert (); return rc; } @@ -538,7 +538,7 @@ cdk_kbnode_write_to_mem (cdk_kbnode_t node, byte * buf, size_t * r_nbytes) if (rc) { cdk_stream_close (s); - gnutls_assert(); + gnutls_assert (); return rc; } } @@ -559,7 +559,7 @@ cdk_kbnode_write_to_mem (cdk_kbnode_t node, byte * buf, size_t * r_nbytes) if (!rc) *r_nbytes = cdk_stream_read (s, buf, len); else - gnutls_assert(); + gnutls_assert (); cdk_stream_close (s); return rc; } @@ -586,7 +586,7 @@ cdk_kbnode_hash (cdk_kbnode_t node, digest_hd_st * md, int is_v4, if (!node || !md) { - gnutls_assert(); + gnutls_assert (); return CDK_Inv_Value; } if (!pkttype) @@ -598,10 +598,10 @@ cdk_kbnode_hash (cdk_kbnode_t node, digest_hd_st * md, int is_v4, { pkt = cdk_kbnode_find_packet (node, pkttype); if (!pkt) - { - gnutls_assert(); - return CDK_Inv_Packet; - } + { + gnutls_assert (); + return CDK_Inv_Packet; + } } switch (pkttype) @@ -620,7 +620,7 @@ cdk_kbnode_hash (cdk_kbnode_t node, digest_hd_st * md, int is_v4, break; default: - gnutls_assert(); + gnutls_assert (); return CDK_Inv_Mode; } return 0; |