]> WPIA git - cassiopeia.git/blobdiff - src/crypto/X509.h
fix: Make CppCheck happy by fixing the code
[cassiopeia.git] / src / crypto / X509.h
index 04079994918f146901a6a0e44d6759a555e6ca70..ac0e3d3791baa28a813029b2c2b914d3873dd040 100644 (file)
@@ -19,7 +19,7 @@ public:
     static std::shared_ptr<X509Req> parseCSR( std::string content );
     static std::shared_ptr<X509Req> parseSPKAC( std::string content );
     int verify();
-    std::shared_ptr<EVP_PKEY> getPkey();
+    std::shared_ptr<EVP_PKEY> getPkey() const;
 };
 
 class X509Cert {