projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
https://issues.shibboleth.net/jira/browse/SSPCPP-304
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
encryption
/
Encrypter.h
diff --git
a/xmltooling/encryption/Encrypter.h
b/xmltooling/encryption/Encrypter.h
index
140a860
..
e1723e9
100644
(file)
--- a/
xmltooling/encryption/Encrypter.h
+++ b/
xmltooling/encryption/Encrypter.h
@@
-81,7
+81,11
@@
namespace xmlencryption {
* @param compact true iff the encrypted representation should be made as small as possible
*/
EncryptionParams(
* @param compact true iff the encrypted representation should be made as small as possible
*/
EncryptionParams(
+#ifdef XSEC_OPENSSL_HAVE_AES
const XMLCh* algorithm=DSIGConstants::s_unicodeStrURIAES128_CBC,
const XMLCh* algorithm=DSIGConstants::s_unicodeStrURIAES128_CBC,
+#else
+ const XMLCh* algorithm=DSIGConstants::s_unicodeStrURI3DES_CBC,
+#endif
const unsigned char* keyBuffer=nullptr,
unsigned int keyBufferSize=0,
const xmltooling::Credential* credential=nullptr,
const unsigned char* keyBuffer=nullptr,
unsigned int keyBufferSize=0,
const xmltooling::Credential* credential=nullptr,