GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - google/openssl-tests: Running BoringSSL tests against OpenSSL

This repository was archived by the owner on Jan 10, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
boringssl @ f277add
boringssl @ f277add
 
 
openssl @ 6feb3c5
openssl @ 6feb3c5
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
1.1.0-beta1.log
1.1.0-beta1.log
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
ossl-shim.patch
ossl-shim.patch
 
 

Repository files navigation

openssl-tests

An experiment for running BoringSSL tests against OpenSSL

Notes

This is not an official Google product.

This is an experimental patch. Several tests fail for the wrong reasons, for example, because the BoringSSL test harness is tuned to specific BoringSSL errors, or because a BoringSSL feature is not available in OpenSSL.

OpenSSL and BoringSSL are provided as git submodules. This means that, by default, they're checked out to a specific git commit at which the patch and build are known to work.

Please check the openssl INSTALL file for build pre-requisites. You will also need "go" installed.

Build instructions

  1. Initialize the OpenSSL and BoringSSL submodules:

    $ git submodule init
    $ git submodule update
    
  2. Configure OpenSSL

    $ cd openssl
    $ ./config enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers
    $ cd ..
    
  3. Patch BoringSSL

    $ cd boringssl && git am ../ossl-shim.patch && cd ..
    
  4. Build and run tests

    $ make test
    

Other instructions

  • To test against a newer version of OpenSSL locally, cd into the submodule directory and use git as usual, e.g., to pull the latest master:

    $ git checkout master
    $ git pull
    
  • To revert all local changes and bring the submodules back to the original state, do:

    $ git submodule update
    
  • To run a single test:

    $ cd boringssl/ssl/test/runner
    $ go test -shim-path ../../../../ossl_shim -pipe -test TestName
    

About

Running BoringSSL tests against OpenSSL

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

14 stars

Watchers

2 watching

Forks

10 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.