build fixed for windows

This commit is contained in:
Marc Wäckerlin
2017-04-11 10:25:14 +00:00
parent bb52e6438e
commit 0a511bc9e7
6 changed files with 71 additions and 38 deletions

View File

@@ -13,7 +13,6 @@
#include <pcsc.hxx>
#include <mrw/vector.hxx>
#include <mrw/checkcxx11.hxx>
#include <mrw/regexp.hxx>
#include <memory>
/*! @defgroup gsuisseid C++ library to access SuisseID smart cards
@@ -394,12 +393,7 @@ namespace suisseid {
virtual CertStatus certStatus() {
try {
Certificate auth(authenticationCertificate());
//auth.subjectInfo(serialNumber);
// if (mrw::RegExp("^$[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}")
// (auth.subjectInfo(serialNumber))) {
// _type = SUISSE_ID;
Certificate sig(digitalSignatureCertificate());
// }
Certificate sig(digitalSignatureCertificate());
return VALID;
} catch (const no_auth& x) {
return MISSING;