]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
cipher-api-test: mention why it is written using fork
authorDaiki Ueno <ueno@gnu.org>
Sun, 26 Dec 2021 16:40:42 +0000 (17:40 +0100)
committerDaiki Ueno <ueno@gnu.org>
Sat, 8 Jan 2022 08:12:46 +0000 (09:12 +0100)
Signed-off-by: Daiki Ueno <ueno@gnu.org>
tests/slow/cipher-api-test.c

index a8e4bbf90a7d84bab3ec15d97887f6f31877c788..b58c60d596bcc225325b5265ae86746241beb023 100644 (file)
 #include <gnutls/abstract.h>
 #include <gnutls/x509.h>
 
+/* Test illegal use of gnutls_cipher_* and gnutls_aead_cipher_*
+ * API. This test is written using fork, because some of the test
+ * cases may hit assertion failure in Nettle and crash the process.
+ */
+
 #if defined(WIN32)
 int main(int argc, char **argv)
 {