diff options
author | Nuno Goncalves <[email protected]> | 2017-03-08 16:25:47 +0100 |
---|---|---|
committer | Nuno Goncalves <[email protected]> | 2017-04-03 22:39:11 +0200 |
commit | b1de0a91c2205349beefa205b36cc89a5ebb274b (patch) | |
tree | 8117e02f8fd5aec3385aa5c5d424f3df444801ca | |
parent | 2d96d71f78ff1924ffb48cf49568b8f487e9018f (diff) |
X509_CA: constantify X509_CA::sign_request
Signed-off-by: Nuno Goncalves <[email protected]>
-rw-r--r-- | src/lib/x509/x509_ca.cpp | 2 | ||||
-rw-r--r-- | src/lib/x509/x509_ca.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509_ca.cpp b/src/lib/x509/x509_ca.cpp index 692f837ae..e1a8c3af7 100644 --- a/src/lib/x509/x509_ca.cpp +++ b/src/lib/x509/x509_ca.cpp @@ -49,7 +49,7 @@ X509_CA::~X509_CA() X509_Certificate X509_CA::sign_request(const PKCS10_Request& req, RandomNumberGenerator& rng, const X509_Time& not_before, - const X509_Time& not_after) + const X509_Time& not_after) const { Key_Constraints constraints; if(req.is_CA()) diff --git a/src/lib/x509/x509_ca.h b/src/lib/x509/x509_ca.h index 0448e109b..bc4b3a506 100644 --- a/src/lib/x509/x509_ca.h +++ b/src/lib/x509/x509_ca.h @@ -38,7 +38,7 @@ class BOTAN_DLL X509_CA X509_Certificate sign_request(const PKCS10_Request& req, RandomNumberGenerator& rng, const X509_Time& not_before, - const X509_Time& not_after); + const X509_Time& not_after) const; /** * Get the certificate of this CA. |