aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-31 18:47:54 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-31 18:47:54 +0000
commitc4ac4bcba348c32af8a4125887fbd69480dd2378 (patch)
treea2528ef6bdbd6349d112e30d59ff4d96b6d0a742 /src/common/tortls.c
parent21a78803584c468f4c0b949d35444695266ff35f (diff)
downloadtor-c4ac4bcba348c32af8a4125887fbd69480dd2378.tar.gz
tor-c4ac4bcba348c32af8a4125887fbd69480dd2378.zip
r8696@Kushana: nickm | 2006-08-31 14:43:44 -0400
Try to appease some warnings with newer gccs that believe that ignoring a return value is okay, but casting a return value and then ignoring it is a sign of madness. svn:r8312
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 623f460455..072f9709dc 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -692,7 +692,7 @@ log_cert_lifetime(X509 *cert, const char *problem)
BIO_get_mem_ptr(bio, &buf);
s1 = tor_strndup(buf->data, buf->length);
- BIO_reset(bio);
+ (void)BIO_reset(bio);
if (!(ASN1_TIME_print(bio, X509_get_notAfter(cert)))) {
tls_log_errors(LOG_WARN, "printing certificate lifetime");
goto end;