SCT_set_source resets validation_status
This makes it consistent with all of the other SCT setters. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
eb96e8b5fd
commit
fa515410aa
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ sct_source_t SCT_get_source(const SCT *sct)
|
|||
int SCT_set_source(SCT *sct, sct_source_t source)
|
||||
{
|
||||
sct->source = source;
|
||||
sct->validation_status = SCT_VALIDATION_STATUS_NOT_SET;
|
||||
switch (source) {
|
||||
case SCT_SOURCE_TLS_EXTENSION:
|
||||
case SCT_SOURCE_OCSP_STAPLED_RESPONSE:
|
||||
|
|
Loading…
Reference in a new issue