summaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 67556d8ba..176940bff 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -49,6 +49,10 @@
#define LF "\n"
#endif
+/* Hack */
+static int recipient_digest_algo;
+
+
/* A type for the extra data we hash into v5 signature packets. */
struct pt_extra_hash_data_s
{
@@ -60,10 +64,6 @@ struct pt_extra_hash_data_s
typedef struct pt_extra_hash_data_s *pt_extra_hash_data_t;
-/* Hack */
-static int recipient_digest_algo;
-
-
/*
* Create notations and other stuff. It is assumed that the strings in
* STRLIST are already checked to contain only printable data and have
@@ -746,8 +746,8 @@ write_plaintext_packet (iobuf_t out, iobuf_t inp,
(*r_extrahash)->mode = pt->mode;
(*r_extrahash)->timestamp = pt->timestamp;
(*r_extrahash)->namelen = pt->namelen;
- /* Note that the last byte or NAME won't be initialized
- * becuase we don't need it. */
+ /* Note that the last byte of NAME won't be initialized
+ * because we don't need it. */
memcpy ((*r_extrahash)->name, pt->name, pt->namelen);
}
pt->buf = NULL;