removed some debugging.

This commit is contained in:
gardners 2012-05-17 11:51:26 +09:30
parent 231058a218
commit e64469d3e9

@ -216,7 +216,6 @@ rhizome_signature *rhizome_sign_hash(rhizome_manifest *m,const char *author)
WHY("crypto_sign() failed.");
return NULL;
}
dump("formed sig",signatureBuffer,sigLen);
rhizome_signature *out=calloc(sizeof(rhizome_signature),1);
@ -263,7 +262,6 @@ int rhizome_manifest_extract_signature(rhizome_manifest *m,int *ofs)
bcopy(&m->manifestdata[(*ofs)+1+32],&sigBuf[96],32);
/* Get public key of signatory */
bcopy(&m->manifestdata[(*ofs)+1+64],&publicKey[0],crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES);
dump("reconst sigblock",&sigBuf[0],128);
unsigned long long mlen=0;
int r=crypto_sign_edwards25519sha512batch_open(verifyBuf,&mlen,&sigBuf[0],128,