diff options
author | lloyd <[email protected]> | 2009-04-01 16:42:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-04-01 16:42:38 +0000 |
commit | 3afb86663583b982e1eab8f46d07fc3d51260602 (patch) | |
tree | 3cdf7950fb61f96d8d8b9d37dc71f68dba5f1bbc /src/cert/cvc/cvc_self.cpp | |
parent | 327115405b0f483c2b432e2233f355a349b1f9d7 (diff) |
Use C++0x std::shared_ptr<> instead of TR1's
Diffstat (limited to 'src/cert/cvc/cvc_self.cpp')
-rw-r--r-- | src/cert/cvc/cvc_self.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cert/cvc/cvc_self.cpp b/src/cert/cvc/cvc_self.cpp index c31741956..47c46ca1c 100644 --- a/src/cert/cvc/cvc_self.cpp +++ b/src/cert/cvc/cvc_self.cpp @@ -136,7 +136,7 @@ EAC1_1_Req create_cvc_req(Private_Key const& key, EAC1_1_gen_CVC<EAC1_1_Req>::make_signed(*signer.get(), EAC1_1_gen_CVC<EAC1_1_Req>::build_cert_body(tbs), rng); - std::tr1::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert)); + std::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert)); return EAC1_1_Req(source); } @@ -160,7 +160,7 @@ EAC1_1_ADO create_ado_req(Private_Key const& key, tbs_bits.append(DER_Encoder().encode(car).get_contents()); MemoryVector<byte> signed_cert = EAC1_1_ADO::make_signed(*signer.get(), tbs_bits, rng); - std::tr1::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert)); + std::shared_ptr<DataSource> source(new DataSource_Memory(signed_cert)); return EAC1_1_ADO(source); } |