aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-10-11 04:41:44 +0000
committerNIIBE Yutaka <[email protected]>2021-10-11 04:41:44 +0000
commitb5b81005faa9d12e8b8218d20cc7ab6d1360c85e (patch)
tree2c1cdd35248686affd5eb58feb7dde9fe1305ca9
parentexperiment: Fix keygrip computation for new 448 key on gpg-agent. (diff)
downloadgnupg-b5b81005faa9d12e8b8218d20cc7ab6d1360c85e.tar.gz
gnupg-b5b81005faa9d12e8b8218d20cc7ab6d1360c85e.zip
experiment: Add copyright notice.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--common/openpgp-misc.c22
1 files changed, 19 insertions, 3 deletions
diff --git a/common/openpgp-misc.c b/common/openpgp-misc.c
index e8e33689c..2caad9093 100644
--- a/common/openpgp-misc.c
+++ b/common/openpgp-misc.c
@@ -1,8 +1,24 @@
+/* openpgp-misc.c - miscellaneous functions for OpenPGP
+ * Copyright (C) 2021 g10 Code GmbH
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <config.h>
#include <stdlib.h>
-#include <errno.h>
-#include <ctype.h>
-#include <assert.h>
#include "util.h"
#include "openpgpdefs.h"