diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-27 11:00:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-27 11:00:10 +0000 |
commit | 0238db34853380280ccf164918ebbb28260f4629 (patch) | |
tree | 2c47ddbbfa27e7a0479d5c12e78d77342780a4bd /src/transport/gnunet-transport-certificate-creation.c | |
parent | dc3ae8f36ec69ca2a96a93feda501682ff168320 (diff) | |
download | gnunet-0238db34853380280ccf164918ebbb28260f4629.tar.gz gnunet-0238db34853380280ccf164918ebbb28260f4629.zip |
enabling use of pipes for signal communication also on UNIX to enable future integration with Java services
Diffstat (limited to 'src/transport/gnunet-transport-certificate-creation.c')
-rw-r--r-- | src/transport/gnunet-transport-certificate-creation.c | 4 |
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 9fd62fc9f..2ec8d36a6 100644 --- a/src/transport/gnunet-transport-certificate-creation.c +++ b/src/transport/gnunet-transport-certificate-creation.c | |||
@@ -57,7 +57,7 @@ main (int argc, char **argv) | |||
57 | /* Create RSA Private Key */ | 57 | /* Create RSA Private Key */ |
58 | /* openssl genrsa -out $1 1024 2> /dev/null */ | 58 | /* openssl genrsa -out $1 1024 2> /dev/null */ |
59 | openssl = | 59 | openssl = |
60 | GNUNET_OS_start_process (NULL, NULL, "openssl", "openssl", "genrsa", | 60 | GNUNET_OS_start_process (GNUNET_NO, NULL, NULL, "openssl", "openssl", "genrsa", |
61 | "-out", argv[1], "1024", NULL); | 61 | "-out", argv[1], "1024", NULL); |
62 | if (openssl == NULL) | 62 | if (openssl == NULL) |
63 | return 2; | 63 | return 2; |
@@ -67,7 +67,7 @@ main (int argc, char **argv) | |||
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 */ |
69 | openssl = | 69 | openssl = |
70 | GNUNET_OS_start_process (NULL, NULL, "openssl", "openssl", "req", | 70 | GNUNET_OS_start_process (GNUNET_NO, NULL, NULL, "openssl", "openssl", "req", |
71 | "-batch", "-days", "365", "-out", argv[2], | 71 | "-batch", "-days", "365", "-out", argv[2], |
72 | "-new", "-x509", "-key", argv[1], NULL); | 72 | "-new", "-x509", "-key", argv[1], NULL); |
73 | if (openssl == NULL) | 73 | if (openssl == NULL) |