23 lines
591 B
Diff
23 lines
591 B
Diff
|
Index: gnutls-3.8.9/tests/srp.c
|
||
|
===================================================================
|
||
|
--- gnutls-3.8.9.orig/tests/srp.c
|
||
|
+++ gnutls-3.8.9/tests/srp.c
|
||
|
@@ -290,7 +290,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);
|
||
|
@@ -300,7 +300,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);
|
||
|
}
|