PK: use NULL for unimplemented operations
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h
index 5104bc0..fb0e92e 100644
--- a/include/polarssl/pk.h
+++ b/include/polarssl/pk.h
@@ -45,7 +45,7 @@
#endif
#define POLARSSL_ERR_PK_MALLOC_FAILED -0x2F80 /**< Memory alloation failed. */
-#define POLARSSL_ERR_PK_TYPE_MISMATCH -0x2F00 /**< Type mismatch, eg attempt to use a RSA key as EC, or to modify key type. */
+#define POLARSSL_ERR_PK_TYPE_MISMATCH -0x2F00 /**< Type mismatch, eg attempt to encrypt with an ECDSA key */
#define POLARSSL_ERR_PK_BAD_INPUT_DATA -0x2E80 /**< Bad input parameters to function. */
#if defined(POLARSSL_RSA_C)