]> git.ipfire.org Git - thirdparty/openssl.git/blame - CONTRIBUTING
make update
[thirdparty/openssl.git] / CONTRIBUTING
CommitLineData
eb05f173
MG
1HOW TO CONTRIBUTE TO OpenSSL
2----------------------------
3
4Development is coordinated on the openssl-dev mailing list (see
5http://www.openssl.org for information on subscribing). If you
6would like to submit a patch, send it to rt@openssl.org with
7the string "[PATCH]" in the subject. Please be sure to include a
8textual explanation of what your patch does.
9
a2aaf8be
RS
10You can also make GitHub pull requests. If you do this, please also send
11mail to rt@openssl.org with a brief description and a link to the PR so
12that we can more easily keep track of it.
eb05f173
MG
13
14If you are unsure as to whether a feature will be useful for the general
15OpenSSL community please discuss it on the openssl-dev mailing list first.
16Someone may be already working on the same thing or there may be a good
17reason as to why that feature isn't implemented.
18
19Patches should be as up to date as possible, preferably relative to the
20current Git or the last snapshot. They should follow our coding style
21(see https://www.openssl.org/policies/codingstyle.html) and compile without
a2aaf8be
RS
22warnings using the --strict-warnings flag. OpenSSL compiles on many varied
23platforms: try to ensure you only use portable features.
eb05f173 24
c5eed277
RS
25When at all possible, patches should include tests. These can either be
26added to an existing test, or completely new. Please see test/README for
27information on the test framework.
28
f89ee71b
MC
29Our preferred format for patch files is "git format-patch" output. For example
30to provide a patch file containing the last commit in your local git repository
31use the following command:
32
33# git format-patch --stdout HEAD^ >mydiffs.patch
34
35Another method of creating an acceptable patch file without using git is as
36follows:
eb05f173
MG
37
38# cd openssl-work
39# [your changes]
40# ./Configure dist; make clean
41# cd ..
42# diff -ur openssl-orig openssl-work > mydiffs.patch