projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb96e8b
)
SCT_set_source resets validation_status
author
Rob Percival
<robpercival@google.com>
Tue, 23 Aug 2016 17:31:16 +0000
(18:31 +0100)
committer
Matt Caswell
<matt@openssl.org>
Tue, 23 Aug 2016 19:31:03 +0000
(20:31 +0100)
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>
crypto/ct/ct_sct.c
patch
|
blob
|
history
diff --git
a/crypto/ct/ct_sct.c
b/crypto/ct/ct_sct.c
index 65a20c669b3d6c61ff37849085ebaf40afa782a7..67adcfaa52af9d52ec66a0a32721c4c27633d447 100644
(file)
--- a/
crypto/ct/ct_sct.c
+++ b/
crypto/ct/ct_sct.c
@@
-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: