clean up some lint that crept in.
This commit is contained in:
parent
b15ec256c0
commit
62ab1e4abf
|
@ -57,7 +57,7 @@
|
|||
|
||||
#if defined(__NetBSD__)
|
||||
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
|
||||
__RCSID("$NetBSD: keyring.c,v 1.28 2010/03/05 16:01:09 agc Exp $");
|
||||
__RCSID("$NetBSD: keyring.c,v 1.29 2010/03/05 16:30:05 agc Exp $");
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
|
@ -975,6 +975,7 @@ __ops_export_key(__ops_io_t *io, const __ops_key_t *keydata, uint8_t *passphrase
|
|||
__ops_memory_t *mem;
|
||||
char *cp;
|
||||
|
||||
__OPS_USED(io);
|
||||
__ops_setup_memory_write(&output, &mem, 128);
|
||||
if (keydata->type == OPS_PTAG_CT_PUBLIC_KEY) {
|
||||
__ops_write_xfer_pubkey(output, keydata, 1);
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#if defined(__NetBSD__)
|
||||
__COPYRIGHT("@(#) Copyright (c) 2009 The NetBSD Foundation, Inc. All rights reserved.");
|
||||
__RCSID("$NetBSD: netpgp.c,v 1.41 2010/03/05 16:01:09 agc Exp $");
|
||||
__RCSID("$NetBSD: netpgp.c,v 1.42 2010/03/05 16:30:05 agc Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -725,7 +725,7 @@ netpgp_generate_key(netpgp_t *netpgp, char *id, int numbits)
|
|||
io = netpgp->io;
|
||||
/* generate a new key for 'id' */
|
||||
uid.userid = (uint8_t *) id;
|
||||
keypair = __ops_rsa_new_selfsign_key(numbits, (uint32_t) 65537, &uid);
|
||||
keypair = __ops_rsa_new_selfsign_key(numbits, 65537UL, &uid);
|
||||
if (keypair == NULL) {
|
||||
(void) fprintf(io->errs, "Cannot generate key\n");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue