if (rv == SECSuccess) rv = SECITEM_CopyItem(arena, &to->subjectPublicKey, &from->subjectPublicKey);
if (rv == SECSuccess) {  spk = from->subjectPublicKey; DER_ConvertBitString(&spk); rv = SECITEM_CopyItem(arena, &to->subjectPublicKey, &spk);  if (rv == SECSuccess) { to->subjectPublicKey.len = from->subjectPublicKey.len; } }
SECKEY_CopySubjectPublicKeyInfo(PRArenaPool *arena,			     CERTSubjectPublicKeyInfo *to,			     CERTSubjectPublicKeyInfo *from){    SECStatus rv;    rv = SECOID_CopyAlgorithmID(arena, &to->algorithm, &from->algorithm);    if (rv == SECSuccess)	rv = SECITEM_CopyItem(arena, &to->subjectPublicKey, &from->subjectPublicKey);    return rv;}