diff options
author | Jack Lloyd <[email protected]> | 2018-06-08 06:30:01 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-08 06:30:01 -0400 |
commit | 1d474f74977ed7ba0609307316f11a708fd13159 (patch) | |
tree | 573605ebf513220d402cb6dce8b746eac0e7fa2b /src/lib/x509 | |
parent | 2559c80b098cec1bfcb30be1ca976f595aaf1fd6 (diff) |
Expose BER_Decoder constructor taking BER_Object&&
Diffstat (limited to 'src/lib/x509')
-rw-r--r-- | src/lib/x509/x509_crl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509_crl.cpp b/src/lib/x509/x509_crl.cpp index da075e009..47742c1da 100644 --- a/src/lib/x509/x509_crl.cpp +++ b/src/lib/x509/x509_crl.cpp @@ -143,7 +143,7 @@ std::unique_ptr<CRL_Data> decode_crl_body(const std::vector<uint8_t>& body, if(next.is_a(SEQUENCE, CONSTRUCTED)) { - BER_Decoder cert_list(next); + BER_Decoder cert_list(std::move(next)); while(cert_list.more_items()) { @@ -156,7 +156,7 @@ std::unique_ptr<CRL_Data> decode_crl_body(const std::vector<uint8_t>& body, if(next.is_a(0, ASN1_Tag(CONSTRUCTED | CONTEXT_SPECIFIC))) { - BER_Decoder crl_options(next); + BER_Decoder crl_options(std::move(next)); crl_options.decode(data->m_extensions).verify_end(); next = tbs_crl.get_next_object(); } |