diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-25 17:37:00 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-25 17:37:00 +0000 |
commit | f91c552af7c836e217e01bf4afdc55152382ff9f (patch) | |
tree | 263b56e9c0baf77a9a633f5faef74640b92e3e68 | |
parent | 444a01610c7dbb1f2d6ed832ef32844bcefc989d (diff) | |
download | tor-f91c552af7c836e217e01bf4afdc55152382ff9f.tar.gz tor-f91c552af7c836e217e01bf4afdc55152382ff9f.zip |
fix a seg fault on solaris
svn:r2313
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 78dea3b944..c685c12803 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -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(); |