Last Comment Bug 466194 - CERT_DecodeTrustString should take a const char * input trusts string.
: CERT_DecodeTrustString should take a const char * input trusts string.
Status: RESOLVED FIXED
:
Product: NSS
Classification: Components
Component: Libraries (show other bugs)
: unspecified
: All All
: -- minor (vote)
: 3.12.3
Assigned To: Wan-Teh Chang
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-21 11:08 PST by Wan-Teh Chang
Modified: 2008-11-21 13:03 PST (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Proposed patch (1.20 KB, patch)
2008-11-21 11:08 PST, Wan-Teh Chang
alvolkov.bgs: review+
Details | Diff | Splinter Review

Description Wan-Teh Chang 2008-11-21 11:08:24 PST
Created attachment 349457 [details] [diff] [review]
Proposed patch

The input parameter 'trusts' to CERT_DecodeTrustString is a char *.
It should be a const char *.
Comment 1 Wan-Teh Chang 2008-11-21 11:09:17 PST
Dan Kegel suggested this change.
Comment 2 Alexei Volkov 2008-11-21 11:47:40 PST
Comment on attachment 349457 [details] [diff] [review]
Proposed patch

r+
Comment 3 Wan-Teh Chang 2008-11-21 13:03:10 PST
I checked in the patch on the NSS trunk (NSS 3.12.3).

Checking in cert.h;
/cvsroot/mozilla/security/nss/lib/certdb/cert.h,v  <--  cert.h
new revision: 1.75; previous revision: 1.74
done
Checking in certdb.c;
/cvsroot/mozilla/security/nss/lib/certdb/certdb.c,v  <--  certdb.c
new revision: 1.94; previous revision: 1.93
done

Note You need to log in before you can comment on or make changes to this bug.