Hi again,

another problem I addressed with a patch is the logging of serial numbers.
The serials of certificates issued by a windows CA can extend the size of
integers defined by the format strings for logging, which leads to log
lines like:
Jun 14 16:40:16 host ocspd[9587]: request for certificate serial -1
Jun 14 16:40:16 host ocspd[9587]: status VALID for -1

In an attempt to comfirm the sizing issue, I replaced the format string
%ld by %lld in ocsp_response.c. Now the serials are printed. Since the
format ASN1_INTEGER <> long int nor long long int, I'm not sure on how to
solve this cleanly, and I'm no expert in this at all.

Cheers,
seBASStian


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to