aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-04-07 07:50:37 +0000
committerWerner Koch <[email protected]>2025-04-07 07:50:37 +0000
commit17bb01f86d1d75bb57418a0101c0f08a49bfdd07 (patch)
tree28a6b209fb5e2c7c69c719fe4101987a512b3e80
parentw32: Improve the detection of the need for a \\?\ prefix (diff)
downloadlibgpg-error-17bb01f86d1d75bb57418a0101c0f08a49bfdd07.tar.gz
libgpg-error-17bb01f86d1d75bb57418a0101c0f08a49bfdd07.zip
Update the copyright notice.
* configure.ac (GPGRT_STD_COPYRIGHT_LINE): New. * src/gpg-error.c (my_strusage): Use it here.
-rw-r--r--configure.ac2
-rw-r--r--src/gpg-error.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 594e7b0..f235cdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -215,6 +215,8 @@ AH_BOTTOM([
#define GPGRT_ENABLE_ES_MACROS 1
#define GPGRT_ENABLE_LOG_MACROS 1
#define GPGRT_ENABLE_ARGPARSE_MACROS 1
+
+#define GPGRT_STD_COPYRIGHT_LINE "Copyright (C) 2025 g10 Code GmbH"
])
# We used to provide gpg-error-config command always. Now, it's
diff --git a/src/gpg-error.c b/src/gpg-error.c
index 6d16b36..c6b84c8 100644
--- a/src/gpg-error.c
+++ b/src/gpg-error.c
@@ -518,7 +518,7 @@ my_strusage (int level)
case 11: p = "gpg-error"; break;
case 12: p = PACKAGE_NAME; break;
case 13: p = PACKAGE_VERSION; break;
- case 14: p = "Copyright (C) 2019 g10 Code GmbH"; break;
+ case 14: p = GPGRT_STD_COPYRIGHT_LINE; break;
case 19: p = _("Please report bugs to <https://bugs.gnupg.org>.\n"); break;
#ifdef HAVE_W32_SYSTEM