bindtextdomain("bacula", LOCALEDIR);
textdomain("bacula");
+ if (init_crypto() != 0) {
+ Emsg0(M_ERROR_TERM, 0, _("Cryptography library initialization failed.\n"));
+ }
+
init_stack_dump();
lmgr_init_thread();
my_name_is(argc, argv, "bconsole");
bindtextdomain("bacula", LOCALEDIR);
textdomain("bacula");
+ if (init_crypto() != 0) {
+ Emsg0(M_ERROR_TERM, 0, _("Cryptography library initialization failed.\n"));
+ }
+
my_name_is(argc, argv, "bacula-dir");
init_msg(NULL, NULL);
cons->tls_keyfile, NULL, NULL, cons->tls_dhfile, cons->tls_verify_peer);
if (!cons->tls_ctx) {
- Jmsg(NULL, M_FATAL, 0, _("Failed to initialize TLS context for File daemon \"%s\" in %s.\n"),
+ Jmsg(NULL, M_FATAL, 0, _("Failed to initialize TLS context for Console \"%s\" in %s.\n"),
cons->name(), configfile);
OK = false;
}
bindtextdomain("bacula", LOCALEDIR);
textdomain("bacula");
+ if (init_crypto() != 0) {
+ Emsg0(M_ERROR_TERM, 0, _("Cryptography library initialization failed.\n"));
+ }
+
my_name_is(argc, argv, "bacula-fd");
init_msg(NULL, NULL);
regmatch_t pmatch[32];
STORES *me = (STORES *)GetNextRes(R_STORAGE, NULL);
+ if (init_crypto() != 0) {
+ Emsg0(M_ERROR_TERM, 0, _("Cryptography library initialization failed.\n"));
+ }
+
init_hpkt(hpkt);
if (filter->do_only_data) {