This commit is contained in:
git@daemon.de
2016-08-24 17:25:57 +02:00
parent 3f1c2d9b15
commit ab5b6c0b13

View File

@@ -22,7 +22,7 @@
#include "crypto.h"
extern int debug;
/* asym encr */
@@ -200,6 +200,10 @@ size_t pcp_decrypt_stream(PCPCTX *ptx, Pcpstream *in, Pcpstream* out, pcp_key_t
}
lenrec = be32toh(lenrec);
if (debug) {
fprintf(stderr, "DEBUG: input is encrypted for %ld recipients\n", (long int)lenrec);
}
if(verify) {
reccipher = ucmalloc(lenrec * PCP_ASYM_RECIPIENT_SIZE);
}