[gnutls-devel] GnuTLS | tests/slow/cipher-api-test.c: Make test more portable (!852)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jan 2 10:01:06 CET 2019


Nikos Mavrogiannopoulos started a new discussion on tests/slow/cipher-api-test.c:

>  			if (ret < 0)
>  				fail("could not add auth data\n");
>  
> -			signal(SIGABRT, custom_abrt);
> -			ret = gnutls_cipher_add_auth(ch, data, 16);
> -			signal(SIGABRT, SIG_DFL);
> -			if (ret >= 0 && error_detected == 0)
> -				fail("succeeded in adding auth data data after partial data were given\n");
> +			if (testmode == 1) {

I cannot understand what testmode 1,2 mean from looking at the code.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/852#note_128306478
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190102/2e8776c5/attachment.html>


More information about the Gnutls-devel mailing list