summaryrefslogtreecommitdiff
path: root/rsa2openpgp.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2016-08-16 07:06:43 +0200
committerNiels Möller <nisse@lysator.liu.se>2016-08-16 07:06:43 +0200
commitef97526d169ea115735a17dd8c37f5f10b45e240 (patch)
tree1d075f2bd9217017484fea6f2c903efe5db1ce59 /rsa2openpgp.c
parent9c7a001a2631b7603883cacfb470ec58a472efcb (diff)
downloadnettle-ef97526d169ea115735a17dd8c37f5f10b45e240.tar.gz
Fix signedness warning in rsa_keypair_to_openpgp.
Diffstat (limited to 'rsa2openpgp.c')
-rw-r--r--rsa2openpgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa2openpgp.c b/rsa2openpgp.c
index d04f77a5..c72a857b 100644
--- a/rsa2openpgp.c
+++ b/rsa2openpgp.c
@@ -85,7 +85,7 @@ rsa_keypair_to_openpgp(struct nettle_buffer *buffer,
/* userid packet */
userid_start = buffer->size;
- if (!pgp_put_userid(buffer, strlen(userid), userid))
+ if (!pgp_put_userid(buffer, strlen(userid), (const uint8_t *) userid))
return 0;
/* FIXME: We hash the key first, and then the user id. Is this right? */