aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-28 20:25:55 +0000
committersaturneric <[email protected]>2024-11-28 20:25:55 +0000
commit799ec5c9b257633e4e1e1aab8edb9a900c03f4bc (patch)
treea231d3ff14f903af542811fc576a5c3e8a4a939a /src/m_gpg_info/GnuPGInfoGatheringModule.cpp
parentfix: spelling mistakes (diff)
downloadmodules-799ec5c9b257633e4e1e1aab8edb9a900c03f4bc.tar.gz
modules-799ec5c9b257633e4e1e1aab8edb9a900c03f4bc.zip
fix: update date field on signing
Diffstat (limited to 'src/m_gpg_info/GnuPGInfoGatheringModule.cpp')
-rw-r--r--src/m_gpg_info/GnuPGInfoGatheringModule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
index e10825c..2caaa94 100644
--- a/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
+++ b/src/m_gpg_info/GnuPGInfoGatheringModule.cpp
@@ -52,7 +52,7 @@ GF_MODULE_API_DEFINE("com.bktus.gpgfrontend.module.gnupg_info_gathering",
DEFINE_TRANSLATIONS_STRUCTURE(ModuleGnuPGInfoGathering);
-extern auto CalculateBinaryChacksum(const QString &path)
+extern auto CalculateBinaryChecksum(const QString &path)
-> std::optional<QString>;
extern void GetGpgComponentInfos(void *, int, const char *, const char *);
@@ -186,7 +186,7 @@ auto StartGatheringGnuPGInfo() -> int {
return 0;
}
-auto CalculateBinaryChacksum(const QString &path) -> std::optional<QString> {
+auto CalculateBinaryChecksum(const QString &path) -> std::optional<QString> {
// check file info and access rights
QFileInfo const info(path);
if (!info.exists() || !info.isFile() || !info.isReadable()) {
@@ -258,7 +258,7 @@ void GetGpgComponentInfos(void *data, int exit_code, const char *out,
c_i_gpgconf.desc = "GPG Configure";
c_i_gpgconf.version = "/";
c_i_gpgconf.path = context->gpgconf_path;
- auto gpgconf_binary_checksum = CalculateBinaryChacksum(context->gpgconf_path);
+ auto gpgconf_binary_checksum = CalculateBinaryChecksum(context->gpgconf_path);
c_i_gpgconf.binary_checksum =
(gpgconf_binary_checksum.has_value() ? gpgconf_binary_checksum.value()
: QString("/"));
@@ -292,7 +292,7 @@ void GetGpgComponentInfos(void *data, int exit_code, const char *out,
component_path.replace("%3a", ":");
#endif
- auto binary_checksum = CalculateBinaryChacksum(component_path);
+ auto binary_checksum = CalculateBinaryChecksum(component_path);
MLogDebug(
QString("gnupg component name: %1 desc: %2 checksum: %3 path: %4")