Created attachment 349457 [details] [diff] [review]
The input parameter 'trusts' to CERT_DecodeTrustString is a char *.
It should be a const char *.
Dan Kegel suggested this change.
Comment on attachment 349457 [details] [diff] [review]
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
Checking in certdb.c;
/cvsroot/mozilla/security/nss/lib/certdb/certdb.c,v <-- certdb.c
new revision: 1.94; previous revision: 1.93