summaryrefslogtreecommitdiff
path: root/des.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-09 17:16:05 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-09 17:16:05 +0000
commit90933db7697d9e5ad832a43bd59565339fbbcf55 (patch)
treef95a2e4a7419f449d668f683cb1624ed8b4ee692 /des.h
parentbd1d5e59a0fadcaf2aec024081af1f60ccd7390d (diff)
downloadcryptopp-90933db7697d9e5ad832a43bd59565339fbbcf55.tar.gz
VC2005 workaround
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@245 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'des.h')
-rw-r--r--des.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/des.h b/des.h
index 272bc53..8400fa1 100644
--- a/des.h
+++ b/des.h
@@ -116,7 +116,9 @@ class DES_XEX3 : public DES_XEX3_Info, public BlockCipherDocumentation
protected:
FixedSizeSecBlock<byte, BLOCKSIZE> m_x1, m_x3;
- DES::Encryption m_des;
+ // VS2005 workaround: calling modules compiled with /clr gets unresolved external symbol DES::Base::ProcessAndXorBlock
+ // if we use DES::Encryption here directly without value_ptr.
+ value_ptr<DES::Encryption> m_des;
};
public: