X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fencryption%2FEncrypter.h;h=e1723e9b63fb214574e59d1b8ef6484f3c6f6299;hb=d99cdd3a90b64ed4fb9a6e08ae9e9f2cc4516a50;hp=140a8601f9c703ea02cbc19f6e7ac95a3d3e5195;hpb=92305023b8c53e5d2c16ec3a562d4562e970e8e3;p=shibboleth%2Fxmltooling.git diff --git a/xmltooling/encryption/Encrypter.h b/xmltooling/encryption/Encrypter.h index 140a860..e1723e9 100644 --- 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( +#ifdef XSEC_OPENSSL_HAVE_AES 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,