ASN1_STRING_copy
if (s != NULL && !ASN1_STRING_copy(s, &t))
if (s == NULL || ASN1_STRING_copy((ASN1_STRING *)s, (ASN1_STRING *)&t))
if (s != NULL && !ASN1_STRING_copy(s, &t))
if (!ASN1_STRING_copy(ret, str)) {
if (!ASN1_STRING_copy(ias->serialNumber, X509_get0_serialNumber(cert))) {
if (ASN1_STRING_copy(&cid->serialNumber, serialNumber) == 0)
return ASN1_STRING_copy(in, serial);
return ASN1_STRING_copy(&isss->serial, serial);
return ASN1_STRING_copy(&x->acinfo->serialNumber, serial);
if (ASN1_STRING_copy(&o->objectDigest, digest) <= 0)
return ASN1_STRING_copy(in, serial);
if (!ASN1_STRING_copy(out, in))
int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);