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:08 +0200
commit165b050f957c698e8594eb1e36408ff1ed732e17 (patch)
treec9c957d9a7523eb76e717f111e1a94d525b6953e
parent6ac700ea24bb1fa29671714340068c3787012e28 (diff)
downloadgnutls-165b050f957c698e8594eb1e36408ff1ed732e17.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 1c40615a5a..c88f4fa681 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