1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-05 22:19:03 +00:00

Added a patch to correct the warning

"test/test-wildcard.c: In function ‘test’:
test/test-wildcard.c:159:5: warning: value computed is not used [-Wunused-value]
I simpily voided the BIO_destroy_bio_pair return value which was a long wrapped value from OPENSSL.
This commit is contained in:
sean
2012-06-19 02:13:08 +00:00
parent bc72a02afa
commit 957c035603

View File

@@ -156,7 +156,7 @@ end:
X509_free(cert);
EVP_PKEY_free(key);
BIO_destroy_bio_pair(server_bio);
(void) BIO_destroy_bio_pair(server_bio);
SSL_CTX_free(server_ctx);
SSL_CTX_free(client_ctx);