aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport-certificate-creation.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-05-08 17:10:10 +0000
committerBart Polot <bart@net.in.tum.de>2012-05-08 17:10:10 +0000
commit16546613251edfcd595e4f584b1a2d2a414d0b1a (patch)
tree0a01bd8afdcb9501ee7f9be6d2ecc59648e40392 /src/transport/gnunet-transport-certificate-creation.c
parent9d268909fe579e36510ef03055c6cec9baa7d07a (diff)
downloadgnunet-16546613251edfcd595e4f584b1a2d2a414d0b1a.tar.gz
gnunet-16546613251edfcd595e4f584b1a2d2a414d0b1a.zip
Renamed GNUNET_OS_process_close to GNUNET_OS_process_destroy
Diffstat (limited to 'src/transport/gnunet-transport-certificate-creation.c')
-rw-r--r--src/transport/gnunet-transport-certificate-creation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-transport-certificate-creation.c b/src/transport/gnunet-transport-certificate-creation.c
index 2ec8d36a6..c4c13dc2a 100644
--- a/src/transport/gnunet-transport-certificate-creation.c
+++ b/src/transport/gnunet-transport-certificate-creation.c
@@ -62,7 +62,7 @@ main (int argc, char **argv)
62 if (openssl == NULL) 62 if (openssl == NULL)
63 return 2; 63 return 2;
64 GNUNET_assert (GNUNET_OS_process_wait (openssl) == GNUNET_OK); 64 GNUNET_assert (GNUNET_OS_process_wait (openssl) == GNUNET_OK);
65 GNUNET_OS_process_close (openssl); 65 GNUNET_OS_process_destroy (openssl);
66 66
67 /* Create a self-signed certificate in batch mode using rsa key */ 67 /* Create a self-signed certificate in batch mode using rsa key */
68 /* openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null */ 68 /* openssl req -batch -days 365 -out $2 -new -x509 -key $1 2> /dev/null */
@@ -73,7 +73,7 @@ main (int argc, char **argv)
73 if (openssl == NULL) 73 if (openssl == NULL)
74 return 3; 74 return 3;
75 GNUNET_assert (GNUNET_OS_process_wait (openssl) == GNUNET_OK); 75 GNUNET_assert (GNUNET_OS_process_wait (openssl) == GNUNET_OK);
76 GNUNET_OS_process_close (openssl); 76 GNUNET_OS_process_destroy (openssl);
77 CHMOD (argv[1], S_IRUSR); 77 CHMOD (argv[1], S_IRUSR);
78 CHMOD (argv[2], S_IRUSR); 78 CHMOD (argv[2], S_IRUSR);
79 return 0; 79 return 0;