forked from pool/gnutls
38d3bf8c14
- Don't run install-info on images (forwarded request 197168 from AndreasSchwab) OBS-URL: https://build.opensuse.org/request/show/197201 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=64
48 lines
1.3 KiB
Diff
48 lines
1.3 KiB
Diff
Index: gnutls-3.2.4/doc/examples/ex-client-xssl1.c
|
|
===================================================================
|
|
--- gnutls-3.2.4.orig/doc/examples/ex-client-xssl1.c
|
|
+++ gnutls-3.2.4/doc/examples/ex-client-xssl1.c
|
|
@@ -80,6 +80,8 @@ int main (void)
|
|
xssl_cred_deinit (cred);
|
|
|
|
gnutls_global_deinit ();
|
|
+
|
|
+ return 0;
|
|
}
|
|
|
|
|
|
Index: gnutls-3.2.4/doc/examples/ex-client-xssl2.c
|
|
===================================================================
|
|
--- gnutls-3.2.4.orig/doc/examples/ex-client-xssl2.c
|
|
+++ gnutls-3.2.4/doc/examples/ex-client-xssl2.c
|
|
@@ -95,4 +95,6 @@ int main (void)
|
|
xssl_cred_deinit (cred);
|
|
|
|
gnutls_global_deinit ();
|
|
+
|
|
+ return 0;
|
|
}
|
|
Index: gnutls-3.2.4/doc/examples/print-ciphersuites.c
|
|
===================================================================
|
|
--- gnutls-3.2.4.orig/doc/examples/print-ciphersuites.c
|
|
+++ gnutls-3.2.4/doc/examples/print-ciphersuites.c
|
|
@@ -51,4 +51,5 @@ int main(int argc, char** argv)
|
|
{
|
|
if (argc > 1)
|
|
print_cipher_suite_list (argv[1]);
|
|
+ return 0;
|
|
}
|
|
Index: gnutls-3.2.4/src/serv.c
|
|
===================================================================
|
|
--- gnutls-3.2.4.orig/src/serv.c
|
|
+++ gnutls-3.2.4/src/serv.c
|
|
@@ -1216,6 +1216,8 @@ main (int argc, char **argv)
|
|
udp_server (name, port, mtu);
|
|
else
|
|
tcp_server (name, port);
|
|
+
|
|
+ return 0;
|
|
}
|
|
|
|
static void
|