summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/examples
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-02-05 12:56:43 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-02-05 17:54:20 +0100
commit59faa3eacf0a6e0379d9ff6a2f3176658f97d1e2 (patch)
treef3cccbb3524b9a77eed0d3e989357e779e839d44 /openpgp-ffi/examples
parent12f617efc3e99d6bb2c5b36ba2547463c6031555 (diff)
openpgp-ffi: Fix pgp_armor_header_t.
- Turn it into a pointer type aligning it with the other type definitions.
Diffstat (limited to 'openpgp-ffi/examples')
-rw-r--r--openpgp-ffi/examples/armor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/examples/armor.c b/openpgp-ffi/examples/armor.c
index 00873761..42395811 100644
--- a/openpgp-ffi/examples/armor.c
+++ b/openpgp-ffi/examples/armor.c
@@ -24,7 +24,7 @@ main (int argc, char **argv)
pgp_reader_t armor;
pgp_armor_kind_t kind;
char message[12];
- pgp_armor_header_t *header;
+ pgp_armor_header_t header;
size_t header_len;
bytes = pgp_reader_from_bytes ((uint8_t *) armored, strlen (armored));