p11-glue / p11-kit

Provides a way to load and enumerate PKCS#11 modules.
https://p11-glue.github.io/p11-glue/p11-kit.html
Other
149 stars 91 forks source link

Rename "template" parameters in iter.h #616

Closed ZoltanFridrich closed 7 months ago

ZoltanFridrich commented 7 months ago

Fixes the following errors when compiling C++ source file linked with p11-kit:

/usr/include/p11-kit-1/p11-kit/iter.h:127:76: error: invalid parameter name: 'template' is a keyword
                                                             CK_ATTRIBUTE *template,
                                                                          ^
/usr/include/p11-kit-1/p11-kit/iter.h:131:76: error: invalid parameter name: 'template' is a keyword
                                                             CK_ATTRIBUTE *template,
                                                                          ^
2 errors generated.

Closes #610

coveralls commented 7 months ago

Coverage Status

coverage: 69.452% (+0.03%) from 69.425% when pulling 4ed429da6ec8c13c05a29c832c0f662cb18c9c2a on ZoltanFridrich:zfridric_devel2 into 304db3551edd35c1eb5e067aee783d1a028a2a88 on p11-glue:master.