[Webkit-unassigned] [Bug 30360] [Chromium] Add <keygen> support
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 14 12:27:20 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30360
--- Comment #2 from Wan-Teh Chang <wtc at google.com> 2009-10-14 12:27:20 PDT ---
In WebCore/platform/chromium/SSLKeyGeneratorChromium.cpp:
> // Returns the key sizes supported by the HTML keygen tag. The first string
> // is displayed as the default key size in the keygen menu.
>-Vector<String> supportedKeySizes()
>+void getSupportedKeySizes(Vector<String>& sizes)
> {
>- Vector<String> sizes(2);
>+ sizes.resize(2);
> sizes[0] = keygenMenuHighGradeKeySize();
> sizes[1] = keygenMenuMediumGradeKeySize();
>- return sizes;
> }
Darin, please make sure we can set the size of a Vector
using the resize() method like this. Thanks.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list