summaryrefslogtreecommitdiff
path: root/des.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-09 17:16:05 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-09 17:16:05 +0000
commit5f1af2c96edd4318d5589ea840d865cad58b6235 (patch)
treef95a2e4a7419f449d668f683cb1624ed8b4ee692 /des.h
parent85b68c9b71422564da1ea7853da1f8a9e2168940 (diff)
downloadcryptopp-git-5f1af2c96edd4318d5589ea840d865cad58b6235.tar.gz
VC2005 workaround
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 272bc53e..8400fa1b 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: