From 9132dd53bcd5b100bdd3841cdcf5fae44f4e9da3 Mon Sep 17 00:00:00 2001 From: TLINDEN Date: Wed, 24 Aug 2016 21:26:37 +0200 Subject: [PATCH] using -v instead of -D to show number of recipients --- INSTALL | 6 +++--- include/pcp/config.h.in | 3 --- libpcp/crypto.c | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/INSTALL b/INSTALL index 6e90e07..2099840 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ Installation Instructions ************************* -Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, +Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, @@ -12,8 +12,8 @@ without warranty of any kind. Basic Installation ================== - Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following + Briefly, the shell command `./configure && make && make install' +should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented diff --git a/include/pcp/config.h.in b/include/pcp/config.h.in index 7f7bd36..b53de92 100644 --- a/include/pcp/config.h.in +++ b/include/pcp/config.h.in @@ -160,9 +160,6 @@ */ #undef LT_OBJDIR -/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -#undef NO_MINUS_C_MINUS_O - /* Name of package */ #undef PACKAGE diff --git a/libpcp/crypto.c b/libpcp/crypto.c index 65a43ea..f4468d3 100644 --- a/libpcp/crypto.c +++ b/libpcp/crypto.c @@ -22,7 +22,6 @@ #include "crypto.h" -extern int debug; /* asym encr */ @@ -200,7 +199,7 @@ size_t pcp_decrypt_stream(PCPCTX *ptx, Pcpstream *in, Pcpstream* out, pcp_key_t } lenrec = be32toh(lenrec); - if (debug) { + if (ptx->verbose) { fprintf(stderr, "DEBUG: input is encrypted for %ld recipients\n", (long int)lenrec); }