mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
display number of recipients with -D -d, see: http://www.daemon.de/blog/2017/08/24/436/how-backdoor-store-and-forward-public-key-crypto/ for details
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "crypto.h"
|
#include "crypto.h"
|
||||||
|
|
||||||
|
extern int debug;
|
||||||
|
|
||||||
|
|
||||||
/* asym encr */
|
/* asym encr */
|
||||||
@@ -200,6 +200,10 @@ size_t pcp_decrypt_stream(PCPCTX *ptx, Pcpstream *in, Pcpstream* out, pcp_key_t
|
|||||||
}
|
}
|
||||||
lenrec = be32toh(lenrec);
|
lenrec = be32toh(lenrec);
|
||||||
|
|
||||||
|
if (debug) {
|
||||||
|
fprintf(stderr, "DEBUG: input is encrypted for %ld recipients\n", (long int)lenrec);
|
||||||
|
}
|
||||||
|
|
||||||
if(verify) {
|
if(verify) {
|
||||||
reccipher = ucmalloc(lenrec * PCP_ASYM_RECIPIENT_SIZE);
|
reccipher = ucmalloc(lenrec * PCP_ASYM_RECIPIENT_SIZE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user