Branch: Tag:

2015-11-08

2015-11-08 00:59:50 by Martin Nilsson <nilsson@fastmail.com>

Updated documentation to mention that verify_certificate_chain also can return CERT_UNAUTHORIZED_CA and CERT_EXCEEDED_PATH_LENGTH.

1639:   //! Error describing type of verification failures, if   //! verification failed. May be one of the following, OR:ed   //! together: @[CERT_TOO_NEW], @[CERT_TOO_OLD], - //! @[CERT_ROOT_UNTRUSTED], @[CERT_BAD_SIGNATURE], @[CERT_INVALID] - //! or @[CERT_CHAIN_BROKEN]. + //! @[CERT_ROOT_UNTRUSTED], @[CERT_BAD_SIGNATURE], + //! @[CERT_INVALID], @[CERT_CHAIN_BROKEN], @[CERT_UNAUTHORIZED_CA] + //! or @[CERT_EXCEEDED_PATH_LENGTH].   //! @member int "error_cert"   //! Index number of the certificate that caused the verification failure.   //! @member int(0..1) "self_signed"