aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/pkcs10.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-02 22:02:42 -0400
committerJack Lloyd <[email protected]>2017-10-02 22:45:20 -0400
commitc24bcc2fc88b66e9b58375de70917cd4d9793a35 (patch)
tree65757b4e2d2d566b883b0d2440cc31e34743df6e /src/lib/x509/pkcs10.cpp
parentfb356397613e3d64bdd78a32ebd521438b450764 (diff)
Remove protected data members from X509_Object
Just need const accessors, no reason for any subclass to modify values.
Diffstat (limited to 'src/lib/x509/pkcs10.cpp')
-rw-r--r--src/lib/x509/pkcs10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/pkcs10.cpp b/src/lib/x509/pkcs10.cpp
index ab52769f7..911d6958c 100644
--- a/src/lib/x509/pkcs10.cpp
+++ b/src/lib/x509/pkcs10.cpp
@@ -48,7 +48,7 @@ PKCS10_Request::PKCS10_Request(const std::vector<uint8_t>& in) :
*/
void PKCS10_Request::force_decode()
{
- BER_Decoder cert_req_info(m_tbs_bits);
+ BER_Decoder cert_req_info(signed_body());
size_t version;
cert_req_info.decode(version);