New issue
Advanced search Search tips

Issue 751298 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

X509Certificate::GetIntermediateCertificates() documentation refers to nonexistent AddIntermediateCertificate() function

Project Member Reported by lgar...@chromium.org, Aug 1 2017

Issue description

At [1]:

"Returns intermediate certificates added via AddIntermediateCertificate()"

AddIntermediateCertificate() doesn't exist. It *appears* that the intermediates have to be passed into the constructor?

[1] https://cs.chromium.org/chromium/src/net/cert/x509_certificate.h?type=cs&q=%22AddIntermediateCertificate%22&sq=package:chromium&l=226
 
Summary: X509Certificate::GetIntermediateCertificates() documentation refers to nonexistent AddIntermediateCertificate() function (was: X509Certificate::GetIntermediateCertificates() refers to nonexistent AddIntermediateCertificate() function)

Comment 2 by mattm@chromium.org, Aug 1 2017

Owner: mattm@chromium.org
Status: Assigned (was: Untriaged)
Yep, that's some quite outdated documentation. (Though the constructor is private, so from the user's perspective the intermediates would be passed to one of the Create functions.)
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/35ddac448dac4eb643dbfc05d2a7c25c3c7e5848

commit 35ddac448dac4eb643dbfc05d2a7c25c3c7e5848
Author: Matt Mueller <mattm@chromium.org>
Date: Wed Aug 02 03:45:57 2017

Some x509_certificate.h documentation fixes.

Remove reference to non-existant AddIntermediateCertificate method.

Clarify Equals documentation regarding intermediates.

Fix typo.

Bug:  751298 
Change-Id: I630fd51176cc9de7e14a5917ab77f9a60a81f1e5
Reviewed-on: https://chromium-review.googlesource.com/596724
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Matt Mueller <mattm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491255}
[modify] https://crrev.com/35ddac448dac4eb643dbfc05d2a7c25c3c7e5848/net/cert/x509_certificate.h

Comment 4 by mattm@chromium.org, Aug 2 2017

Status: Fixed (was: Assigned)

Sign in to add a comment