Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
4b94dabb
Commit
4b94dabb
authored
Aug 14, 2006
by
Roger Dingledine
Browse files
note a compile warning that we should investigate one day.
svn:r7052
parent
715a5835
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common/crypto.c
View file @
4b94dabb
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment