diff options
Diffstat (limited to 'tests/system-override-sig.c')
-rw-r--r-- | tests/system-override-sig.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/system-override-sig.c b/tests/system-override-sig.c index 954f4e55f4..e0c933e3a8 100644 --- a/tests/system-override-sig.c +++ b/tests/system-override-sig.c @@ -20,7 +20,7 @@ */ #ifdef HAVE_CONFIG_H -#include <config.h> +# include <config.h> #endif #include <stdio.h> @@ -43,10 +43,15 @@ void doit(void) /* check whether the values set by the calling script are the expected */ assert(gnutls_sign_is_secure(GNUTLS_SIGN_RSA_SHA256) != 0); - assert(gnutls_sign_is_secure2(GNUTLS_SIGN_RSA_SHA256, GNUTLS_SIGN_FLAG_SECURE_FOR_CERTS) == 0); + assert(gnutls_sign_is_secure2 + (GNUTLS_SIGN_RSA_SHA256, + GNUTLS_SIGN_FLAG_SECURE_FOR_CERTS) == 0); assert(gnutls_sign_is_secure(GNUTLS_SIGN_RSA_SHA1) == 0); - assert(gnutls_sign_is_secure2(GNUTLS_SIGN_RSA_SHA1, GNUTLS_SIGN_FLAG_SECURE_FOR_CERTS) == 0); + assert(gnutls_sign_is_secure2 + (GNUTLS_SIGN_RSA_SHA1, GNUTLS_SIGN_FLAG_SECURE_FOR_CERTS) == 0); assert(gnutls_sign_is_secure(GNUTLS_SIGN_RSA_SHA512) == 0); - assert(gnutls_sign_is_secure2(GNUTLS_SIGN_RSA_SHA512, GNUTLS_SIGN_FLAG_SECURE_FOR_CERTS) == 0); + assert(gnutls_sign_is_secure2 + (GNUTLS_SIGN_RSA_SHA512, + GNUTLS_SIGN_FLAG_SECURE_FOR_CERTS) == 0); assert(gnutls_sign_is_secure(GNUTLS_SIGN_RSA_MD5) == 0); } |