Loading apps/ocsp.c +1 −1 Original line number Diff line number Diff line Loading @@ -1244,7 +1244,7 @@ static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp) return 0; BIO_printf(cbio, http_resp, i2d_OCSP_RESPONSE(resp, NULL)); i2d_OCSP_RESPONSE_bio(cbio, resp); BIO_flush(cbio); (void)BIO_flush(cbio); return 1; } Loading apps/rand.c +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ int MAIN(int argc, char **argv) BIO_write(out, buf, chunk); num -= chunk; } BIO_flush(out); (void)BIO_flush(out); app_RAND_write_file(NULL, bio_err); ret = 0; Loading apps/req.c +1 −1 Original line number Diff line number Diff line Loading @@ -1648,7 +1648,7 @@ static EVP_PKEY_CTX *set_keygen_ctx(BIO *err, const char *gstr, int *pkey_type, if (!param) { X509 *x; BIO_reset(pbio); (void)BIO_reset(pbio); x = PEM_read_bio_X509(pbio, NULL, NULL, NULL); if (x) { Loading apps/s_cb.c +2 −2 Original line number Diff line number Diff line Loading @@ -590,7 +590,7 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void * BIO_printf(bio, " ..."); BIO_printf(bio, "\n"); } BIO_flush(bio); (void)BIO_flush(bio); } void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type, Loading Loading @@ -648,6 +648,6 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type, BIO_printf(bio, "TLS %s extension \"%s\" (id=%d), len=%d\n", client_server ? "server": "client", extname, type, len); BIO_dump(bio, data, len); BIO_dump(bio, (char *)data, len); BIO_flush(bio); } apps/s_client.c +7 −7 Original line number Diff line number Diff line Loading @@ -893,7 +893,7 @@ re_start: goto end; } BIO_ctrl_set_connected(sbio, 1, &peer); (void)BIO_ctrl_set_connected(sbio, 1, &peer); if (enable_timeouts) { Loading Loading @@ -984,7 +984,7 @@ re_start: while (mbuf_len>3 && mbuf[3]=='-'); /* STARTTLS command requires EHLO... */ BIO_printf(fbio,"EHLO openssl.client.net\r\n"); BIO_flush(fbio); (void)BIO_flush(fbio); /* wait for multi-line response to end EHLO SMTP response */ do { Loading @@ -993,7 +993,7 @@ re_start: foundit=1; } while (mbuf_len>3 && mbuf[3]=='-'); BIO_flush(fbio); (void)BIO_flush(fbio); BIO_pop(fbio); BIO_free(fbio); if (!foundit) Loading @@ -1017,7 +1017,7 @@ re_start: BIO_gets(fbio,mbuf,BUFSIZZ); /* STARTTLS command requires CAPABILITY... */ BIO_printf(fbio,". CAPABILITY\r\n"); BIO_flush(fbio); (void)BIO_flush(fbio); /* wait for multi-line CAPABILITY response */ do { Loading @@ -1026,7 +1026,7 @@ re_start: foundit=1; } while (mbuf_len>3 && mbuf[0]!='.'); BIO_flush(fbio); (void)BIO_flush(fbio); BIO_pop(fbio); BIO_free(fbio); if (!foundit) Loading @@ -1046,7 +1046,7 @@ re_start: mbuf_len = BIO_gets(fbio,mbuf,BUFSIZZ); } while (mbuf_len>3 && mbuf[3]=='-'); BIO_flush(fbio); (void)BIO_flush(fbio); BIO_pop(fbio); BIO_free(fbio); BIO_printf(sbio,"AUTH TLS\r\n"); Loading Loading @@ -1578,6 +1578,6 @@ static void print_stuff(BIO *bio, SSL *s, int full) if (peer != NULL) X509_free(peer); /* flush, or debugging output gets mixed with http response */ BIO_flush(bio); (void)BIO_flush(bio); } Loading
apps/ocsp.c +1 −1 Original line number Diff line number Diff line Loading @@ -1244,7 +1244,7 @@ static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp) return 0; BIO_printf(cbio, http_resp, i2d_OCSP_RESPONSE(resp, NULL)); i2d_OCSP_RESPONSE_bio(cbio, resp); BIO_flush(cbio); (void)BIO_flush(cbio); return 1; } Loading
apps/rand.c +1 −1 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ int MAIN(int argc, char **argv) BIO_write(out, buf, chunk); num -= chunk; } BIO_flush(out); (void)BIO_flush(out); app_RAND_write_file(NULL, bio_err); ret = 0; Loading
apps/req.c +1 −1 Original line number Diff line number Diff line Loading @@ -1648,7 +1648,7 @@ static EVP_PKEY_CTX *set_keygen_ctx(BIO *err, const char *gstr, int *pkey_type, if (!param) { X509 *x; BIO_reset(pbio); (void)BIO_reset(pbio); x = PEM_read_bio_X509(pbio, NULL, NULL, NULL); if (x) { Loading
apps/s_cb.c +2 −2 Original line number Diff line number Diff line Loading @@ -590,7 +590,7 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void * BIO_printf(bio, " ..."); BIO_printf(bio, "\n"); } BIO_flush(bio); (void)BIO_flush(bio); } void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type, Loading Loading @@ -648,6 +648,6 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type, BIO_printf(bio, "TLS %s extension \"%s\" (id=%d), len=%d\n", client_server ? "server": "client", extname, type, len); BIO_dump(bio, data, len); BIO_dump(bio, (char *)data, len); BIO_flush(bio); }
apps/s_client.c +7 −7 Original line number Diff line number Diff line Loading @@ -893,7 +893,7 @@ re_start: goto end; } BIO_ctrl_set_connected(sbio, 1, &peer); (void)BIO_ctrl_set_connected(sbio, 1, &peer); if (enable_timeouts) { Loading Loading @@ -984,7 +984,7 @@ re_start: while (mbuf_len>3 && mbuf[3]=='-'); /* STARTTLS command requires EHLO... */ BIO_printf(fbio,"EHLO openssl.client.net\r\n"); BIO_flush(fbio); (void)BIO_flush(fbio); /* wait for multi-line response to end EHLO SMTP response */ do { Loading @@ -993,7 +993,7 @@ re_start: foundit=1; } while (mbuf_len>3 && mbuf[3]=='-'); BIO_flush(fbio); (void)BIO_flush(fbio); BIO_pop(fbio); BIO_free(fbio); if (!foundit) Loading @@ -1017,7 +1017,7 @@ re_start: BIO_gets(fbio,mbuf,BUFSIZZ); /* STARTTLS command requires CAPABILITY... */ BIO_printf(fbio,". CAPABILITY\r\n"); BIO_flush(fbio); (void)BIO_flush(fbio); /* wait for multi-line CAPABILITY response */ do { Loading @@ -1026,7 +1026,7 @@ re_start: foundit=1; } while (mbuf_len>3 && mbuf[0]!='.'); BIO_flush(fbio); (void)BIO_flush(fbio); BIO_pop(fbio); BIO_free(fbio); if (!foundit) Loading @@ -1046,7 +1046,7 @@ re_start: mbuf_len = BIO_gets(fbio,mbuf,BUFSIZZ); } while (mbuf_len>3 && mbuf[3]=='-'); BIO_flush(fbio); (void)BIO_flush(fbio); BIO_pop(fbio); BIO_free(fbio); BIO_printf(sbio,"AUTH TLS\r\n"); Loading Loading @@ -1578,6 +1578,6 @@ static void print_stuff(BIO *bio, SSL *s, int full) if (peer != NULL) X509_free(peer); /* flush, or debugging output gets mixed with http response */ BIO_flush(bio); (void)BIO_flush(bio); }