Lines Matching refs:rv
48 apr_status_t rv = APR_EINVAL;
72 rv = verify_signature(sctf, pubkey);
73 if (rv != APR_SUCCESS) {
76 rv, c,
83 return rv;
97 apr_status_t rv;
117 rv = ctutil_deserialize_uint64(&cur, &len, &fields->timestamp);
118 ap_assert(rv == APR_SUCCESS);
135 rv = ctutil_deserialize_uint16(&cur, &len, &fields->extlen);
136 ap_assert(rv == APR_SUCCESS);
170 rv = ctutil_deserialize_uint16(&cur, &len, &fields->siglen);
171 ap_assert(rv == APR_SUCCESS);
201 rv = APR_EINVAL;
204 if (rv == APR_SUCCESS) {
217 rv = ctutil_serialize_uint8(&mem, &avail, 0); /* version 1 */
218 if (rv == APR_SUCCESS) {
219 rv = ctutil_serialize_uint8(&mem, &avail, 0); /* CERTIFICATE_TIMESTAMP */
221 if (rv == APR_SUCCESS) {
222 rv = ctutil_serialize_uint64(&mem, &avail, fields->timestamp);
224 if (rv == APR_SUCCESS) {
225 rv = ctutil_serialize_uint16(&mem, &avail, 0); /* X509_ENTRY */
227 if (rv == APR_SUCCESS) {
235 rv = APR_EINVAL;
238 rv = ctutil_write_var24_bytes(&mem, &avail,
243 if (rv == APR_SUCCESS) {
244 rv = ctutil_write_var16_bytes(&mem, &avail, fields->extensions,
249 if (rv != APR_SUCCESS) {
250 ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,
282 ap_assert(!(fields->signed_data && rv != APR_SUCCESS));
284 return rv;