summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-22 09:19:53 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-22 09:20:59 +0200
commitdcb382b7897830744e78df7e235fb38f54deb786 (patch)
treebc39ee9dbc12baf539424a7f8a2a523c14722675
parentd41c9937e029f1f4d89d010c43996dfd9bb86262 (diff)
downloadgnutls-dcb382b7897830744e78df7e235fb38f54deb786.tar.gz
doc: corrected error in gnutls_x509_privkey_sign_data parameters [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/x509/privkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/privkey.c b/lib/x509/privkey.c
index a2744ff155..c0d04c741c 100644
--- a/lib/x509/privkey.c
+++ b/lib/x509/privkey.c
@@ -1987,7 +1987,7 @@ gnutls_x509_privkey_sign_hash(gnutls_x509_privkey_t key,
/**
* gnutls_x509_privkey_sign_data:
* @key: a key
- * @digest: should be MD5 or SHA1
+ * @digest: should be a digest algorithm
* @flags: should be 0 for now
* @data: holds the data to be signed
* @signature: will contain the signature