diff options
Diffstat (limited to 'crypto/cmp/cmp_status.c')
-rw-r--r-- | crypto/cmp/cmp_status.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/cmp/cmp_status.c b/crypto/cmp/cmp_status.c index 68144aa4fed8..b9086d84f846 100644 --- a/crypto/cmp/cmp_status.c +++ b/crypto/cmp/cmp_status.c @@ -184,11 +184,11 @@ char *snprint_PKIStatusInfo_parts(int status, int fail_info, || (status_string = ossl_cmp_PKIStatus_to_string(status)) == NULL) return NULL; -#define ADVANCE_BUFFER \ - if (printed_chars < 0 || (size_t)printed_chars >= bufsize) \ - return NULL; \ - write_ptr += printed_chars; \ - bufsize -= printed_chars; +#define ADVANCE_BUFFER \ + if (printed_chars < 0 || (size_t)printed_chars >= bufsize) \ + return NULL; \ + write_ptr += printed_chars; \ + bufsize -= printed_chars; printed_chars = BIO_snprintf(write_ptr, bufsize, "%s", status_string); ADVANCE_BUFFER; |