Closed
Bug 950169
Opened 11 years ago
Closed 10 years ago
LogInvalidCertError doesn't use about half of its arguments
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: keeler, Assigned: retornam)
Details
(Whiteboard: [good first bug])
Attachments
(1 file, 3 obsolete files)
2.18 KB,
patch
|
keeler
:
review+
|
Details | Diff | Splinter Review |
211 void 212 LogInvalidCertError(TransportSecurityInfo *socketInfo, 213 const nsACString &host, 214 const nsACString &hostWithPort, 215 int32_t port, 216 PRErrorCode errorCode, 217 ::mozilla::psm::SSLErrorMessageType errorMessageType, 218 nsIX509Cert* ix509) 219 { 220 nsString message; 221 socketInfo->GetErrorLogMessage(errorCode, errorMessageType, message); 222 223 if (!message.IsEmpty()) { 224 nsContentUtils::LogSimpleConsoleError(message, "SSL"); 225 } 226 } host, hostWithPort, port, and ix509 are unused.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mozbugs.retornam
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8349651 -
Flags: review?(dkeeler)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 8349651 [details] [diff] [review] bug-950169.patch Review of attachment 8349651 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. You'll also need to modify the call to LogInvalidCertError around line 423, though. ::: security/manager/ssl/src/SSLServerCertVerification.cpp @@ +208,5 @@ > > namespace { > > void > LogInvalidCertError(TransportSecurityInfo *socketInfo, While we're here, it would be nice to get rid of this unnecessary trailing whitespace. @@ +215,4 @@ > { > nsString message; > socketInfo->GetErrorLogMessage(errorCode, errorMessageType, message); > There's some unnecessary whitespace on this line as well (although we can keep the blank line itself).
Attachment #8349651 -
Flags: review?(dkeeler) → review-
Assignee | ||
Comment 3•11 years ago
|
||
removed the extra whitespaces.
Attachment #8349651 -
Attachment is obsolete: true
Attachment #8349665 -
Flags: review?(dkeeler)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8349665 -
Attachment is obsolete: true
Attachment #8349665 -
Flags: review?(dkeeler)
Attachment #8349674 -
Flags: review?(dkeeler)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8349674 -
Attachment is obsolete: true
Attachment #8349674 -
Flags: review?(dkeeler)
Attachment #8349716 -
Flags: review?(dkeeler)
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8349716 [details] [diff] [review] bug-950169.patch Review of attachment 8349716 [details] [diff] [review]: ----------------------------------------------------------------- Great! If you're not already familiar with checkin procedure, I would have a look at this: http://blog.bonardo.net/2010/06/22/so-youre-about-to-use-checkin-needed
Attachment #8349716 -
Flags: review?(dkeeler) → review+
Reporter | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f95bc5df7fcf
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f95bc5df7fcf
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•