- Timestamp:
- Mar 7, 2022, 6:46:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_sig.c
r561 r571 1069 1069 { 1070 1070 dlog(1, FIL__, __LINE__, 1071 _("Gnupg directory %s for user %s\ndoes not exist or is not accessible.\nPlease add the directory and put the keyring (pubring.gpg ) there\nto verify the configuration file.\n"),1071 _("Gnupg directory %s for user %s\ndoes not exist or is not accessible.\nPlease add the directory and put the keyring (pubring.gpg or pubring.kbx) there\nto verify the configuration file.\n"), 1072 1072 cc4, DEFAULT_IDENT); 1073 1073 status_stat = -3; … … 1083 1083 if (status_stat == 0) 1084 1084 { 1085 sl_strlcat (cc4, _("/pubring.gpg"), SH_PATHBUF+32); 1086 status_stat = retry_lstat(FIL__, __LINE__, cc4, &lbuf); 1085 char cc4_test[SH_PATHBUF+32]; 1086 1087 sl_strlcpy(cc4_test, cc4, SH_PATHBUF+32); 1088 sl_strlcat (cc4_test, _("/pubring.gpg"), SH_PATHBUF+32); 1089 1090 status_stat = retry_lstat(FIL__, __LINE__, cc4_test, &lbuf); 1087 1091 if (status_stat == -1) 1088 1092 { 1089 dlog(1, FIL__, __LINE__, 1090 _("Gnupg public keyring %s for user %s\ndoes not exist or is not accessible.\nPlease add the directory and put the keyring (pubring.gpg) there\nto verify the configuration file.\n"), 1091 cc4, DEFAULT_IDENT); 1092 status_stat = -5; 1093 sl_strlcpy(cc4_test, cc4, SH_PATHBUF+32); 1094 sl_strlcat (cc4_test, _("/pubring.kbx"), SH_PATHBUF+32); 1095 1096 status_stat = retry_lstat(FIL__, __LINE__, cc4_test, &lbuf); 1097 if (status_stat == -1) 1098 { 1099 sl_strlcpy(cc4_test, cc4, SH_PATHBUF+32); 1100 sl_strlcat (cc4_test, _("/pubring.(gpg|kbx)"), SH_PATHBUF+32); 1101 1102 dlog(1, FIL__, __LINE__, 1103 _("Gnupg public keyring %s for user %s\ndoes not exist or is not accessible.\nPlease add the directory and put the keyring (pubring.gpg or pubring.kbx) there\nto verify the configuration file.\n"), 1104 cc4_test, DEFAULT_IDENT); 1105 status_stat = -5; 1106 } 1093 1107 } 1094 1108 }
Note:
See TracChangeset
for help on using the changeset viewer.