sk_X509_ATTRIBUTE_push
if (sk_X509_ATTRIBUTE_push(sk, NULL) <= 0)
if (!sk_X509_ATTRIBUTE_push(sk, new_attr))