summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/libgcrypt-1.4.6/cipher
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-28 15:05:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-28 15:05:53 +0000
commit5ed738eb52c269eb2ff89ee743fdf345efea16d9 (patch)
treede0afdf65d539d351f02a56d09abda0c39f56581 /plugins/MirOTR/libgcrypt-1.4.6/cipher
parenta1b54aadf426b4ce2ce3c900a889f53f1eec6bce (diff)
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/libgcrypt-1.4.6/cipher')
-rw-r--r--plugins/MirOTR/libgcrypt-1.4.6/cipher/md.c6
-rw-r--r--plugins/MirOTR/libgcrypt-1.4.6/cipher/pubkey.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/md.c b/plugins/MirOTR/libgcrypt-1.4.6/cipher/md.c
index 84c7799d61..da07783d92 100644
--- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/md.c
+++ b/plugins/MirOTR/libgcrypt-1.4.6/cipher/md.c
@@ -207,7 +207,7 @@ gcry_md_lookup_func_name (void *spec, void *data)
gcry_md_spec_t *digest = (gcry_md_spec_t *) spec;
char *name = (char *) data;
- return (! stricmp (digest->name, name));
+ return (!_stricmp (digest->name, name));
}
/* Internal callback function. Used via _gcry_module_lookup. */
@@ -222,7 +222,7 @@ gcry_md_lookup_func_oid (void *spec, void *data)
if (oid_specs)
{
for (i = 0; oid_specs[i].oidstring && (! ret); i++)
- if (! stricmp (oid, oid_specs[i].oidstring))
+ if (!_stricmp (oid, oid_specs[i].oidstring))
ret = 1;
}
@@ -313,7 +313,7 @@ search_oid (const char *oid, int *algorithm, gcry_md_oid_spec_t *oid_spec)
int i;
for (i = 0; digest->oids[i].oidstring && !ret; i++)
- if (! stricmp (oid, digest->oids[i].oidstring))
+ if (!_stricmp (oid, digest->oids[i].oidstring))
{
if (algorithm)
*algorithm = module->mod_id;
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/pubkey.c b/plugins/MirOTR/libgcrypt-1.4.6/cipher/pubkey.c
index 08abcbfdec..f163ea1696 100644
--- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/pubkey.c
+++ b/plugins/MirOTR/libgcrypt-1.4.6/cipher/pubkey.c
@@ -231,10 +231,10 @@ gcry_pk_lookup_func_name (void *spec, void *data)
gcry_pk_spec_t *pubkey = (gcry_pk_spec_t *) spec;
char *name = (char *) data;
const char **aliases = pubkey->aliases;
- int ret = stricmp (name, pubkey->name);
+ int ret = _stricmp (name, pubkey->name);
while (ret && *aliases)
- ret = stricmp (name, *aliases++);
+ ret = _stricmp (name, *aliases++);
return ! ret;
}
@@ -2712,7 +2712,7 @@ _gcry_pk_get_elements (int algo, char **enc, char **sig)
if (enc)
{
- enc_cp = strdup (spec->elements_enc);
+ enc_cp = _strdup (spec->elements_enc);
if (! enc_cp)
{
err = gpg_err_code_from_errno (errno);
@@ -2722,7 +2722,7 @@ _gcry_pk_get_elements (int algo, char **enc, char **sig)
if (sig)
{
- sig_cp = strdup (spec->elements_sig);
+ sig_cp = _strdup (spec->elements_sig);
if (! sig_cp)
{
err = gpg_err_code_from_errno (errno);