Created attachment 364116 [details] [diff] [review]
In bug 402712 comment 13, Rob Crittenden fixed a bug in
the new lib/ckfw/pem module where we were passing the
wrong argument CKC_X_509 to the sizeof operator for ckc_x509.
The same code was copied to lib/ckfw/capi and lib/ckfw/nssmkey.
The proposed patch fixes them.
Comment on attachment 364116 [details] [diff] [review]
Thanks for noticing this and getting it fixed Wan-Teh!
I checked in the patch on the NSS trunk (NSS 3.12.3).
Checking in capi/cobject.c;
/cvsroot/mozilla/security/nss/lib/ckfw/capi/cobject.c,v <-- cobject.c
new revision: 1.5; previous revision: 1.4
Checking in nssmkey/mobject.c;
/cvsroot/mozilla/security/nss/lib/ckfw/nssmkey/mobject.c,v <-- mobject.c
new revision: 1.4; previous revision: 1.3