mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 15:43:56 +00:00
Squelch debug log message
This commit is contained in:
parent
21a0f31ae4
commit
6599835331
@ -315,12 +315,14 @@ int rhizome_verify_bundle_privatekey(rhizome_manifest *m,
|
||||
ge_scalarmult_base(&A,h);
|
||||
ge_p3_tobytes(pk,&A);
|
||||
|
||||
for (i = 0;i < 32;++i) if (pkin[i] != pk[i]) {
|
||||
for (i = 0;i < 32;++i)
|
||||
if (pkin[i] != pk[i]) {
|
||||
if (m&&sk==m->cryptoSignSecret&&pkin==m->cryptoSignPublic)
|
||||
m->haveSecret=0;
|
||||
RETURN(-1);
|
||||
}
|
||||
DEBUGF("We have the private key for this bundle.");
|
||||
if (debug & DEBUG_RHIZOME)
|
||||
DEBUGF("We have the private key for this bundle.");
|
||||
if (m&&sk==m->cryptoSignSecret&&pkin==m->cryptoSignPublic) {
|
||||
DEBUGF("Set haveSecret=1 in manifest");
|
||||
m->haveSecret=1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user