diff options
-rw-r--r-- | p11-kit/iter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/iter.c b/p11-kit/iter.c index b6861a5..5301162 100644 --- a/p11-kit/iter.c +++ b/p11-kit/iter.c @@ -860,7 +860,7 @@ p11_kit_iter_load_attributes (P11KitIter *iter, } else { template[i].pValue = realloc (original[i].pValue, template[i].ulValueLen); - return_val_if_fail (template[i].pValue != NULL, 0); + return_val_if_fail (template[i].pValue != NULL, CKR_HOST_MEMORY); } } |