diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-23 10:38:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-23 10:38:14 +0000 |
commit | b0856fbf8beebf4ffc5592096739e3d65c1bc3c7 (patch) | |
tree | 401086ceec1fb54ae98d07d21527bc6f60367796 /plugins/MirOTR/Libgcrypt/cipher/ecc.c | |
parent | f7d6084247f9f89fe0eec55dd9d2522038ff23e3 (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/ecc.c')
-rw-r--r-- | plugins/MirOTR/Libgcrypt/cipher/ecc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/Libgcrypt/cipher/ecc.c b/plugins/MirOTR/Libgcrypt/cipher/ecc.c index 885ff096ba..d2d490eb0a 100644 --- a/plugins/MirOTR/Libgcrypt/cipher/ecc.c +++ b/plugins/MirOTR/Libgcrypt/cipher/ecc.c @@ -1574,7 +1574,7 @@ compute_keygrip (gcry_md_hd_t md, gcry_sexp_t keyparms) raw = mpi_get_opaque (values[idx], &n); n = (n + 7)/8; - snprintf (buf, sizeof buf, "(1:%c%u:", names[idx], n); + _snprintf (buf, sizeof buf, "(1:%c%u:", names[idx], n); _gcry_md_write (md, buf, strlen (buf)); _gcry_md_write (md, raw, n); _gcry_md_write (md, ")", 1); @@ -1590,7 +1590,7 @@ compute_keygrip (gcry_md_hd_t md, gcry_sexp_t keyparms) rc = gpg_err_code_from_syserror (); goto leave; } - snprintf (buf, sizeof buf, "(1:%c%u:", names[idx], rawmpilen); + _snprintf (buf, sizeof buf, "(1:%c%u:", names[idx], rawmpilen); _gcry_md_write (md, buf, strlen (buf)); _gcry_md_write (md, rawmpi, rawmpilen); _gcry_md_write (md, ")", 1); |