if (rv != SECSuccess) return (rv); rv = DER_GeneralizedTimeToTime(value, &encodedExtenValue);
if (rv == SECSuccess) rv = DER_GeneralizedTimeToTime(value, &encodedExtenValue);
SECStatus CERT_FindInvalidDateExten (CERTCrl *crl, int64 *value){    SECItem encodedExtenValue;    SECItem decodedExtenValue = {siBuffer,0};    SECStatus rv;    encodedExtenValue.data = decodedExtenValue.data = NULL;    encodedExtenValue.len = decodedExtenValue.len = 0;    rv = cert_FindExtension	 (crl->extensions, SEC_OID_X509_INVALID_DATE, &encodedExtenValue);    if ( rv != SECSuccess )	return (rv);    rv = SEC_ASN1DecodeItem (NULL, &decodedExtenValue,			     SEC_GeneralizedTimeTemplate, &encodedExtenValue);    if (rv != SECSuccess)	return (rv);    rv = DER_GeneralizedTimeToTime(value, &encodedExtenValue);    PORT_Free (decodedExtenValue.data);    PORT_Free (encodedExtenValue.data);    return (rv);}