[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Tue Aug 23 19:33:02 UTC 2016


The branch master has been updated
       via  fa515410aae2cf4ced2cf41cc6715fee6c6db344 (commit)
      from  eb96e8b5fd1ad4eeae0b0330ca465ca462e0f6c1 (commit)


- Log -----------------------------------------------------------------
commit fa515410aae2cf4ced2cf41cc6715fee6c6db344
Author: Rob Percival <robpercival at google.com>
Date:   Tue Aug 23 18:31:16 2016 +0100

    SCT_set_source resets validation_status
    
    This makes it consistent with all of the other SCT setters.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/ct/ct_sct.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/ct/ct_sct.c b/crypto/ct/ct_sct.c
index 65a20c6..67adcfa 100644
--- 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:


More information about the openssl-commits mailing list