Fix warnings: C++ comments and computed value not used.
This commit is contained in:
@@ -148,7 +148,7 @@ static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out)
|
||||
#ifdef NOISY
|
||||
BIO_puts(out,"\n");
|
||||
#else
|
||||
BIO_flush(out);
|
||||
(void)BIO_flush(out);
|
||||
#endif
|
||||
|
||||
if (!EC_KEY_generate_key(a)) goto err;
|
||||
@@ -173,7 +173,7 @@ static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out)
|
||||
BIO_puts(out,"\n");
|
||||
#else
|
||||
BIO_printf(out," .");
|
||||
BIO_flush(out);
|
||||
(void)BIO_flush(out);
|
||||
#endif
|
||||
|
||||
if (!EC_KEY_generate_key(b)) goto err;
|
||||
@@ -199,7 +199,7 @@ static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out)
|
||||
BIO_puts(out,"\n");
|
||||
#else
|
||||
BIO_printf(out,".");
|
||||
BIO_flush(out);
|
||||
(void)BIO_flush(out);
|
||||
#endif
|
||||
|
||||
alen=KDF1_SHA1_len;
|
||||
@@ -216,7 +216,7 @@ static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out)
|
||||
BIO_puts(out,"\n");
|
||||
#else
|
||||
BIO_printf(out,".");
|
||||
BIO_flush(out);
|
||||
(void)BIO_flush(out);
|
||||
#endif
|
||||
|
||||
blen=KDF1_SHA1_len;
|
||||
@@ -233,7 +233,7 @@ static int test_ecdh_curve(int nid, const char *text, BN_CTX *ctx, BIO *out)
|
||||
BIO_puts(out,"\n");
|
||||
#else
|
||||
BIO_printf(out,".");
|
||||
BIO_flush(out);
|
||||
(void)BIO_flush(out);
|
||||
#endif
|
||||
|
||||
if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0))
|
||||
|
||||
Reference in New Issue
Block a user