Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions btls/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# OpenSSL patching

There are two patching methods available:
1. Using a patch generated by git diff.
2. Using a slightly smarter patch that doesn't depend on line numbers and can be
applied to different versions of openssl.

## Option 1

Can only be used for **OpenSSL_1_1_1i** version .

## Option 2

| version | test results |
| :--- | :---: |
| OpenSSL_1_1_1i | :heavy_check_mark: |
| OpenSSL_1_1_1j | :heavy_check_mark: |
| OpenSSL_1_1_1k | :heavy_check_mark: |
| OpenSSL_1_1_1l | :heavy_check_mark: |
| OpenSSL_1_1_1m | :heavy_check_mark: |
| OpenSSL_1_1_1n | :heavy_multiplication_x: (see [issue](https://github.com/bcrypto/bee2evp/issues/11#issue-1179528056))|

## Build script

Run script build.sh. Usage:
```text
"Script for patching OpenSSL."

"Syntax: build [-v|m]"
"options:"
"v OpenSSL version"
"m Mode: 0 (simple patching) or 1 (smart patching)"
```
Loading