summaryrefslogtreecommitdiff
path: root/pubkey.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-08-03 19:11:23 -0400
committerJeffrey Walton <noloader@gmail.com>2015-08-03 19:11:23 -0400
commit1e103c0e5b2a55bef4a3561b388c78dd5f8181ca (patch)
treebebc016cd4485c0668ad854047f270a7fb8937ac /pubkey.h
parent7e6c9438da8787b6ea202dcaaea8aee0eff6e158 (diff)
downloadcryptopp-git-1e103c0e5b2a55bef4a3561b388c78dd5f8181ca.tar.gz
Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version)
Diffstat (limited to 'pubkey.h')
-rw-r--r--pubkey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pubkey.h b/pubkey.h
index 0a5bed0e..ea73c91c 100644
--- a/pubkey.h
+++ b/pubkey.h
@@ -38,7 +38,7 @@
#include "eprecomp.h"
#include "fips140.h"
#include "argnames.h"
-#include "stdcpp.h"
+#include "smartptr.h"
#include "trap.h"
// VC60 workaround: this macro is defined in shlobj.h and conflicts with a template parameter used in this file
@@ -1342,7 +1342,7 @@ class DL_SignerImpl : public DL_ObjectImpl<DL_SignerBase<typename SCHEME_OPTIONS
public:
PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const
{
- std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
+ auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
this->RestartMessageAccumulator(rng, *p);
return p.release();
}