Adapt uses of `mbedtls_rsa_complete` to removed PRNG argument
diff --git a/library/pkparse.c b/library/pkparse.c
index f0b9db3..57f966f 100644
--- a/library/pkparse.c
+++ b/library/pkparse.c
@@ -540,7 +540,7 @@
*p += len;
- if( ( ret = mbedtls_rsa_complete( rsa, NULL, NULL ) ) != 0 )
+ if( ( ret = mbedtls_rsa_complete( rsa ) ) != 0 )
return( MBEDTLS_ERR_PK_INVALID_PUBKEY );
if( *p != end )
@@ -745,7 +745,7 @@
p += len;
/* Complete the RSA private key */
- if( ( ret = mbedtls_rsa_complete( rsa, NULL, NULL ) ) != 0 )
+ if( ( ret = mbedtls_rsa_complete( rsa ) ) != 0 )
goto cleanup;
/* Check optional parameters */