diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-07-12 21:14:31 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-07-12 21:14:31 +0000 |
commit | a6b0a0ad6031b533b16a87b58969e48bbac28f26 (patch) | |
tree | d3aea56afe5b1724395aa12f217f9bed18491c52 | |
parent | be39dab8b163500e665fe90503afb5a741b54633 (diff) | |
download | gnutls-a6b0a0ad6031b533b16a87b58969e48bbac28f26.tar.gz |
*** empty log message ***
-rw-r--r-- | lib/gnutls_x509.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index e01007769d..91899ebe03 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -2186,6 +2186,9 @@ int _gnutls_check_x509_key_usage(const gnutls_cert * cert, * Returns 0 on success. If the provided buffer is not long enough, * then GNUTLS_E_INVALID_REQUEST is returned. * + * After the last certificate has been read GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE + * will be returned. + * **/ int gnutls_x509_pkcs7_extract_certificate(const gnutls_datum * pkcs7_struct, int indx, char* certificate, int* certificate_size) { |