- 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 )