Commit 4299213a authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Actually return the signing key digest in votes.

parent 8b814ef8
......@@ -10,6 +10,7 @@
read for 0 <= x <= 100 rather than just x = { 10, 20, ..., 90 }.
- Rename properties for overriding default descriptor source
implementation classes.
- Actually return the signing key digest in network status votes.
* Minor changes
- Include a Torperf results line with more than one unrecognized
......
......@@ -488,9 +488,13 @@ public class RelayNetworkStatusVoteImpl extends NetworkStatusImpl
return this.dirKeyExpiresMillis;
}
private String signingKeyDigest;
public String getSigningKeyDigest() {
return this.signingKeyDigest;
String signingKeyDigest = null;
if (!this.directorySignatures.isEmpty()) {
signingKeyDigest = this.directorySignatures.get(
this.directorySignatures.firstKey()).getSigningKeyDigest();
}
return signingKeyDigest;
}
private int networkStatusVersion;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment