summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-01-16 10:15:08 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-01-16 10:18:34 +0100
commit7672ebe67af760755a52b1a2f0a74d89e1d59002 (patch)
tree0ffdf1a3afde75385fbd81490e71b1df5322c638
parent12743f58789ccfc3cb9d8b0d117b561252d6dc6d (diff)
downloadgnutls-7672ebe67af760755a52b1a2f0a74d89e1d59002.tar.gz
gnutls_x509_crt_get_authority_info_access: doc update
-rw-r--r--lib/x509/x509.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index d852937be6..a06cca12e8 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -3678,17 +3678,20 @@ legacy_parse_aia(ASN1_TYPE src,
*
* If @what is %GNUTLS_IA_URI, @data will hold the accessLocation URI
* data. Requesting this @what value leads to an error if the
- * accessLocation is not of the "uniformResourceIdentifier" type.
+ * accessLocation is not of the "uniformResourceIdentifier" type.
*
* If @what is %GNUTLS_IA_OCSP_URI, @data will hold the OCSP URI.
* Requesting this @what value leads to an error if the accessMethod
* is not 1.3.6.1.5.5.7.48.1 aka OSCP, or if accessLocation is not of
- * the "uniformResourceIdentifier" type.
+ * the "uniformResourceIdentifier" type. In that case %GNUTLS_E_UNKNOWN_ALGORITHM
+ * will be returned, and @seq should be increased and this function
+ * called again.
*
* If @what is %GNUTLS_IA_CAISSUERS_URI, @data will hold the caIssuers
* URI. Requesting this @what value leads to an error if the
* accessMethod is not 1.3.6.1.5.5.7.48.2 aka caIssuers, or if
* accessLocation is not of the "uniformResourceIdentifier" type.
+ * In that case handle as in %GNUTLS_IA_OCSP_URI.
*
* More @what values may be allocated in the future as needed.
*