Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc')
-rw-r--r--core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc b/core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc
index 972b197be..7b6dc8867 100644
--- a/core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc
+++ b/core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc
@@ -60,7 +60,7 @@
#include "include/bareos.h"
#include "stored/device_control_record.h"
#include "stored/device_status_information.h"
-#include "stored/jcr_private.h"
+#include "stored/stored_jcr_impl.h"
#include "stored/stored.h"
#include "lib/berrno.h"
#include "lib/crypto_wrap.h"
@@ -343,8 +343,8 @@ static bRC do_set_scsi_encryption_key(void* value)
* has been wrapped using RFC3394 key wrapping. We first copy the current
* wrapped key into a temporary variable for unwrapping.
*/
- if (dcr->jcr && dcr->jcr->impl->director) {
- director = dcr->jcr->impl->director;
+ if (dcr->jcr && dcr->jcr->sd_impl->director) {
+ director = dcr->jcr->sd_impl->director;
if (director->keyencrkey.value) {
char WrappedVolEncrKey[MAX_NAME_LENGTH];