summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-08-14 09:44:54 +0000
committerRoger Dingledine <arma@torproject.org>2006-08-14 09:44:54 +0000
commit4b94dabb53cd07a0835289e24a66450cf2d165f9 (patch)
tree5e9e9c1930d296af8359f646d932a5df625c79d8
parent715a5835aa85d1493ce5e6ee969008a59f87cdaa (diff)
downloadtor-4b94dabb53cd07a0835289e24a66450cf2d165f9.tar.gz
tor-4b94dabb53cd07a0835289e24a66450cf2d165f9.zip
note a compile warning that we should investigate one day.
svn:r7052
-rw-r--r--src/common/crypto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index bc1ca6945e..6767b637dc 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -504,6 +504,11 @@ crypto_pk_write_public_key_to_string(crypto_pk_env_t *env, char **dest,
BIO_get_mem_ptr(b, &buf);
BIO_set_close(b, BIO_NOCLOSE); /* so BIO_free doesn't free buf */
+ /* XXX The above line generates a warning on new gcc/openssls:
+ * crypto.c:506: warning: value computed is not used
+ * Perhaps in new openssls this is a more complex macro and
+ * we're no longer calling it quite right? -RD
+ */
BIO_free(b);
tor_assert(buf->length >= 0);