Merge branch 'maint-0.3.1' into release-0.3.1
This commit is contained in:
commit
f6a36996db
|
@ -2312,7 +2312,8 @@ networkstatus_dump_bridge_status_to_file(time_t now)
|
||||||
char fingerprint[FINGERPRINT_LEN+1];
|
char fingerprint[FINGERPRINT_LEN+1];
|
||||||
char *fingerprint_line = NULL;
|
char *fingerprint_line = NULL;
|
||||||
|
|
||||||
if (me && crypto_pk_get_fingerprint(me->identity_pkey, fingerprint, 0) >= 0) {
|
if (me && crypto_pk_get_fingerprint(me->identity_pkey,
|
||||||
|
fingerprint, 0) >= 0) {
|
||||||
tor_asprintf(&fingerprint_line, "fingerprint %s\n", fingerprint);
|
tor_asprintf(&fingerprint_line, "fingerprint %s\n", fingerprint);
|
||||||
} else {
|
} else {
|
||||||
log_warn(LD_BUG, "Error computing fingerprint for bridge status.");
|
log_warn(LD_BUG, "Error computing fingerprint for bridge status.");
|
||||||
|
|
Loading…
Reference in New Issue