- Made changes for better compatibility with old-style C compilers

This commit is contained in:
Paul Bakker 2009-03-28 17:53:03 +00:00
parent ebb2bebbe2
commit 026c03b7f4
9 changed files with 20 additions and 19 deletions

View file

@ -83,6 +83,8 @@ int main( void )
* 1.2. Load own certificate
*/
char name[512];
int flags;
snprintf(name, 512, "ssl/test-ca/%s", client_certificates[i]);
printf( " . Loading the client certificatei %s...", name );
@ -105,8 +107,6 @@ int main( void )
printf( " . Verify the client certificate with CA certificate..." );
fflush( stdout );
int flags;
ret = x509parse_verify( &clicert, &cacert, NULL, &flags );
if( ret != 0 )
{