[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon May 29 14:36:38 UTC 2017


The branch master has been updated
       via  3bbecb0e9390a7a5af15508549c4ff1c7db9cd5d (commit)
      from  aef492683ba31aae8491e6e2b64588f7787109a2 (commit)


- Log -----------------------------------------------------------------
commit 3bbecb0e9390a7a5af15508549c4ff1c7db9cd5d
Author: Thijs Wenker <me at thoys.nl>
Date:   Mon May 29 02:55:43 2017 +0200

    Fix certificate version number in test
    
    The version number 3 means version 4, while 2 means version 3. Since this is the v3nametest, version 3 should be used.
    
    CLA: Trivial
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3577)

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

Summary of changes:
 test/v3nametest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/v3nametest.c b/test/v3nametest.c
index cb7b799..aaeab54 100644
--- a/test/v3nametest.c
+++ b/test/v3nametest.c
@@ -251,7 +251,7 @@ static X509 *make_cert()
 
     if (!TEST_ptr(crt = X509_new()))
         return NULL;
-    if (!TEST_true(X509_set_version(crt, 3))) {
+    if (!TEST_true(X509_set_version(crt, 2))) {
         X509_free(crt);
         return NULL;
     }


More information about the openssl-commits mailing list