fixed compile error (unused var)

This commit is contained in:
git@daemon.de
2015-07-07 09:46:23 +02:00
parent 57517a1000
commit 6ce39a21d8
2 changed files with 4 additions and 1 deletions

View File

@@ -716,6 +716,9 @@ Buffer *pcp_export_rfc_pub (PCPCTX *ptx, pcp_key_t *sk) {
memset(sig, 0, crypto_sign_BYTES + crypto_generichash_BYTES_MAX);
free(sig);
if(out->end < 32)
fatal(ptx, "failed to export public key");
return out;
}