commit | 66b78b2d166d68e48193e8c33f6756caa3e73714 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Mar 25 14:22:50 2011 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Mar 25 14:22:50 2011 +0000 |
tree | 8a412807989e52ac84dd633ee8ff21f30fc1aa60 | |
parent | 2291f6c19d286dd5dcad4441d207be46bb23675e [diff] [blame] |
- Added missing rsa_init() call in x509parse_self_test()
diff --git a/library/x509parse.c b/library/x509parse.c index df671ef..b13fbde 100644 --- a/library/x509parse.c +++ b/library/x509parse.c
@@ -3036,6 +3036,8 @@ i = strlen( test_ca_key ); j = strlen( test_ca_pwd ); + rsa_init( &rsa, RSA_PKCS_V15, 0 ); + if( ( ret = x509parse_key( &rsa, (unsigned char *) test_ca_key, i, (unsigned char *) test_ca_pwd, j ) ) != 0 )