mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-05 20:15:36 +02:00
Add informational string for OCSP response version
This commit is contained in:
committed by
Andres Amaya Garcia
parent
a7598705bf
commit
a86467b6b3
@@ -591,6 +591,11 @@ int mbedtls_x509_ocsp_response_info( char *buf, size_t size,
|
||||
return( ret );
|
||||
}
|
||||
|
||||
/* Print version */
|
||||
ret = mbedtls_snprintf( p, n, "\n%s%-" BC "s: %d", prefix,
|
||||
"response version", resp->version );
|
||||
MBEDTLS_X509_SAFE_SNPRINTF;
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user