mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-30 01:48:54 +00:00
Fix meaning of rhizome crypto debug message
This commit is contained in:
parent
e4efbf3c8a
commit
ef583bdfaa
@ -377,10 +377,9 @@ int rhizome_verify_bundle_privatekey(rhizome_manifest *m,
|
|||||||
m->haveSecret=0;
|
m->haveSecret=0;
|
||||||
RETURN(-1);
|
RETURN(-1);
|
||||||
}
|
}
|
||||||
|
if (m&&sk==m->cryptoSignSecret&&pkin==m->cryptoSignPublic) {
|
||||||
if (config.debug.rhizome)
|
if (config.debug.rhizome)
|
||||||
DEBUGF("We have the private key for this bundle.");
|
DEBUGF("We have the private key for this bundle.");
|
||||||
if (m&&sk==m->cryptoSignSecret&&pkin==m->cryptoSignPublic) {
|
|
||||||
DEBUGF("Set haveSecret=%d in manifest",EXISTING_BUNDLE_ID);
|
|
||||||
m->haveSecret=EXISTING_BUNDLE_ID;
|
m->haveSecret=EXISTING_BUNDLE_ID;
|
||||||
}
|
}
|
||||||
RETURN(0);
|
RETURN(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user