Files
gnutls/gnutls-srp-test-SIGPIPE.patch
Pedro Monreal Gonzalez fb6da79b80 - Build with liboqs to support the X25519Kyber768 post-quantum key
exchange algorithm.

Note that since crypto-policies doesn't enable X25519Kyber768 yet,
it will only be used if the gnutls policy is manually edited
(for now).

OBS-URL: https://build.opensuse.org/package/show/security:tls/gnutls?expand=0&rev=115
2024-09-30 06:48:36 +00:00

23 lines
591 B
Diff

Index: gnutls-3.8.1/tests/srp.c
===================================================================
--- gnutls-3.8.1.orig/tests/srp.c
+++ gnutls-3.8.1/tests/srp.c
@@ -287,7 +289,7 @@ static void start(const char *name, cons
if (child) {
int status;
/* parent */
- close(fd[0]);
+ /* close(fd[0]); */
client(fd[1], prio, user, pass, exp_err);
if (exp_err < 0) {
kill(child, SIGTERM);
@@ -297,7 +299,7 @@ static void start(const char *name, cons
check_wait_status(status);
}
} else {
- close(fd[1]);
+ /* close(fd[1]); */
server(fd[0], prio);
exit(0);
}