mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
fix a seg fault on solaris
svn:r2313
This commit is contained in:
parent
444a01610c
commit
f91c552af7
@ -294,7 +294,7 @@ tor_tls_context_new(crypto_pk_env_t *identity,
|
||||
char nn2[1024];
|
||||
int client_only;
|
||||
SSL_CTX **ctx;
|
||||
sprintf(nn2, "%s <identity>", nickname);
|
||||
sprintf(nn2, "%s <identity>", nickname ? nickname : "null");
|
||||
|
||||
tor_tls_init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user