if (src->data == NULL) return SECFailure;
SEC_ASN1DecodeInteger(SECItem *src, unsigned long *value){    unsigned long v;    int i;        if (src == NULL)	return SECFailure;    if (src->len > sizeof(unsigned long))	return SECFailure;    if (src->data[0] & 0x80)	v = -1;		/* signed and negative - start with all 1's */    else	v = 0;    for (i= 0; i < src->len; i++) {	/* shift in next byte */	v <<= 8;	v |= src->data[i];    }    *value = v;    return SECSuccess;}