summaryrefslogtreecommitdiff
path: root/plugin/plugin.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-23Implement the "NonVisibleData" parameterSamuel Lidén Borell1-0/+2
This parameter works like TextToBeSigned, except that the text is not shown to the user. It's used by Skatteverket (the Swedish Tax Office) to sign XML documents, for instance.
2010-03-23Allow signing without a subject filterSamuel Lidén Borell1-2/+1
2010-02-20Fixed crash on 64 bit platforms.Hakan Kvist1-1/+2
The npn_getvalue on NPNVnetscapeWindow returns a Window on X11. A X11 Window is defined as an unsigned long. This happends to be 8 bytes on amd64 and 4 bytes on i386 (int is 4 bytes on both amd64 and i386). So prevously the code worked on i386, but not on amd64 where you instead got a SIGSEV. Signed-off-by: Hakan Kvist <fribid@svenskascenarbetaremotkonfetti.se>
2010-01-27Made the subject filter optional and a common parameterSamuel Lidén Borell1-1/+2
Now it can be used in authentication objects too.
2010-01-02Prevent multiple windows from getting opened from the same web siteSamuel Lidén Borell1-2/+42
2010-01-02Handle memory allocation errorsSamuel Lidén Borell1-2/+9
Also fixes a couple of very unlikely integer overflows.
2010-01-02Error codes for invalid actions and missing parametersSamuel Lidén Borell1-3/+4
2010-01-02Made the window modal instead of "stay on top"Samuel Lidén Borell1-1/+3
2010-01-02Allow the "Policys" parameter to be unsetSamuel Lidén Borell1-1/+1
2010-01-02Fixed a compile warningSamuel Lidén Borell1-1/+1
2010-01-02Fixed the return values of GetParam and PerformActionSamuel Lidén Borell1-5/+3
2010-01-02Fixed a NULL dereference in GetParamSamuel Lidén Borell1-1/+1
2010-01-02Fixed a NULL dereference bugSamuel Lidén Borell1-2/+16
2010-01-02Licensed most files under the MIT/Expat licenseSamuel Lidén Borell1-0/+24
Exceptions: The files np_entry.c and npn_gate.c were licensed under the NPL (the Netscape Public License) by their authors. A few files do not have any license information. This is because I consider them to be to short/simple to be copyrightable works.
2010-01-02Implemented signingSamuel Lidén Borell1-8/+31
2010-01-02Made most of the code run in a separate processSamuel Lidén Borell1-0/+73
This was done to avoid interference with the browser and some libraries.