MCPcopy Create free account
hub / github.com/apache/trafficserver / _load_time

Method _load_time

src/cripts/Certs.cc:121–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void
122CertBase::X509Value::_load_time(ASN1_TIME *(*getter)(const X509 *)) const
123{
124 if (!_ready && _owner->_x509) {
125 auto *time = getter(_owner->_x509);
126
127 if (time) {
128 X509Value::_load();
129 ASN1_TIME_print(_bio.get(), time);
130 X509Value::_update_value();
131 } else [[unlikely]] {
132 _value = cripts::Certs::String();
133 _ready = true;
134 }
135 }
136}
137
138namespace
139{

Callers

nothing calls this directly

Calls 2

StringClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected