Changed pk_parse_get_pubkey() to pk_parse_subpubkey()
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h
index 7d141d9..c14c149 100644
--- a/include/polarssl/pk.h
+++ b/include/polarssl/pk.h
@@ -517,8 +517,8 @@
*
* \return 0 if successful, or a specific PK error code
*/
-int pk_parse_get_pubkey( unsigned char **p, const unsigned char *end,
- pk_context *pk );
+int pk_parse_subpubkey( unsigned char **p, const unsigned char *end,
+ pk_context *pk );
#endif /* POLARSSL_PK_PARSE_C */
#if defined(POLARSSL_PK_WRITE_C)