From fdc5b563f92803cf0e3925bbfde3f08e4554b641 Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Thu, 18 Oct 2007 23:10:39 -0700 Subject: [PATCH] Bug 345665 - "nsKeygenHandler calls nsITokenDialogs ::ChooseToken with NULL context" [p=chpe r=kaie sr=dveditz a1.9=sayrer] --- security/manager/ssl/src/nsKeygenHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/manager/ssl/src/nsKeygenHandler.cpp b/security/manager/ssl/src/nsKeygenHandler.cpp index c15f7c701d6a..f63cd14975a2 100644 --- a/security/manager/ssl/src/nsKeygenHandler.cpp +++ b/security/manager/ssl/src/nsKeygenHandler.cpp @@ -478,7 +478,7 @@ GetSlotWithMechanism(PRUint32 aMechanism, rv = NS_ERROR_NOT_AVAILABLE; } else { - rv = dialogs->ChooseToken(nsnull, (const PRUnichar**)tokenNameList, numSlots, &unicodeTokenChosen, &canceled); + rv = dialogs->ChooseToken(m_ctx, (const PRUnichar**)tokenNameList, numSlots, &unicodeTokenChosen, &canceled); } } NS_RELEASE(dialogs);