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 const poisoning - po...
details: https://anonhg.NetBSD.org/src/rev/63effd1652de
branches: trunk
changeset: 747887:63effd1652de
user: agc <agc%NetBSD.org@localhost>
date: Sun Oct 04 21:55:55 2009 +0000
description:
const poisoning - pointed out by Poul-Henning Kamp and FlexeLint (many
thanks!)
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c | 4 ++--
crypto/external/bsd/netpgp/dist/src/lib/packet-parse.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r ec2f76d321bd -r 63effd1652de crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c
--- a/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c Sun Oct 04 21:05:18 2009 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c Sun Oct 04 21:55:55 2009 +0000
@@ -58,7 +58,7 @@
#if defined(__NetBSD__)
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: packet-parse.c,v 1.22 2009/06/13 05:25:08 agc Exp $");
+__RCSID("$NetBSD: packet-parse.c,v 1.23 2009/10/04 21:55:55 agc Exp $");
#endif
#ifdef HAVE_OPENSSL_CAST_H
@@ -3306,7 +3306,7 @@
*/
int
-__ops_parse(__ops_stream_t *stream, int perrors)
+__ops_parse(__ops_stream_t *stream, const int perrors)
{
unsigned long pktlen;
int r;
diff -r ec2f76d321bd -r 63effd1652de crypto/external/bsd/netpgp/dist/src/lib/packet-parse.h
--- a/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.h Sun Oct 04 21:05:18 2009 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.h Sun Oct 04 21:55:55 2009 +0000
@@ -134,7 +134,7 @@
__ops_cbdata_t *);
__ops_reader_t *__ops_readinfo(__ops_stream_t *);
-int __ops_parse(__ops_stream_t *, int);
+int __ops_parse(__ops_stream_t *, const int);
/** Used to specify whether subpackets should be returned raw, parsed
* or ignored. */
Home |
Main Index |
Thread Index |
Old Index