1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Renamed x509_cert structure to x509_crt for consistency

This commit is contained in:
Paul Bakker
2013-09-18 14:13:26 +02:00
parent 9556d3d650
commit c559c7a680
25 changed files with 114 additions and 112 deletions

View File

@ -115,7 +115,7 @@ static void my_debug( void *ctx, int level, const char *str )
/*
* Enabled if debug_level > 1 in code below
*/
static int my_verify( void *data, x509_cert *crt, int depth, int *flags )
static int my_verify( void *data, x509_crt *crt, int depth, int *flags )
{
char buf[1024];
((void) data);
@ -255,8 +255,8 @@ int main( int argc, char *argv[] )
ssl_context ssl;
ssl_session saved_session;
#if defined(POLARSSL_X509_CRT_PARSE_C)
x509_cert cacert;
x509_cert clicert;
x509_crt cacert;
x509_crt clicert;
pk_context pkey;
#endif
char *p, *q;