Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib Apply the patch from...
details: https://anonhg.NetBSD.org/src/rev/e64f122a99ea
branches: trunk
changeset: 758430:e64f122a99ea
user: agc <agc%NetBSD.org@localhost>
date: Thu Nov 04 16:24:22 2010 +0000
description:
Apply the patch from Peter Pentchev in PR 44041
``When netpgp thinks (even for a little while, even if it
should change its mind almost immediately) that it's
processing a detached signature, it sends a message to that
effect to io->outs.
This kind of interferes with "netpgp --cat" :)''
Use io->errs instead of io->outs for the informational message.
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/validate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 81995d22d2bf -r e64f122a99ea crypto/external/bsd/netpgp/dist/src/lib/validate.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/validate.c Thu Nov 04 16:13:35 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/validate.c Thu Nov 04 16:24:22 2010 +0000
@@ -54,7 +54,7 @@
#if defined(__NetBSD__)
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: validate.c,v 1.40 2010/11/04 16:13:35 agc Exp $");
+__RCSID("$NetBSD: validate.c,v 1.41 2010/11/04 16:24:22 agc Exp $");
#endif
#include <sys/types.h>
@@ -508,7 +508,7 @@
data->detachname) {
/* check we have seen some data */
/* if not, need to read from detached name */
- (void) fprintf(io->outs,
+ (void) fprintf(io->errs,
"netpgp: assuming signed data in \"%s\"\n",
data->detachname);
data->mem = __ops_memory_new();
Home |
Main Index |
Thread Index |
Old Index