mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Tolerate NULL nicknames better
svn:r2567
This commit is contained in:
parent
c7151d8bed
commit
62094ebd32
@ -297,7 +297,9 @@ tor_tls_context_new(crypto_pk_env_t *identity,
|
||||
char nn2[1024];
|
||||
int client_only;
|
||||
SSL_CTX **ctx;
|
||||
sprintf(nn2, "%s <identity>", nickname ? nickname : "null");
|
||||
if (!nickname)
|
||||
nickname = "null";
|
||||
sprintf(nn2, "%s <identity>", nickname);
|
||||
|
||||
tor_tls_init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user