summaryrefslogtreecommitdiff
path: root/lib/x509
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-06 09:21:48 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-17 17:08:01 +0200
commit53313e4d670a11e972cab2d1feea37605d47b048 (patch)
tree7c69e849fd748e98ff6ec17d5e1a670342c87ff4 /lib/x509
parent650f625792ab8d1e4d6f717ac6890ca48da7984a (diff)
downloadgnutls-53313e4d670a11e972cab2d1feea37605d47b048.tar.gz
pkcs7: improved syntax in if-clause
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509')
-rw-r--r--lib/x509/pkcs7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/pkcs7.c b/lib/x509/pkcs7.c
index b8670c8134..c0b0810b0c 100644
--- a/lib/x509/pkcs7.c
+++ b/lib/x509/pkcs7.c
@@ -2385,7 +2385,7 @@ int gnutls_pkcs7_sign(gnutls_pkcs7_t pkcs7,
goto cleanup;
}
- if (flags & GNUTLS_PKCS7_EMBED_DATA && data->data) { /* embed data */
+ if ((flags & GNUTLS_PKCS7_EMBED_DATA) && data->data) { /* embed data */
ret =
_gnutls_x509_write_string(pkcs7->signed_data,
"encapContentInfo.eContent", data,