mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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
@ -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 New Issue
Block a user