diff options
author | Gilad Arnold <garnold@google.com> | 2015-09-01 17:04:48 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-09-01 17:04:48 +0000 |
commit | 5269f779baa900c1715d2f2610633858f7f44234 (patch) | |
tree | a17d1f35636241274a99ce377ea15f4804c87c0c | |
parent | 365b9eb41fcd7d614f14c3afa585c20716a8aefd (diff) | |
parent | f73a0e44adc986e575e9cb8e92a70f406e9d88f9 (diff) | |
download | tlsdate-5269f779baa900c1715d2f2610633858f7f44234.tar.gz |
am f73a0e44: Do not open a BIO on stdout.
* commit 'f73a0e44adc986e575e9cb8e92a70f406e9d88f9':
Do not open a BIO on stdout.
-rw-r--r-- | src/tlsdate-helper.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tlsdate-helper.c b/src/tlsdate-helper.c index b319bf7..9322517 100644 --- a/src/tlsdate-helper.c +++ b/src/tlsdate-helper.c @@ -1182,9 +1182,6 @@ run_ssl (uint32_t *time_map, int time_is_an_illusion, int http) (1 != BIO_set_conn_port(s_bio, port)) ) die ("Failed to initialize connection to `%s:%s'", host, port); - if (NULL == BIO_new_fp(stdout, BIO_NOCLOSE)) - die ("BIO_new_fp returned error, possibly: %s", strerror(errno)); - // This should run in seccomp // eg: prctl(PR_SET_SECCOMP, 1); if (1 != SSL_connect(ssl)) |