PK: change the check_pair interface to take full private context
diff --git a/include/mbedtls/pk_info.h b/include/mbedtls/pk_info.h
index a8b735f..a4bba46 100644
--- a/include/mbedtls/pk_info.h
+++ b/include/mbedtls/pk_info.h
@@ -202,7 +202,7 @@
* is guaranteed to be initialized.
*
* Opaque implementations may omit this method. */
- int (*check_pair_func)( const mbedtls_pk_context *pub, const void *prv );
+ int (*check_pair_func)( const mbedtls_pk_context *pub, const mbedtls_pk_context *prv );
/** Allocate a new context
*