diff options
Diffstat (limited to 'src/common/tortls.c')
-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 a1d5b2c5e..1046b4981 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -215,7 +215,7 @@ tor_tls_context_new(crypto_pk_env_t *rsa, cert = tor_tls_create_certificate(rsa, nickname); if (!cert) { log(LOG_ERR, "Error creating certificate"); - return NULL; + return -1; } } |