]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/backup.c
- Add support for testing the availability of a PEM-encoded private key
[bacula/bacula] / bacula / src / filed / backup.c
index 34fed539da3e5dddd86a99678adaa28a8caad492..6812d8cf7490ee08dcece12d34bcac0bde8c22c7 100644 (file)
@@ -88,7 +88,7 @@ bool blast_data_to_storage_daemon(JCR *jcr, char *addr)
       size_t size = 0;
 
       /* Create per-job session encryption context */
-      jcr->pki_session = crypto_session_new(cipher, jcr->pki_readers);
+      jcr->pki_session = crypto_session_new(cipher, jcr->pki_recipients);
 
       /* Get the session data size */
       if (crypto_session_encode(jcr->pki_session, NULL, &size) == false) {