summaryrefslogtreecommitdiff
path: root/lib/x509/verify.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-12-06 16:47:25 +0100
committerSimon Josefsson <simon@josefsson.org>2010-12-06 16:47:25 +0100
commitc236da00885163f387a0bc62897de7126265d59a (patch)
tree0f7530d1685b774581fc1aa6f189e14ceec0d145 /lib/x509/verify.c
parent6a6d50ece46ca63ea0fa2c6f87c7563c4025c561 (diff)
downloadgnutls-c236da00885163f387a0bc62897de7126265d59a.tar.gz
Indent code.
Diffstat (limited to 'lib/x509/verify.c')
-rw-r--r--lib/x509/verify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/x509/verify.c b/lib/x509/verify.c
index e7cdc74526..077ccd8a7d 100644
--- a/lib/x509/verify.c
+++ b/lib/x509/verify.c
@@ -336,7 +336,8 @@ _gnutls_verify_certificate2 (gnutls_x509_crt_t cert,
}
if (!(flags & GNUTLS_VERIFY_DISABLE_CA_SIGN) &&
- ((flags & GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT) || issuer_version != 1))
+ ((flags & GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT)
+ || issuer_version != 1))
{
if (check_if_ca (cert, issuer, flags) == 0)
{
@@ -685,7 +686,7 @@ decode_ber_digest_info (const gnutls_datum_t * info,
parameters field is not present, or it contains 0x05 0x00. */
if (!(result == ASN1_ELEMENT_NOT_FOUND ||
(result == ASN1_SUCCESS && len == ASN1_NULL_SIZE &&
- memcmp(str, ASN1_NULL, ASN1_NULL_SIZE) == 0)))
+ memcmp (str, ASN1_NULL, ASN1_NULL_SIZE) == 0)))
{
gnutls_assert ();
asn1_delete_structure (&dinfo);