Index: net/third_party/nss/ssl/ssl.h |
diff --git a/net/third_party/nss/ssl/ssl.h b/net/third_party/nss/ssl/ssl.h |
index 3515007245e41f809ad34c117167a99ff27a03fb..21d7c8dda7f5e8783e634eb53009115c367e122c 100644 |
--- a/net/third_party/nss/ssl/ssl.h |
+++ b/net/third_party/nss/ssl/ssl.h |
@@ -351,8 +351,12 @@ SSL_IMPORT SECStatus SSL_GetClientAuthDataHook(PRFileDesc *fd, |
* the client cert, and any following being used for chain |
* building |
* pRetKey - pointer to native key pointer, for return of key |
- * - Windows: pointer to HCRYPTPROV |
- * - Mac OS X: pointer to SecKeyRef |
+ * - Windows: A pointer to a PCERT_KEY_CONTEXT that was allocated |
+ * via PORT_Alloc(). Ownership of the PCERT_KEY_CONTEXT |
+ * is transferred to NSS, which will free via |
+ * PORT_Free(). |
+ * - Mac OS X: A pointer to a SecKeyRef. Ownership is |
+ * transferred to NSS, which will free via CFRelease(). |
*/ |
typedef SECStatus (PR_CALLBACK *SSLGetPlatformClientAuthData)(void *arg, |
PRFileDesc *fd, |