diff options
author | Niels Möller <nisse@lysator.liu.se> | 2016-08-16 07:06:43 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2016-08-16 07:06:43 +0200 |
commit | ef97526d169ea115735a17dd8c37f5f10b45e240 (patch) | |
tree | 1d075f2bd9217017484fea6f2c903efe5db1ce59 /rsa2openpgp.c | |
parent | 9c7a001a2631b7603883cacfb470ec58a472efcb (diff) | |
download | nettle-ef97526d169ea115735a17dd8c37f5f10b45e240.tar.gz |
Fix signedness warning in rsa_keypair_to_openpgp.
Diffstat (limited to 'rsa2openpgp.c')
-rw-r--r-- | rsa2openpgp.c | 2 |
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? */ |