summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-11-26 15:13:06 +0000
committerSimon Josefsson <simon@josefsson.org>2006-11-26 15:13:06 +0000
commitb39df7a4d8a3f438c7bc359ef12016437360ea0c (patch)
tree911a0076ba3dce51caef36c25cd01c2ff6f321aa
parent406a87d0e653016ffb2fe069f90a959b266897a1 (diff)
downloadgnutls-b39df7a4d8a3f438c7bc359ef12016437360ea0c.tar.gz
Doc fix.
-rw-r--r--libextra/opencdk/kbnode.c2
-rw-r--r--libextra/opencdk/keydb.c5
-rw-r--r--libextra/opencdk/keygen.c2
-rw-r--r--libextra/opencdk/keylist.c4
-rw-r--r--libextra/opencdk/sign.c2
5 files changed, 7 insertions, 8 deletions
diff --git a/libextra/opencdk/kbnode.c b/libextra/opencdk/kbnode.c
index 5fdbcd1092..758a08a8f9 100644
--- a/libextra/opencdk/kbnode.c
+++ b/libextra/opencdk/kbnode.c
@@ -65,7 +65,7 @@ _cdk_kbnode_clone( cdk_kbnode_t node )
/**
* cdk_kbnode_release:
- * @n: the key node
+ * @node: the key node
*
* Release the memory of the node.
**/
diff --git a/libextra/opencdk/keydb.c b/libextra/opencdk/keydb.c
index ed48bf76b2..21da7066d0 100644
--- a/libextra/opencdk/keydb.c
+++ b/libextra/opencdk/keydb.c
@@ -758,11 +758,10 @@ keydb_pos_from_cache( cdk_keydb_hd_t hd, cdk_dbsearch_t ks,
/**
* cdk_keydb_search:
* @hd: the keydb object
- * @ks: the keydb search object
* @ret_key: kbnode object to store the key
*
- * Search for a key in the given keyring. The search mode is handled
- * via @ks. If the key was found, @ret_key contains the key data.
+ * Search for a key in the given keyring. If the key was found,
+ * @ret_key contains the key data.
**/
cdk_error_t
cdk_keydb_search( cdk_keydb_hd_t hd, cdk_kbnode_t * ret_key )
diff --git a/libextra/opencdk/keygen.c b/libextra/opencdk/keygen.c
index f39bd56ad0..18dd6730d3 100644
--- a/libextra/opencdk/keygen.c
+++ b/libextra/opencdk/keygen.c
@@ -256,7 +256,7 @@ cdk_keygen_set_keyserver_flags( cdk_keygen_ctx_t hd, int no_modify,
*
**/
void
-cdk_keygen_set_expire_date( cdk_keygen_ctx_t hd, int type, long timestamp )
+cdk_keygen_set_expire_date( cdk_keygen_ctx_t hd, int type, long int timestamp )
{
if( !hd )
return;
diff --git a/libextra/opencdk/keylist.c b/libextra/opencdk/keylist.c
index 48aced1b94..d12f0daf9e 100644
--- a/libextra/opencdk/keylist.c
+++ b/libextra/opencdk/keylist.c
@@ -1,7 +1,7 @@
/* -*- Mode: C; c-file-style: "bsd" -*-
* keylist.c - Linked key lists
+ * Copyright (C) 1998-2002, 2006 Free Software Foundation, Inc.
* Copyright (C) 2002, 2003 Timo Schulz
- * Copyright (C) 1998-2002 Free Software Foundation, Inc.
*
* This file is part of OpenCDK.
*
@@ -235,7 +235,7 @@ cdk_pklist_build( cdk_keylist_t * ret_pkl, cdk_keydb_hd_t hd,
/**
* cdk_pklist_encrypt:
- * @pkl: the keylist
+ * @pk_list: the keylist
* @dek: the data encryption key
* @outp: the stream to write in the data
*
diff --git a/libextra/opencdk/sign.c b/libextra/opencdk/sign.c
index 1ca0e52bdb..46e1a90509 100644
--- a/libextra/opencdk/sign.c
+++ b/libextra/opencdk/sign.c
@@ -221,7 +221,7 @@ sig_get_version( cdk_ctx_t hd, cdk_keylist_t kl )
* @inp: input stream
* @out: output stream
* @locusr: local user list for signing
- * @remustr: remote user list for encrypting
+ * @remusr: remote user list for encrypting
* @encryptflag: shall the output be encrypted? (1/0)
* @sigmode: signature mode
*