diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-02-12 20:45:01 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-02-12 20:45:01 +0100 |
commit | 0bc931b1530e31f31215622e8ad38157f8e46218 (patch) | |
tree | ced6883527edb8433b95c037ad1c98af028b29af /lib | |
parent | ec7b99aaeb7b0fe27e3ff79ef5ef974b63da7904 (diff) | |
download | gnutls-0bc931b1530e31f31215622e8ad38157f8e46218.tar.gz |
doc update
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gnutls_pubkey.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_pubkey.c b/lib/gnutls_pubkey.c index 94d826865d..cc250215ed 100644 --- a/lib/gnutls_pubkey.c +++ b/lib/gnutls_pubkey.c @@ -250,6 +250,9 @@ gnutls_pubkey_import_privkey (gnutls_pubkey_t key, gnutls_privkey_t pkey, * algorithm to use for signing with this certificate. Some certificates (i.e. * DSA might not be able to sign without the preferred algorithm). * + * To get the signature algorithm instead of just the hash use gnutls_pk_to_sign() + * with the algorithm of the certificate/key and the provided @hash. + * * Returns: the 0 if the hash algorithm is found. A negative error code is * returned on error. * |