commit | 5c2364c2bac4c0c0c269235aa701ec7e07a1e00e | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Oct 01 14:41:15 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Oct 01 14:41:15 2012 +0000 |
tree | 51de66388f33a7b14e34b8b985cc557d3cf0c11d | |
parent | 6adff7497a010b49ec2d0e18ed2c5bacf1054a04 [diff] [blame] |
- Moved from unsigned long to uint32_t throughout code
diff --git a/library/x509parse.c b/library/x509parse.c index a9fd0e8..85638ad 100644 --- a/library/x509parse.c +++ b/library/x509parse.c
@@ -2704,7 +2704,7 @@ SAFE_SNPRINTF(); ret = snprintf( p, n, "\n%sRSA key size : %d bits\n", prefix, - (int) crt->rsa.N.n * (int) sizeof( unsigned long ) * 8 ); + (int) crt->rsa.N.n * (int) sizeof( t_uint ) * 8 ); SAFE_SNPRINTF(); return( (int) ( size - n ) );