- if (BIO_puts(bp, " Verify return code ") <= 0) goto err;
- sprintf(str, "%ld (%s)\n", x->verify_result,
- X509_verify_cert_error_string(x->verify_result));
- if (BIO_puts(bp,str) <= 0) goto err;
+ if (BIO_puts(bp, " Verify return code: ") <= 0) goto err;
+ if (BIO_printf(bp, "%ld (%s)\n", x->verify_result,
+ X509_verify_cert_error_string(x->verify_result)) <= 0) goto err;