diff options
author | Roger Dingledine <arma@torproject.org> | 2006-08-14 09:44:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-08-14 09:44:54 +0000 |
commit | 4b94dabb53cd07a0835289e24a66450cf2d165f9 (patch) | |
tree | 5e9e9c1930d296af8359f646d932a5df625c79d8 /src/common/crypto.c | |
parent | 715a5835aa85d1493ce5e6ee969008a59f87cdaa (diff) | |
download | tor-4b94dabb53cd07a0835289e24a66450cf2d165f9.tar tor-4b94dabb53cd07a0835289e24a66450cf2d165f9.tar.gz |
note a compile warning that we should investigate one day.
svn:r7052
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index bc1ca6945..6767b637d 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); |