summaryrefslogtreecommitdiff
path: root/src/ltc/pk/ecc/ltc_ecc_points.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ltc/pk/ecc/ltc_ecc_points.c')
-rw-r--r--src/ltc/pk/ecc/ltc_ecc_points.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ltc/pk/ecc/ltc_ecc_points.c b/src/ltc/pk/ecc/ltc_ecc_points.c
index 5700c0ed..b762db50 100644
--- a/src/ltc/pk/ecc/ltc_ecc_points.c
+++ b/src/ltc/pk/ecc/ltc_ecc_points.c
@@ -21,7 +21,7 @@ ecc_point *ltc_ecc_new_point(void)
if (p == NULL) {
return NULL;
}
- if (mp_init_multi(&p->x, &p->y, &p->z, NULL) != CRYPT_OK) {
+ if (mp_init_multi(&p->x, &p->y, &p->z, LTC_NULL) != CRYPT_OK) {
XFREE(p);
return NULL;
}
@@ -35,7 +35,7 @@ void ltc_ecc_del_point(ecc_point *p)
{
/* prevents free'ing null arguments */
if (p != NULL) {
- mp_clear_multi(p->x, p->y, p->z, NULL); /* note: p->z may be NULL but that's ok with this function anyways */
+ mp_clear_multi(p->x, p->y, p->z, LTC_NULL); /* note: p->z may be NULL but that's ok with this function anyways */
XFREE(p);
}
}