-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance bindings for Crypt32 and fix bindings for array attributes
The implementations of the rgAttribute, rgCTLEntry and rgExtension attributes are not in line with the observed behaviour of the API. At least in part they are documented to be pointers to arrays of pointers to structures. This is not correct, as segfaults were observed and testing shows, that they are in fact pointers to arrays of structures. In addition it was observed, that the bindings of CTL_INFO#getRgCTLEntry and CTL_INFO#getRgExtension method names were inverted. The bindings for CERT_EXTENSIONS#getRgExtension and CTL_INFO#getRgExtension are untested as but assumed to be implemented identically to the tested bindings. The functions - CertEnumCertificatesInStore - CertEnumCTLsInStore - CertEnumCRLsInStore - CryptQueryObject from `c.s.j.p.win32.Crypt32` were bound to be able to excercise the accessors.
- Loading branch information
1 parent
dbc6298
commit 6120932
Showing
4 changed files
with
590 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.