-#ifdef WITH_OPENSSL
- if (destination->_cryptographic_context) {
- cryptographic_context_free((encryption_context_t *)destination->_cryptographic_context);
- destination->_cryptographic_context = NULL;
- }
- if (source->_cryptographic_context) {
- destination->_cryptographic_context =
- aes_clone_cryptographic_context(((encryption_context_t *) source->_cryptographic_context));
- if (destination->_cryptographic_context) {
-
- }
- }
-#else
- destination->_cryptographic_context = aes_clone_key(static_cast<aes_key_t *>(source->_cryptographic_context));
-#endif