mpeylo / cmpossl

An OpenSSL-based implementation of the Certificate Management Protocol (CMP), defined in IETF RFCs 4210, 4211, and 6712. It is being extended according to the emerging RFCs 'CMP Updates' (CMPv3), 'CMP Algorithms', and 'Lightweight CMP Profile'.
https://github.com/mpeylo/cmpossl/wiki
Other
35 stars 13 forks source link

Avoid error log on success case of CMP msg processing on Mock server #195

Closed raja-ashok closed 4 years ago

raja-ashok commented 5 years ago

On Success case also mock server prints log as certificate rejected by client. Removed it.

DDvO commented 5 years ago

You are right that in case of acceptance (statusInfo->status == accepted or maybe also acceptedWithMods) no rejection info should be printed, but in case of other status values (in in particular, rejection), it should.

DDvO commented 4 years ago

I've fixed this issue both in cmp and cmp-dev. Thanks for pointing this out.