From 91b4159834de5052836051aae94d047577df7254 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Thu, 5 May 2011 12:01:31 +0000
Subject: [PATCH] - Added missing rsa_init() statement
---
programs/ssl/ssl_server.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/ssl/ssl_server.c b/programs/ssl/ssl_server.c
index c64a83502..096482ec2 100644
--- a/programs/ssl/ssl_server.c
+++ b/programs/ssl/ssl_server.c
@@ -210,6 +210,7 @@ int main( void )
goto exit;
}
+ rsa_init( &rsa, RSA_PKCS_V15, 0 );
ret = x509parse_key( &rsa, (unsigned char *) test_srv_key,
strlen( test_srv_key ), NULL, 0 );
if( ret != 0 )