diff --git a/crypto/x509/x_name.c b/crypto/x509/x_name.c index 0980463e..f132e6b6 100644 --- a/crypto/x509/x_name.c +++ b/crypto/x509/x_name.c @@ -244,7 +244,7 @@ static int x509_name_ex_d2i(ASN1_VALUE **val, entry->set = i; if (!sk_X509_NAME_ENTRY_push(nm.x->entries, entry)) goto err; - sk_X509_NAME_ENTRY_set(entries, j, NULL); + (void)sk_X509_NAME_ENTRY_set(entries, j, NULL); } } ret = x509_name_canon(nm.x);