diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-10 15:23:11 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-10 15:23:11 +0200 |
commit | 89f5f9b4a81ee4cc04ca5a37887c15368395670f (patch) | |
tree | e90932b367b256d39cdbd0460d66f9ee400f3ea2 | |
parent | 99f4643f64ae51cb44f9f8010811e940da5ac463 (diff) | |
download | gnutls-89f5f9b4a81ee4cc04ca5a37887c15368395670f.tar.gz |
doc: updated documentation for gnutls_x509_crt_get_*_dn
-rw-r--r-- | lib/x509/x509.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 8d76f0df8d..183e8b8b9d 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -481,9 +481,10 @@ gnutls_x509_crt_import(gnutls_x509_crt_t cert, * * If @buf is null then only the size will be filled. * - * Returns: GNUTLS_E_SHORT_MEMORY_BUFFER if the provided buffer is not - * long enough, and in that case the @buf_size will be updated with - * the required size. On success 0 is returned. + * Returns: %GNUTLS_E_SHORT_MEMORY_BUFFER if the provided buffer is not + * long enough, and in that case the @buf_size will be updated + * with the required size. %GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if + * the DN does not exist, or another error value on error. On success 0 is returned. **/ int gnutls_x509_crt_get_issuer_dn(gnutls_x509_crt_t cert, char *buf, @@ -627,7 +628,8 @@ gnutls_x509_crt_get_issuer_dn_oid(gnutls_x509_crt_t cert, * * Returns: %GNUTLS_E_SHORT_MEMORY_BUFFER if the provided buffer is not * long enough, and in that case the @buf_size will be updated - * with the required size. On success 0 is returned. + * with the required size. %GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if + * the DN does not exist, or another error value on error. On success 0 is returned. **/ int gnutls_x509_crt_get_dn(gnutls_x509_crt_t cert, char *buf, |