summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/cipher/pubkey.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-23 10:38:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-23 10:38:14 +0000
commitb0856fbf8beebf4ffc5592096739e3d65c1bc3c7 (patch)
tree401086ceec1fb54ae98d07d21527bc6f60367796 /plugins/MirOTR/Libgcrypt/cipher/pubkey.c
parentf7d6084247f9f89fe0eec55dd9d2522038ff23e3 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14651 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/Libgcrypt/cipher/pubkey.c')
-rw-r--r--plugins/MirOTR/Libgcrypt/cipher/pubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/Libgcrypt/cipher/pubkey.c b/plugins/MirOTR/Libgcrypt/cipher/pubkey.c
index d8f5f5d0ea..147f82aa7d 100644
--- a/plugins/MirOTR/Libgcrypt/cipher/pubkey.c
+++ b/plugins/MirOTR/Libgcrypt/cipher/pubkey.c
@@ -689,7 +689,7 @@ _gcry_pk_get_keygrip (gcry_sexp_t key, unsigned char *array)
if (! data)
goto fail;
- snprintf (buf, sizeof buf, "(1:%c%u:", *s, (unsigned int)datalen);
+ _snprintf (buf, sizeof buf, "(1:%c%u:", *s, (unsigned int)datalen);
_gcry_md_write (md, buf, strlen (buf));
_gcry_md_write (md, data, datalen);
sexp_release (l2);