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/netpgpverify Make this c...
details: https://anonhg.NetBSD.org/src/rev/d05ccec1d88a
branches: trunk
changeset: 754554:d05ccec1d88a
user: agc <agc%NetBSD.org@localhost>
date: Tue May 04 00:02:46 2010 +0000
description:
Make this compile with gcc 4.5 - patch from Juan RP in PR pkg/43244
diffstat:
crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r b8accf38518a -r d05ccec1d88a crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c
--- a/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c Mon May 03 23:04:12 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/netpgpverify/verify.c Tue May 04 00:02:46 2010 +0000
@@ -55,7 +55,7 @@
#if defined(__NetBSD__)
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: verify.c,v 1.9 2010/04/14 06:31:23 agc Exp $");
+__RCSID("$NetBSD: verify.c,v 1.10 2010/05/04 00:02:46 agc Exp $");
#endif
#include <sys/types.h>
@@ -569,6 +569,7 @@
* \see RFC4880 9.1
*/
typedef enum {
+ OPS_PKA_NONE = 0, /* null value */
OPS_PKA_RSA = 1, /* RSA (Encrypt or Sign) */
OPS_PKA_RSA_ENCRYPT_ONLY = 2, /* RSA Encrypt-Only (deprecated -
* \see RFC4880 13.5) */
@@ -5550,7 +5551,7 @@
free_BN(&p->key.elgamal.y);
break;
- case 0:
+ case OPS_PKA_NONE:
/* nothing to free */
break;
Home |
Main Index |
Thread Index |
Old Index