<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openssl.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Trawick</id>
	<title>OpenSSLWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openssl.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Trawick"/>
	<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php/Special:Contributions/Trawick"/>
	<updated>2026-04-10T05:29:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1620</id>
		<title>Use of Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1620"/>
		<updated>2014-04-26T01:02:58Z</updated>

		<summary type="html">&lt;p&gt;Trawick: axe todo about Request Tracker; outline of how to contribute mentions that&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: This is a superset of the information at http://www.openssl.org/source/repos.html&lt;br /&gt;
&lt;br /&gt;
== Background information about using the Git distributed version control system ==&lt;br /&gt;
&lt;br /&gt;
This page provides examples for some of the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; commands used when accessing OpenSSL source code, but does not provide complete coverage.&lt;br /&gt;
&lt;br /&gt;
* Refer to the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; man ages and http://git-scm.com/ for more complete instructions on using the command.&lt;br /&gt;
* Refer to https://github.com/ for more complete instructions on interacting with Github.&lt;br /&gt;
&lt;br /&gt;
== Use of Git with OpenSSL source tree ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL group hosts its own Git repository at openssl.org, and this contains the master copy of OpenSSL.  You can browse this at https://git.openssl.org/gitweb/?p=openssl.git;a=tree, or get a clone (checkout) of it with the command &amp;lt;tt&amp;gt;git clone git://git.openssl.org/openssl.git&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contributors to OpenSSL should make use of the Github copy of this repository at https://github.com/openssl/openssl.  Github makes it easy to maintain your own fork of OpenSSL for developing your contributions, as well as making a &amp;quot;pull request&amp;quot; to share fixes with the OpenSSL team when finished.  Changes in the master Git repository are represented in the Github copy within minutes.&lt;br /&gt;
&lt;br /&gt;
You can view existing pull requests against any of the branches at https://github.com/openssl/openssl/pulls&lt;br /&gt;
&lt;br /&gt;
=== Getting a copy of the OpenSSL source tree ===&lt;br /&gt;
&lt;br /&gt;
If you want to quickly make a copy of the OpenSSL source tree and you do not plan to publish any changes for use by others, just create a clone on your own machine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Refer to Github documentation for instructions on other means of cloning the source tree.)&lt;br /&gt;
&lt;br /&gt;
If you plan to make changes to the sources that you will share with others, including contributing changes to OpenSSL, it is recommended that you create a fork of the OpenSSL tree using your own Github id.  You can use this to share changes with others whether or not you intend to submit changes to the OpenSSL team.  Refer to the documentation at https://help.github.com/articles/fork-a-repo, in particular the discussion about how to track changes in the real OpenSSL repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Branches ===&lt;br /&gt;
&lt;br /&gt;
The Git repositories contain multiple branches, representing development levels of OpenSSL as well as current and upcoming stable branches.  An easy way to see the available branches is with the branch selector at https://github.com/openssl/openssl.  The branches which are of most interest to most users are&lt;br /&gt;
&lt;br /&gt;
* master (development)&lt;br /&gt;
* OpenSSL_1_0_2-stable (for the not-yet-released 1.0.2 series)&lt;br /&gt;
* OpenSSL_1_0_1-stable&lt;br /&gt;
* OpenSSL_1_0_0-stable&lt;br /&gt;
&lt;br /&gt;
In order to access the code for a branch other than master, clone the Git repository then use the &amp;lt;tt&amp;gt;git checkout ''branchname''&amp;lt;/tt&amp;gt; command to switch to a different branch.  Consider using separate checkouts for each branch you are working in, with appropriate names for each, such as in the following example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL-master&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_2-stable)&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_1-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_1-stable)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've created your own fork of OpenSSL, replace the URL on the &amp;lt;tt&amp;gt;git clone&amp;lt;/tt&amp;gt; command with the one for your fork.  Also, you'll need to follow the instructions at https://help.github.com/articles/fork-a-repo for picking up changes from the master repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Making patches ===&lt;br /&gt;
&lt;br /&gt;
Patches posted to OpenSSL development mailing lists or to the [https://www.openssl.org/support/rt.html OpenSSL Request Tracker] should be in Git &amp;lt;tt&amp;gt;format-patch&amp;lt;/tt&amp;gt; format if at all practical, since that is easier for OpenSSL committers to apply since it contains author details.&lt;br /&gt;
&lt;br /&gt;
The [http://git-scm.com/docs/git-format-patch &amp;lt;tt&amp;gt;git format-patch&amp;lt;/tt&amp;gt;] documentation describes a lot of options.  Here is an example of the most basic use.&lt;br /&gt;
&lt;br /&gt;
:* You've been working on a particular OpenSSL branch within a Git clone of the source tree, and have made a couple of commits which you'd like to submit.&lt;br /&gt;
:* Print the log for those two commits and one more, the one before your commits:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git log -3&lt;br /&gt;
commit 46983b73e04b448cb6cd9ea180044753174dec6d&lt;br /&gt;
Author: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date:   Fri Apr 25 20:25:19 2014 -0400&lt;br /&gt;
&lt;br /&gt;
    spellcheck&lt;br /&gt;
&lt;br /&gt;
commit 1e20bdf6bad38d9766e6cf3e64d903a99f1d9a6b&lt;br /&gt;
Author: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date:   Fri Apr 25 14:07:07 2014 -0400&lt;br /&gt;
&lt;br /&gt;
    silly wording change&lt;br /&gt;
&lt;br /&gt;
commit 3e124d66c8b66a48a824387b10768411a348f518&lt;br /&gt;
Author: Steve Marquess &amp;lt;marquess@opensslfoundation.com&amp;gt;&lt;br /&gt;
Date:   Thu Apr 24 07:13:05 2014 -0400&lt;br /&gt;
&lt;br /&gt;
    Add new sponsors&lt;br /&gt;
    (cherry picked from commit 351f0a124bffaa94d2a8abdec2e7dde5ae9c457d)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:* Create a patch from changes '''after''' the third commit (&amp;lt;tt&amp;gt;3e124d66c8b66a48a824387b10768411a348f518&amp;lt;/tt&amp;gt;), and pipe it to a file instead of letting &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; create a bunch of &amp;lt;tt&amp;gt;.patch&amp;lt;/tt&amp;gt; files in the current directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git format-patch 3e124d66c8b66a48a824387b10768411a348f518 --stdout &amp;gt;/tmp/FixWording.txt&lt;br /&gt;
$ cat /tmp/FixWording.txt &lt;br /&gt;
From 1e20bdf6bad38d9766e6cf3e64d903a99f1d9a6b Mon Sep 17 00:00:00 2001&lt;br /&gt;
From: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date: Fri, 25 Apr 2014 14:07:07 -0400&lt;br /&gt;
Subject: [PATCH 1/2] silly wording change&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
 apps/s_client.c | 2 +-&lt;br /&gt;
 1 file changed, 1 insertion(+), 1 deletion(-)&lt;br /&gt;
&lt;br /&gt;
diff --git a/apps/s_client.c b/apps/s_client.c&lt;br /&gt;
index 01f4f34..eeb2e77 100644&lt;br /&gt;
--- a/apps/s_client.c&lt;br /&gt;
+++ b/apps/s_client.c&lt;br /&gt;
@@ -323,7 +323,7 @@ static void sc_usage(void)&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot;\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -host host     - use -connect instead\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -port port     - use -connect instead\n&amp;quot;);&lt;br /&gt;
-	BIO_printf(bio_err,&amp;quot; -connect host:port - who to connect to (default is %s:%s)\n&amp;quot;,SSL_HOST_NAME,PORT_STR);&lt;br /&gt;
+	BIO_printf(bio_err,&amp;quot; -connect host:port - what to connect to (default is %s:%s)\n&amp;quot;,SSL_HOST_NAME,PORT_STR);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -checkhost host - check peer certificate matches \&amp;quot;host\&amp;quot;\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -checkemail email - check peer certificate matches \&amp;quot;email\&amp;quot;\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -checkip ipaddr - check peer certificate matches \&amp;quot;ipaddr\&amp;quot;\n&amp;quot;);&lt;br /&gt;
-- &lt;br /&gt;
1.8.3.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From 46983b73e04b448cb6cd9ea180044753174dec6d Mon Sep 17 00:00:00 2001&lt;br /&gt;
From: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date: Fri, 25 Apr 2014 20:25:19 -0400&lt;br /&gt;
Subject: [PATCH 2/2] spellcheck&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
 PROBLEMS | 6 +++---&lt;br /&gt;
 1 file changed, 3 insertions(+), 3 deletions(-)&lt;br /&gt;
&lt;br /&gt;
diff --git a/PROBLEMS b/PROBLEMS&lt;br /&gt;
index 3eaab01..86f1e6e 100644&lt;br /&gt;
--- a/PROBLEMS&lt;br /&gt;
+++ b/PROBLEMS&lt;br /&gt;
@@ -41,13 +41,13 @@ passing -Wl,-search_paths_first, but it's unknown if the flag was&lt;br /&gt;
 supported from the initial MacOS X release.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
-* Parallell make leads to errors&lt;br /&gt;
+* Parallel make leads to errors&lt;br /&gt;
 &lt;br /&gt;
-While running tests, running a parallell make is a bad idea.  Many test&lt;br /&gt;
+While running tests, running a parallel make is a bad idea.  Many test&lt;br /&gt;
 scripts use the same name for output and input files, which means different&lt;br /&gt;
 will interfere with each other and lead to test failure.&lt;br /&gt;
 &lt;br /&gt;
-The solution is simple for now: don't run parallell make when testing.&lt;br /&gt;
+The solution is simple for now: don't run parallel make when testing.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 * Bugs in gcc triggered&lt;br /&gt;
-- &lt;br /&gt;
1.8.3.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plan B, if you can't get &amp;lt;tt&amp;gt;git format-patch&amp;lt;/tt&amp;gt; to work for some reason, is to create another, unmodified clone of the OpenSSL code, switch it to the branch you're working in, then use &amp;lt;tt&amp;gt;diff -ru&amp;lt;/tt&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ diff -ru OpenSSL_1_0_2-stable-original OpenSSL_1_0_2-stable &amp;gt; /tmp/FixSClientUsage.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(These two directories were created with &amp;lt;tt&amp;gt;git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable-original&amp;lt;/tt&amp;gt;, and each was switched to the desired branch with &amp;lt;tt&amp;gt;git checkout OpenSSL_1_0_2-stable&amp;lt;/tt&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Double check that only the desired changes are in the patch file.  Otherwise, you probably weren't testing with the most recent OpenSSL changes.&lt;br /&gt;
&lt;br /&gt;
==== Sending patches via e-mail ====&lt;br /&gt;
&lt;br /&gt;
Patches sent via e-mail should be in plain text attachments instead of being pasted into the e-mail body.&lt;br /&gt;
&lt;br /&gt;
=== Making pull requests ===&lt;br /&gt;
&lt;br /&gt;
After developing and testing changes to OpenSSL in your checkout (clone), push them to your fork of OpenSSL (&amp;lt;tt&amp;gt;git push&amp;lt;/tt&amp;gt;), then use the Github interface to submit a pull request to the master OpenSSL repository for the particular revision(s).&lt;br /&gt;
&lt;br /&gt;
== Use of Git with the OpenSSL web site ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL web site is also maintained in git, and can be browsed at https://git.openssl.org/gitweb/?p=openssl-web.git;a=tree.&lt;br /&gt;
&lt;br /&gt;
Unlike the source code, the OpenSSL web site repository is not copied to Github.  You can only interact with it via git.openssl.org, so it is not possible to submit pull requests.&lt;br /&gt;
&lt;br /&gt;
Check it out as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone git://git.openssl.org/openssl-web.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to submit corrections to the web site, create a patch as described above.&lt;br /&gt;
&lt;br /&gt;
Only the master branch of the web site repository is used.&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1619</id>
		<title>Use of Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1619"/>
		<updated>2014-04-26T00:49:28Z</updated>

		<summary type="html">&lt;p&gt;Trawick: stress git format-patch as the preferred way of creating patches to submit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: This is a superset of the information at http://www.openssl.org/source/repos.html&lt;br /&gt;
&lt;br /&gt;
== Background information about using the Git distributed version control system ==&lt;br /&gt;
&lt;br /&gt;
This page provides examples for some of the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; commands used when accessing OpenSSL source code, but does not provide complete coverage.&lt;br /&gt;
&lt;br /&gt;
* Refer to the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; man ages and http://git-scm.com/ for more complete instructions on using the command.&lt;br /&gt;
* Refer to https://github.com/ for more complete instructions on interacting with Github.&lt;br /&gt;
&lt;br /&gt;
== Use of Git with OpenSSL source tree ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL group hosts its own Git repository at openssl.org, and this contains the master copy of OpenSSL.  You can browse this at https://git.openssl.org/gitweb/?p=openssl.git;a=tree, or get a clone (checkout) of it with the command &amp;lt;tt&amp;gt;git clone git://git.openssl.org/openssl.git&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contributors to OpenSSL should make use of the Github copy of this repository at https://github.com/openssl/openssl.  Github makes it easy to maintain your own fork of OpenSSL for developing your contributions, as well as making a &amp;quot;pull request&amp;quot; to share fixes with the OpenSSL team when finished.  Changes in the master Git repository are represented in the Github copy within minutes.&lt;br /&gt;
&lt;br /&gt;
You can view existing pull requests against any of the branches at https://github.com/openssl/openssl/pulls&lt;br /&gt;
&lt;br /&gt;
=== Getting a copy of the OpenSSL source tree ===&lt;br /&gt;
&lt;br /&gt;
If you want to quickly make a copy of the OpenSSL source tree and you do not plan to publish any changes for use by others, just create a clone on your own machine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Refer to Github documentation for instructions on other means of cloning the source tree.)&lt;br /&gt;
&lt;br /&gt;
If you plan to make changes to the sources that you will share with others, including contributing changes to OpenSSL, it is recommended that you create a fork of the OpenSSL tree using your own Github id.  You can use this to share changes with others whether or not you intend to submit changes to the OpenSSL team.  Refer to the documentation at https://help.github.com/articles/fork-a-repo, in particular the discussion about how to track changes in the real OpenSSL repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Branches ===&lt;br /&gt;
&lt;br /&gt;
The Git repositories contain multiple branches, representing development levels of OpenSSL as well as current and upcoming stable branches.  An easy way to see the available branches is with the branch selector at https://github.com/openssl/openssl.  The branches which are of most interest to most users are&lt;br /&gt;
&lt;br /&gt;
* master (development)&lt;br /&gt;
* OpenSSL_1_0_2-stable (for the not-yet-released 1.0.2 series)&lt;br /&gt;
* OpenSSL_1_0_1-stable&lt;br /&gt;
* OpenSSL_1_0_0-stable&lt;br /&gt;
&lt;br /&gt;
In order to access the code for a branch other than master, clone the Git repository then use the &amp;lt;tt&amp;gt;git checkout ''branchname''&amp;lt;/tt&amp;gt; command to switch to a different branch.  Consider using separate checkouts for each branch you are working in, with appropriate names for each, such as in the following example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL-master&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_2-stable)&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_1-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_1-stable)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've created your own fork of OpenSSL, replace the URL on the &amp;lt;tt&amp;gt;git clone&amp;lt;/tt&amp;gt; command with the one for your fork.  Also, you'll need to follow the instructions at https://help.github.com/articles/fork-a-repo for picking up changes from the master repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Making patches ===&lt;br /&gt;
&lt;br /&gt;
Patches posted to OpenSSL development mailing lists or to the [https://www.openssl.org/support/rt.html OpenSSL Request Tracker] should be in Git &amp;lt;tt&amp;gt;format-patch&amp;lt;/tt&amp;gt; format if at all practical, since that is easier for OpenSSL committers to apply since it contains author details.&lt;br /&gt;
&lt;br /&gt;
The [http://git-scm.com/docs/git-format-patch &amp;lt;tt&amp;gt;git format-patch&amp;lt;/tt&amp;gt;] documentation describes a lot of options.  Here is an example of the most basic use.&lt;br /&gt;
&lt;br /&gt;
:* You've been working on a particular OpenSSL branch within a Git clone of the source tree, and have made a couple of commits which you'd like to submit.&lt;br /&gt;
:* Print the log for those two commits and one more, the one before your commits:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git log -3&lt;br /&gt;
commit 46983b73e04b448cb6cd9ea180044753174dec6d&lt;br /&gt;
Author: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date:   Fri Apr 25 20:25:19 2014 -0400&lt;br /&gt;
&lt;br /&gt;
    spellcheck&lt;br /&gt;
&lt;br /&gt;
commit 1e20bdf6bad38d9766e6cf3e64d903a99f1d9a6b&lt;br /&gt;
Author: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date:   Fri Apr 25 14:07:07 2014 -0400&lt;br /&gt;
&lt;br /&gt;
    silly wording change&lt;br /&gt;
&lt;br /&gt;
commit 3e124d66c8b66a48a824387b10768411a348f518&lt;br /&gt;
Author: Steve Marquess &amp;lt;marquess@opensslfoundation.com&amp;gt;&lt;br /&gt;
Date:   Thu Apr 24 07:13:05 2014 -0400&lt;br /&gt;
&lt;br /&gt;
    Add new sponsors&lt;br /&gt;
    (cherry picked from commit 351f0a124bffaa94d2a8abdec2e7dde5ae9c457d)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:* Create a patch from changes '''after''' the third commit (&amp;lt;tt&amp;gt;3e124d66c8b66a48a824387b10768411a348f518&amp;lt;/tt&amp;gt;), and pipe it to a file instead of letting &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; create a bunch of &amp;lt;tt&amp;gt;.patch&amp;lt;/tt&amp;gt; files in the current directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git format-patch 3e124d66c8b66a48a824387b10768411a348f518 --stdout &amp;gt;/tmp/FixWording.txt&lt;br /&gt;
$ cat /tmp/FixWording.txt &lt;br /&gt;
From 1e20bdf6bad38d9766e6cf3e64d903a99f1d9a6b Mon Sep 17 00:00:00 2001&lt;br /&gt;
From: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date: Fri, 25 Apr 2014 14:07:07 -0400&lt;br /&gt;
Subject: [PATCH 1/2] silly wording change&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
 apps/s_client.c | 2 +-&lt;br /&gt;
 1 file changed, 1 insertion(+), 1 deletion(-)&lt;br /&gt;
&lt;br /&gt;
diff --git a/apps/s_client.c b/apps/s_client.c&lt;br /&gt;
index 01f4f34..eeb2e77 100644&lt;br /&gt;
--- a/apps/s_client.c&lt;br /&gt;
+++ b/apps/s_client.c&lt;br /&gt;
@@ -323,7 +323,7 @@ static void sc_usage(void)&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot;\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -host host     - use -connect instead\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -port port     - use -connect instead\n&amp;quot;);&lt;br /&gt;
-	BIO_printf(bio_err,&amp;quot; -connect host:port - who to connect to (default is %s:%s)\n&amp;quot;,SSL_HOST_NAME,PORT_STR);&lt;br /&gt;
+	BIO_printf(bio_err,&amp;quot; -connect host:port - what to connect to (default is %s:%s)\n&amp;quot;,SSL_HOST_NAME,PORT_STR);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -checkhost host - check peer certificate matches \&amp;quot;host\&amp;quot;\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -checkemail email - check peer certificate matches \&amp;quot;email\&amp;quot;\n&amp;quot;);&lt;br /&gt;
 	BIO_printf(bio_err,&amp;quot; -checkip ipaddr - check peer certificate matches \&amp;quot;ipaddr\&amp;quot;\n&amp;quot;);&lt;br /&gt;
-- &lt;br /&gt;
1.8.3.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From 46983b73e04b448cb6cd9ea180044753174dec6d Mon Sep 17 00:00:00 2001&lt;br /&gt;
From: Jeff Trawick &amp;lt;trawick@gmail.com&amp;gt;&lt;br /&gt;
Date: Fri, 25 Apr 2014 20:25:19 -0400&lt;br /&gt;
Subject: [PATCH 2/2] spellcheck&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
 PROBLEMS | 6 +++---&lt;br /&gt;
 1 file changed, 3 insertions(+), 3 deletions(-)&lt;br /&gt;
&lt;br /&gt;
diff --git a/PROBLEMS b/PROBLEMS&lt;br /&gt;
index 3eaab01..86f1e6e 100644&lt;br /&gt;
--- a/PROBLEMS&lt;br /&gt;
+++ b/PROBLEMS&lt;br /&gt;
@@ -41,13 +41,13 @@ passing -Wl,-search_paths_first, but it's unknown if the flag was&lt;br /&gt;
 supported from the initial MacOS X release.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
-* Parallell make leads to errors&lt;br /&gt;
+* Parallel make leads to errors&lt;br /&gt;
 &lt;br /&gt;
-While running tests, running a parallell make is a bad idea.  Many test&lt;br /&gt;
+While running tests, running a parallel make is a bad idea.  Many test&lt;br /&gt;
 scripts use the same name for output and input files, which means different&lt;br /&gt;
 will interfere with each other and lead to test failure.&lt;br /&gt;
 &lt;br /&gt;
-The solution is simple for now: don't run parallell make when testing.&lt;br /&gt;
+The solution is simple for now: don't run parallel make when testing.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 * Bugs in gcc triggered&lt;br /&gt;
-- &lt;br /&gt;
1.8.3.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plan B, if you can't get &amp;lt;tt&amp;gt;git format-patch&amp;lt;/tt&amp;gt; to work for some reason, is to create another, unmodified clone of the OpenSSL code, switch it to the branch you're working in, then use &amp;lt;tt&amp;gt;diff -ru&amp;lt;/tt&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ diff -ru OpenSSL_1_0_2-stable-original OpenSSL_1_0_2-stable &amp;gt; /tmp/FixSClientUsage.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(These two directories were created with &amp;lt;tt&amp;gt;git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable-original&amp;lt;/tt&amp;gt;, and each was switched to the desired branch with &amp;lt;tt&amp;gt;git checkout OpenSSL_1_0_2-stable&amp;lt;/tt&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Double check that only the desired changes are in the patch file.  Otherwise, you probably weren't testing with the most recent OpenSSL changes.&lt;br /&gt;
&lt;br /&gt;
==== Sending patches via e-mail ====&lt;br /&gt;
&lt;br /&gt;
Patches sent via e-mail should be in plain text attachments instead of being pasted into the e-mail body.&lt;br /&gt;
&lt;br /&gt;
=== Making pull requests ===&lt;br /&gt;
&lt;br /&gt;
After developing and testing changes to OpenSSL in your checkout (clone), push them to your fork of OpenSSL (&amp;lt;tt&amp;gt;git push&amp;lt;/tt&amp;gt;), then use the Github interface to submit a pull request to the master OpenSSL repository for the particular revision(s).&lt;br /&gt;
&lt;br /&gt;
(need to allude to other instructions about RT, right?)&lt;br /&gt;
&lt;br /&gt;
== Use of Git with the OpenSSL web site ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL web site is also maintained in git, and can be browsed at https://git.openssl.org/gitweb/?p=openssl-web.git;a=tree.&lt;br /&gt;
&lt;br /&gt;
Unlike the source code, the OpenSSL web site repository is not copied to Github.  You can only interact with it via git.openssl.org, so it is not possible to submit pull requests.&lt;br /&gt;
&lt;br /&gt;
Check it out as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone git://git.openssl.org/openssl-web.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to submit corrections to the web site, create a patch as described above.&lt;br /&gt;
&lt;br /&gt;
Only the master branch of the web site repository is used.&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Main_Page&amp;diff=1618</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Main_Page&amp;diff=1618"/>
		<updated>2014-04-25T20:18:34Z</updated>

		<summary type="html">&lt;p&gt;Trawick: Replace terse &amp;quot;do you need to discuss&amp;quot; statement with good words from README&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If this is your first visit or to get an account please see the [[Welcome]] page. Your participation and [[Contributions]] are valued.&lt;br /&gt;
&lt;br /&gt;
This wiki is intended as a place for collecting, organizing, and refining useful information about OpenSSL that is currently strewn among multiple locations and formats.&lt;br /&gt;
&lt;br /&gt;
== OpenSSL Quick Links ==&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;TABLE border=0&amp;gt;&lt;br /&gt;
     &amp;lt;TR&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[OpenSSL Overview]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Compilation and Installation]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Internals]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Mailing Lists]] &amp;lt;/TD&amp;gt;&lt;br /&gt;
      &amp;lt;/TR&amp;gt;&lt;br /&gt;
      &amp;lt;TR&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[libcrypto API]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[libssl API]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Examples]] &amp;lt;/TD&amp;gt;&lt;br /&gt;
      &amp;lt;/TR&amp;gt;&lt;br /&gt;
      &amp;lt;TR&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[License]] &amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Command Line Utilities]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Related Links]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
      &amp;lt;/TR&amp;gt;&lt;br /&gt;
  &amp;lt;/TABLE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Administrivia ==&lt;br /&gt;
Site guidelines, legal and admininstrative issues.&lt;br /&gt;
:* [[Basic rules]], [[Commercial Product Disclaimer]], [[Contributions]], [[Copyright]], [[License]]&lt;br /&gt;
:* Using This Wiki&lt;br /&gt;
:: [http://meta.wikimedia.org/wiki/Help:Contents Wiki User's Guide], [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list], [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ], [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki Mailing List]&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
This section contains the automagically generated man pages from the OpenSSL git repository, and similar &amp;quot;man&amp;quot; style reference documentation. The man pages are automatically imported from the OpenSSL git repository and local wiki modifications are submitted as patches.&lt;br /&gt;
:* OpenSSL Manual Pages&lt;br /&gt;
::* [[Manual:Openssl(1)]], [[Manual:Ssl(3)]], [[Manual:Crypto(3)]], [[Documentation Index]]&lt;br /&gt;
:: If you wish to edit any of the Manual page content please refer to the [[Guidelines for Manual Page Authors]] page.&lt;br /&gt;
:* [[API]], [[Libcrypto API]], [[Libssl API]]&lt;br /&gt;
:* [[FIPS mode()]], [[FIPS_mode_set()]]&lt;br /&gt;
&lt;br /&gt;
== Usage and Programming ==&lt;br /&gt;
This section has discussions of practical issues in using OpenSSL&lt;br /&gt;
:* Building from Source&lt;br /&gt;
:: Where to find it, the different versions, how to build and install it.&lt;br /&gt;
:* [[OpenSSL Overview]]&lt;br /&gt;
:* [[Versioning]]&lt;br /&gt;
:* [[Compilation and Installation]]&lt;br /&gt;
:* [[EVP]]&lt;br /&gt;
:: Programming techniques and example code&lt;br /&gt;
:: Use of EVP is preferred for most applications and circumstances&lt;br /&gt;
::* [[EVP Asymmetric Encryption and Decryption of an Envelope]]&lt;br /&gt;
::* [[EVP Authenticated Encryption and Decryption]]&lt;br /&gt;
::* [[EVP Symmetric Encryption and Decryption]]&lt;br /&gt;
::* [[EVP Key and Parameter Generation]]&lt;br /&gt;
::* [[EVP Key Agreement]]&lt;br /&gt;
::* [[EVP Message Digests]]&lt;br /&gt;
::* [[EVP Key Derivation]]&lt;br /&gt;
::* [[EVP Signing and Verifying|EVP Signing and Verifying (including MAC codes)]]&lt;br /&gt;
:* [[STACK API]]&lt;br /&gt;
:* Low Level APIs&lt;br /&gt;
:: More specialized non-EVP usage&lt;br /&gt;
::* [[Diffie-Hellman parameters]]&lt;br /&gt;
:* [[FIPS Mode]]&lt;br /&gt;
&lt;br /&gt;
== Concepts and Theory ==&lt;br /&gt;
Discussions of basic cryptographic theory and concepts&lt;br /&gt;
Discussions of common operational issues&lt;br /&gt;
:* [[Base64]]&lt;br /&gt;
:* [http://wiki.openssl.org/index.php/Category:FIPS_140 FIPS 140-2]&lt;br /&gt;
:* [[Random Numbers]]&lt;br /&gt;
:* [[Diffie Hellman]]&lt;br /&gt;
:* [[Elliptic Curve Diffie Hellman]]&lt;br /&gt;
:* [[Elliptic Curve Cryptography]]&lt;br /&gt;
&lt;br /&gt;
== Security Issues ==&lt;br /&gt;
&lt;br /&gt;
=== Heartbleed CVE-2014-0160 ===&lt;br /&gt;
&lt;br /&gt;
affects all 1.0.1x version where x&amp;lt;'g' and 1.0.2-beta&lt;br /&gt;
fixed in 1.0.1g and 1.0.2-beta1  &lt;br /&gt;
&lt;br /&gt;
http://www.openssl.org/news/secadv_20140407.txt&lt;br /&gt;
&lt;br /&gt;
== Feedback and Contributions ==&lt;br /&gt;
:* [https://www.openssl.org/support/faq.html#BUILD18 Notification of suspected security vulnerabilities]&lt;br /&gt;
:* [https://www.openssl.org/support/rt.html Contributing bug reports, other than for suspected vulnerabilities]&lt;br /&gt;
:* [[Contributions|General background on source and documentation contributions - '''must read''']]&lt;br /&gt;
:* Contributing code fixes, other than for suspected vulnerabilities, as well as fixes and other improvements to manual pages&lt;br /&gt;
::* Follow the [[Use of Git#Use_of_Git_with_OpenSSL_source_tree|instructions for accessing source code]] in the appropriate branches&lt;br /&gt;
:::* Note that manual pages and the FAQ are maintained with the source code.&lt;br /&gt;
::* If you are unsure as to whether a feature will be useful for the general OpenSSL community please discuss it on the [https://www.openssl.org/support/community.html openssl-dev mailing list] first.  Someone may be already working on the same thing or there may be a good reason as to why that feature isn't implemented.&lt;br /&gt;
::* Submit a pull request for each separate fix (also documented [[Use of Git#Use_of_Git_with_OpenSSL_source_tree|there]])&lt;br /&gt;
::* Submit a bug report for the issue and reference the pull request&lt;br /&gt;
:* Contributing fixes and other improvements to the web site&lt;br /&gt;
::* Follow the [[Use_of_Git#Use_of_Git_with_the_OpenSSL_web_site|instructions for accessing web site sources]]&lt;br /&gt;
::* Create a patch (also documented [[Use_of_Git#Use_of_Git_with_the_OpenSSL_web_site|there]])&lt;br /&gt;
::* Submit a bug report and add the patch as an attachment&lt;br /&gt;
:* [[Welcome|Contributing to this wiki]]&lt;br /&gt;
&lt;br /&gt;
== Internals and Development ==&lt;br /&gt;
This section is for internal details of primary interest to OpenSSL maintainers and power users&lt;br /&gt;
:* [[Internals]]&lt;br /&gt;
:* [[Code Quality]]&lt;br /&gt;
:* [[Static and Dynamic Analysis]]&lt;br /&gt;
:* [[OCB|OCB Licence details]]&lt;br /&gt;
:* [[Defect and Feature Review Process]]&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Main_Page&amp;diff=1617</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Main_Page&amp;diff=1617"/>
		<updated>2014-04-25T20:10:44Z</updated>

		<summary type="html">&lt;p&gt;Trawick: Add new section covering various types of feedback and contributions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If this is your first visit or to get an account please see the [[Welcome]] page. Your participation and [[Contributions]] are valued.&lt;br /&gt;
&lt;br /&gt;
This wiki is intended as a place for collecting, organizing, and refining useful information about OpenSSL that is currently strewn among multiple locations and formats.&lt;br /&gt;
&lt;br /&gt;
== OpenSSL Quick Links ==&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;TABLE border=0&amp;gt;&lt;br /&gt;
     &amp;lt;TR&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[OpenSSL Overview]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Compilation and Installation]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Internals]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Mailing Lists]] &amp;lt;/TD&amp;gt;&lt;br /&gt;
      &amp;lt;/TR&amp;gt;&lt;br /&gt;
      &amp;lt;TR&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[libcrypto API]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[libssl API]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Examples]] &amp;lt;/TD&amp;gt;&lt;br /&gt;
      &amp;lt;/TR&amp;gt;&lt;br /&gt;
      &amp;lt;TR&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[License]] &amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Command Line Utilities]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Image:HTAB.png]][[Image:HTAB.png]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
        &amp;lt;TD&amp;gt;[[Related Links]]&amp;lt;/TD&amp;gt;&lt;br /&gt;
      &amp;lt;/TR&amp;gt;&lt;br /&gt;
  &amp;lt;/TABLE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Administrivia ==&lt;br /&gt;
Site guidelines, legal and admininstrative issues.&lt;br /&gt;
:* [[Basic rules]], [[Commercial Product Disclaimer]], [[Contributions]], [[Copyright]], [[License]]&lt;br /&gt;
:* Using This Wiki&lt;br /&gt;
:: [http://meta.wikimedia.org/wiki/Help:Contents Wiki User's Guide], [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list], [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ], [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki Mailing List]&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
This section contains the automagically generated man pages from the OpenSSL git repository, and similar &amp;quot;man&amp;quot; style reference documentation. The man pages are automatically imported from the OpenSSL git repository and local wiki modifications are submitted as patches.&lt;br /&gt;
:* OpenSSL Manual Pages&lt;br /&gt;
::* [[Manual:Openssl(1)]], [[Manual:Ssl(3)]], [[Manual:Crypto(3)]], [[Documentation Index]]&lt;br /&gt;
:: If you wish to edit any of the Manual page content please refer to the [[Guidelines for Manual Page Authors]] page.&lt;br /&gt;
:* [[API]], [[Libcrypto API]], [[Libssl API]]&lt;br /&gt;
:* [[FIPS mode()]], [[FIPS_mode_set()]]&lt;br /&gt;
&lt;br /&gt;
== Usage and Programming ==&lt;br /&gt;
This section has discussions of practical issues in using OpenSSL&lt;br /&gt;
:* Building from Source&lt;br /&gt;
:: Where to find it, the different versions, how to build and install it.&lt;br /&gt;
:* [[OpenSSL Overview]]&lt;br /&gt;
:* [[Versioning]]&lt;br /&gt;
:* [[Compilation and Installation]]&lt;br /&gt;
:* [[EVP]]&lt;br /&gt;
:: Programming techniques and example code&lt;br /&gt;
:: Use of EVP is preferred for most applications and circumstances&lt;br /&gt;
::* [[EVP Asymmetric Encryption and Decryption of an Envelope]]&lt;br /&gt;
::* [[EVP Authenticated Encryption and Decryption]]&lt;br /&gt;
::* [[EVP Symmetric Encryption and Decryption]]&lt;br /&gt;
::* [[EVP Key and Parameter Generation]]&lt;br /&gt;
::* [[EVP Key Agreement]]&lt;br /&gt;
::* [[EVP Message Digests]]&lt;br /&gt;
::* [[EVP Key Derivation]]&lt;br /&gt;
::* [[EVP Signing and Verifying|EVP Signing and Verifying (including MAC codes)]]&lt;br /&gt;
:* [[STACK API]]&lt;br /&gt;
:* Low Level APIs&lt;br /&gt;
:: More specialized non-EVP usage&lt;br /&gt;
::* [[Diffie-Hellman parameters]]&lt;br /&gt;
:* [[FIPS Mode]]&lt;br /&gt;
&lt;br /&gt;
== Concepts and Theory ==&lt;br /&gt;
Discussions of basic cryptographic theory and concepts&lt;br /&gt;
Discussions of common operational issues&lt;br /&gt;
:* [[Base64]]&lt;br /&gt;
:* [http://wiki.openssl.org/index.php/Category:FIPS_140 FIPS 140-2]&lt;br /&gt;
:* [[Random Numbers]]&lt;br /&gt;
:* [[Diffie Hellman]]&lt;br /&gt;
:* [[Elliptic Curve Diffie Hellman]]&lt;br /&gt;
:* [[Elliptic Curve Cryptography]]&lt;br /&gt;
&lt;br /&gt;
== Security Issues ==&lt;br /&gt;
&lt;br /&gt;
=== Heartbleed CVE-2014-0160 ===&lt;br /&gt;
&lt;br /&gt;
affects all 1.0.1x version where x&amp;lt;'g' and 1.0.2-beta&lt;br /&gt;
fixed in 1.0.1g and 1.0.2-beta1  &lt;br /&gt;
&lt;br /&gt;
http://www.openssl.org/news/secadv_20140407.txt&lt;br /&gt;
&lt;br /&gt;
== Feedback and Contributions ==&lt;br /&gt;
:* [https://www.openssl.org/support/faq.html#BUILD18 Notification of suspected security vulnerabilities]&lt;br /&gt;
:* [https://www.openssl.org/support/rt.html Contributing bug reports, other than for suspected vulnerabilities]&lt;br /&gt;
:* [[Contributions|General background on source and documentation contributions - '''must read''']]&lt;br /&gt;
:* Contributing code fixes, other than for suspected vulnerabilities, as well as fixes and other improvements to manual pages&lt;br /&gt;
::* Follow the [[Use of Git#Use_of_Git_with_OpenSSL_source_tree|instructions for accessing source code]] in the appropriate branches&lt;br /&gt;
:::* Note that manual pages and the FAQ are maintained with the source code.&lt;br /&gt;
::* If the changes need to be discussed first, use the [https://www.openssl.org/support/community.html openssl-dev@openssl.org] mailing list.&lt;br /&gt;
::* Submit a pull request for each separate fix (also documented [[Use of Git#Use_of_Git_with_OpenSSL_source_tree|there]])&lt;br /&gt;
::* Submit a bug report for the issue and reference the pull request&lt;br /&gt;
:* Contributing fixes and other improvements to the web site&lt;br /&gt;
::* Follow the [[Use_of_Git#Use_of_Git_with_the_OpenSSL_web_site|instructions for accessing web site sources]]&lt;br /&gt;
::* Create a patch (also documented [[Use_of_Git#Use_of_Git_with_the_OpenSSL_web_site|there]])&lt;br /&gt;
::* Submit a bug report and add the patch as an attachment&lt;br /&gt;
:* [[Welcome|Contributing to this wiki]]&lt;br /&gt;
&lt;br /&gt;
== Internals and Development ==&lt;br /&gt;
This section is for internal details of primary interest to OpenSSL maintainers and power users&lt;br /&gt;
:* [[Internals]]&lt;br /&gt;
:* [[Code Quality]]&lt;br /&gt;
:* [[Static and Dynamic Analysis]]&lt;br /&gt;
:* [[OCB|OCB Licence details]]&lt;br /&gt;
:* [[Defect and Feature Review Process]]&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Contributions&amp;diff=1616</id>
		<title>Contributions</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Contributions&amp;diff=1616"/>
		<updated>2014-04-25T19:41:10Z</updated>

		<summary type="html">&lt;p&gt;Trawick: replace TBD with link to new doc on making patches&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are a number of reasons why code or documentation contributions may not be adopted by the OpenSSL maintainers.&lt;br /&gt;
See http://www.opensslfoundation.com/contributions.html for a personal perspective on OpenSSL contributions.&lt;br /&gt;
&lt;br /&gt;
=== Technical Concerns ===&lt;br /&gt;
&lt;br /&gt;
==== Compatibility ====&lt;br /&gt;
Binary incompatible changes can only occur on major releases (the next is 1.1.0) and releases&lt;br /&gt;
are often years apart.&lt;br /&gt;
OpenSSL has a painful history of problems caused by references to OpenSSL internals, a&lt;br /&gt;
history that has left the survivors very paranoid about referencing or changing APIs or&lt;br /&gt;
structures (even those which seem to be clearly for internal use only).&lt;br /&gt;
&lt;br /&gt;
New features cannot be added to existing stable releases as this violates the [[versioning]]&lt;br /&gt;
rule So adding new functionality to OpenSSL 0.9.8, 1.0.0 or 1.0.1 just isn't going to&lt;br /&gt;
happen ''unless'' that new functionality is needed to address a security hole or bug. &lt;br /&gt;
&lt;br /&gt;
==== Security Issues ====&lt;br /&gt;
It is all too easy to inadvertently introduce security vulnerabilities that may not be&lt;br /&gt;
immediately apparent even to experts. For instance, side channel attacks that exploit&lt;br /&gt;
subtle timing differences between different code paths.&lt;br /&gt;
&lt;br /&gt;
==== Platform Portability ====&lt;br /&gt;
OpenSSL runs on an enormous variety of platforms -- processor architectures, operating&lt;br /&gt;
systems, compilers -- some of which have subtle and obscure quirks. Any changes to&lt;br /&gt;
OpenSSL should at a minimum not break support for any existing platforms. The typical&lt;br /&gt;
contributor will not be aware of all the potential platform portability pitfalls and&lt;br /&gt;
so the code will require careful review by the OpenSSL team.&lt;br /&gt;
&lt;br /&gt;
==== Future Directions ====&lt;br /&gt;
(TBD)&lt;br /&gt;
&lt;br /&gt;
==== Maintainability ====&lt;br /&gt;
Incorporation of new code into OpenSSL means an implicit obligation to support it&lt;br /&gt;
forever. There are many subtleties about OpenSSL which even surprise the experts at&lt;br /&gt;
times: new code may have unfortunate consequences and open up security holes. OpenSSL&lt;br /&gt;
is used on a very wide range of applications including a sizeable proportions of the&lt;br /&gt;
world's web servers and as a result the developers have to be pretty darned sure new&lt;br /&gt;
additions wont have unfortunate consequences. Comments and/or documentation can help&lt;br /&gt;
a lot here especially for addition of new features to OpenSSL itself. &lt;br /&gt;
&lt;br /&gt;
=== Presentation ===&lt;br /&gt;
(TBD)&lt;br /&gt;
&lt;br /&gt;
==== Patch Format ====&lt;br /&gt;
Methods of creating patches in the recommended format are covered in the&lt;br /&gt;
[[Use of Git#Making patches|documentation for accessing OpenSSL source code]].&lt;br /&gt;
&lt;br /&gt;
==== Coding Style ====&lt;br /&gt;
Although there are some exceptions most of the OpenSSL code is indented in a rather&lt;br /&gt;
quirky way. That style isn't documented but if you can't figure it out from looking&lt;br /&gt;
at existing source you haven't spend nearly enough time with OpenSSL to think about&lt;br /&gt;
changing it. If a reviewer has to reformat everything to fit with the current code&lt;br /&gt;
style that counts against it. &lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
(TBD)&lt;br /&gt;
&lt;br /&gt;
==== Code Maturity ====&lt;br /&gt;
With documentation there is another factor. People rely on documentation as showing the preferred way of using the software, and once documented an API it effectively &amp;quot;cast in stone&amp;quot; for future versions of OpenSSL. There is a reluctance to document features that may not yet be in a final form.&lt;br /&gt;
&lt;br /&gt;
==== Abstraction Level ====&lt;br /&gt;
With OpenSSL there is usually a preferred general high-level API (EVP) and then&lt;br /&gt;
many lower level function calls that can be used to achieve similar outcomes.&lt;br /&gt;
The higher level abstractions are usually the best solution for all common application&lt;br /&gt;
requirements. As a result there is a reluctance to adopt and publish documentation of&lt;br /&gt;
low level APIs when the corresponding preferred high level approach is not yet&lt;br /&gt;
adequately documented.&lt;br /&gt;
&lt;br /&gt;
=== Licensing and Copyright ===&lt;br /&gt;
Is the code compatible with the [[License|OpenSSL license]]? New contributions will receive&lt;br /&gt;
appropriate credit but they can't be expected to require every OpenSSL application to&lt;br /&gt;
acknowledge the author in the documentation by adding additional attribution requirements.&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1615</id>
		<title>Use of Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1615"/>
		<updated>2014-04-25T18:20:03Z</updated>

		<summary type="html">&lt;p&gt;Trawick: expand section on creating patches&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: This is a superset of the information at http://www.openssl.org/source/repos.html&lt;br /&gt;
&lt;br /&gt;
== Background information about using the Git distributed version control system ==&lt;br /&gt;
&lt;br /&gt;
The following information provides examples for some of the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; commands used when accessing OpenSSL source code.&lt;br /&gt;
&lt;br /&gt;
* Refer to the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; man ages and http://git-scm.com/ for more complete instructions on using the command.&lt;br /&gt;
* Refer to https://github.com/ for more complete instructions on interacting with Github.&lt;br /&gt;
&lt;br /&gt;
== Use of Git with OpenSSL source tree ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL group hosts its own Git repository at openssl.org, and this contains the master copy of OpenSSL.  You can browse this at https://git.openssl.org/gitweb/?p=openssl.git;a=tree, or get a clone (checkout) of it with the command &amp;lt;tt&amp;gt;git clone git://git.openssl.org/openssl.git&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contributors to OpenSSL should make use of the Github copy of this repository at https://github.com/openssl/openssl.  Github makes it easy to maintain your own fork of OpenSSL for developing your contributions, as well as making a &amp;quot;pull request&amp;quot; to share fixes with the OpenSSL team when finished.  Changes in the master Git repository are represented in the Github copy within minutes.&lt;br /&gt;
&lt;br /&gt;
You can view existing pull requests against any of the branches at https://github.com/openssl/openssl/pulls&lt;br /&gt;
&lt;br /&gt;
=== Getting a copy of the OpenSSL source tree ===&lt;br /&gt;
&lt;br /&gt;
If you want to quickly make a copy of the OpenSSL source tree and you do not plan to publish any changes for use by others, just create a clone on your own machine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Refer to Github documentation for instructions on other means of cloning the source tree.)&lt;br /&gt;
&lt;br /&gt;
If you plan to make changes to the sources that you will share with others, including contributing changes to OpenSSL, it is recommended that you create a fork of the OpenSSL tree using your own Github id.  You can use this to share changes with others whether or not you intend to submit changes to the OpenSSL team.  Refer to the documentation at https://help.github.com/articles/fork-a-repo, in particular the discussion about how to track changes in the real OpenSSL repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Branches ===&lt;br /&gt;
&lt;br /&gt;
The Git repositories contain multiple branches, representing development levels of OpenSSL as well as current and upcoming stable branches.  An easy way to see the available branches is with the branch selector at https://github.com/openssl/openssl.  The branches which are of most interest to most users are&lt;br /&gt;
&lt;br /&gt;
* master (development)&lt;br /&gt;
* OpenSSL_1_0_2-stable (for the not-yet-released 1.0.2 series)&lt;br /&gt;
* OpenSSL_1_0_1-stable&lt;br /&gt;
* OpenSSL_1_0_0-stable&lt;br /&gt;
&lt;br /&gt;
In order to access the code for a branch other than master, clone the Git repository then use the &amp;lt;tt&amp;gt;git checkout ''branchname''&amp;lt;/tt&amp;gt; command to switch to a different branch.  Consider using separate checkouts for each branch you are working in, with appropriate names for each, such as in the following example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL-master&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_2-stable)&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_1-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_1-stable)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've created your own fork of OpenSSL, replace the URL on the &amp;lt;tt&amp;gt;git clone&amp;lt;/tt&amp;gt; command with the one for your fork.  Also, you'll need to follow the instructions at https://help.github.com/articles/fork-a-repo for picking up changes from the master repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Making patches ===&lt;br /&gt;
&lt;br /&gt;
Patches posted to OpenSSL development mailing lists or to the [https://www.openssl.org/support/rt.html OpenSSL Request Tracker] should be in unified diff format, showing the differences compared with the latest OpenSSL code from that branch.&lt;br /&gt;
&lt;br /&gt;
For an uncommitted change in your '''up-to-date''' clone, that could be as simple as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git diff -u &amp;gt; /tmp/FixSClientUsage.txt&lt;br /&gt;
$ cat /tmp/FixSClientUsage.txt&lt;br /&gt;
diff --git a/apps/s_client.c b/apps/s_client.c&lt;br /&gt;
index 01f4f34..eeb2e77 100644&lt;br /&gt;
--- a/apps/s_client.c&lt;br /&gt;
+++ b/apps/s_client.c&lt;br /&gt;
@@ -323,7 +323,7 @@ static void sc_usage(void)&lt;br /&gt;
        BIO_printf(bio_err,&amp;quot;\n&amp;quot;);&lt;br /&gt;
        BIO_printf(bio_err,&amp;quot; -host host     - use -connect instead\n&amp;quot;);&lt;br /&gt;
        BIO_printf(bio_err,&amp;quot; -port port     - use -connect instead\n&amp;quot;);&lt;br /&gt;
-       BIO_printf(bio_err,&amp;quot; -connect host:port - who to connect to (default is %s:%s)\n&amp;quot;,SSL_HOST_NAME,PORT_STR);&lt;br /&gt;
+       BIO_printf(bio_err,&amp;quot; -connect host:port - what to connect to (default is %s:%s)\n&amp;quot;,SSL_HOST_NAME,PORT_STR);&lt;br /&gt;
        BIO_printf(bio_err,&amp;quot; -checkhost host - check peer certificate matches \&amp;quot;host\&amp;quot;\n&amp;quot;);&lt;br /&gt;
        BIO_printf(bio_err,&amp;quot; -checkemail email - check peer certificate matches \&amp;quot;email\&amp;quot;\n&amp;quot;);&lt;br /&gt;
        BIO_printf(bio_err,&amp;quot; -checkip ipaddr - check peer certificate matches \&amp;quot;ipaddr\&amp;quot;\n&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it has been committed already, you can find the change in the output of &amp;lt;tt&amp;gt;git log -p&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If multiple commits to your clone comprise a change that you want to submit, it may be easiest to get another, unmodified clone of the OpenSSL code, then use &amp;lt;tt&amp;gt;diff -ru&amp;lt;/tt&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git diff -ru OpenSSL_1_0_2-stable-original OpenSSL_1_0_2-stable &amp;gt; /tmp/FixSClientUsage.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(These two directories were created with &amp;lt;tt&amp;gt;git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable-original&amp;lt;/tt&amp;gt;, and each was switched to the desired branch with &amp;lt;tt&amp;gt;git checkout OpenSSL_1_0_2-stable&amp;lt;/tt&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Double check that only the desired changes are in the patch file.  Otherwise, you probably weren't testing with the most recent OpenSSL changes.&lt;br /&gt;
&lt;br /&gt;
==== Sending patches via e-mail ====&lt;br /&gt;
&lt;br /&gt;
Patches sent via e-mail should be in plain text attachments instead of being pasted into the e-mail body.&lt;br /&gt;
&lt;br /&gt;
=== Making pull requests ===&lt;br /&gt;
&lt;br /&gt;
After developing and testing changes to OpenSSL in your checkout (clone), push them to your fork of OpenSSL (&amp;lt;tt&amp;gt;git push&amp;lt;/tt&amp;gt;), then use the Github interface to submit a pull request to the master OpenSSL repository for the particular revision(s).&lt;br /&gt;
&lt;br /&gt;
(need to allude to other instructions about RT, right?)&lt;br /&gt;
&lt;br /&gt;
== Use of Git with the OpenSSL web site ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL web site is also maintained in git, and can be browsed at https://git.openssl.org/gitweb/?p=openssl-web.git;a=tree.&lt;br /&gt;
&lt;br /&gt;
Unlike the source code, the OpenSSL web site repository is not copied to Github.  You can only interact with it via git.openssl.org, so it is not possible to submit pull requests.&lt;br /&gt;
&lt;br /&gt;
Check it out as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone git://git.openssl.org/openssl-web.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to submit corrections to the web site, create a patch as described above.&lt;br /&gt;
&lt;br /&gt;
Only the master branch of the web site repository is used.&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Compilation_and_Installation&amp;diff=1614</id>
		<title>Compilation and Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Compilation_and_Installation&amp;diff=1614"/>
		<updated>2014-04-25T17:23:08Z</updated>

		<summary type="html">&lt;p&gt;Trawick: spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Retrieve source code ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL source code can be downloaded from [http://www.openssl.org/source/ www.openssl.org/source/] or any suitable [http://www.openssl.org/source/mirror.html ftp mirror]. There are various versions including stable as well as unstable versions. &lt;br /&gt;
&lt;br /&gt;
The source code is manged via Git, the repository is&lt;br /&gt;
&lt;br /&gt;
: git://git.openssl.org/openssl.git&lt;br /&gt;
&lt;br /&gt;
The source is also available via a [https://github.com/openssl/openssl GitHub] mirror. This repository is updated every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
* [[Use_of_Git|Accessing OpenSSL source code via Git]]&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
OpenSSL is configured for a particular platform with protocol and behavior options using &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Configure &amp;amp; Config ===&lt;br /&gt;
&lt;br /&gt;
You use &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; to tune the compile and installation process through options and switches. The difference between is &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; properly handles the host-arch-compiler triplet, and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; does not. &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; attempts to guess the triplet, so its a lot like autotool's &amp;lt;tt&amp;gt;config.guess&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can usually use &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; and it will do the right thing (from Ubuntu 13.04, x64):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./config &lt;br /&gt;
Operating system: x86_64-whatever-linux2&lt;br /&gt;
Configuring for linux-x86_64&lt;br /&gt;
Configuring for linux-x86_64&lt;br /&gt;
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)&lt;br /&gt;
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)&lt;br /&gt;
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)&lt;br /&gt;
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5&lt;br /&gt;
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)&lt;br /&gt;
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)&lt;br /&gt;
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)&lt;br /&gt;
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)&lt;br /&gt;
    no-shared       [default] &lt;br /&gt;
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)&lt;br /&gt;
    no-zlib         [default] &lt;br /&gt;
    no-zlib-dynamic [default] &lt;br /&gt;
    ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mac OSX is a problem (its often a neglected platform), and you will have to use &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ./Configure darwin64-x86_64-cc&lt;br /&gt;
Configuring for darwin64-x86_64-cc&lt;br /&gt;
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)&lt;br /&gt;
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)&lt;br /&gt;
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)&lt;br /&gt;
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5&lt;br /&gt;
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)&lt;br /&gt;
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)&lt;br /&gt;
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)&lt;br /&gt;
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)&lt;br /&gt;
    no-shared       [default] &lt;br /&gt;
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)&lt;br /&gt;
    no-zlib         [default] &lt;br /&gt;
    no-zlib-dynamic [default]&lt;br /&gt;
    ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running the same command with &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; results in:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./config darwin64-x86_64-cc&lt;br /&gt;
Operating system: i686-apple-darwinDarwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64&lt;br /&gt;
WARNING! If you wish to build 64-bit library, then you have to&lt;br /&gt;
         invoke './Configure darwin64-x86_64-cc' *manually*.&lt;br /&gt;
         You have about 5 seconds to press Ctrl-C to abort.&lt;br /&gt;
Configuring for darwin-i386-cc&lt;br /&gt;
target already defined - darwin-i386-cc (offending arg: darwin64-x86_64-cc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you provide a option not known to configure or ask for help, then you get a brief help message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./Configure --help&lt;br /&gt;
Usage: Configure [no-&amp;lt;cipher&amp;gt; ...] [enable-&amp;lt;cipher&amp;gt; ...] [experimental-&amp;lt;cipher&amp;gt; ...]&lt;br /&gt;
[-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared]&lt;br /&gt;
[[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR]&lt;br /&gt;
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if you supply an unknown triplet: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./Configure darwin64-x86_64-clang&lt;br /&gt;
Configuring for darwin64-x86_64-clang&lt;br /&gt;
Usage: Configure [no-&amp;lt;cipher&amp;gt; ...] [enable-&amp;lt;cipher&amp;gt; ...] [experimental-&amp;lt;cipher&amp;gt; ...]&lt;br /&gt;
[-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared]&lt;br /&gt;
[[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR]&lt;br /&gt;
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]&lt;br /&gt;
&lt;br /&gt;
pick os/compiler from:&lt;br /&gt;
BC-32 BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-sparc64 BSD-sparcv8 &lt;br /&gt;
BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-pre1.3 DJGPP MPE/iX-gcc OS2-EMX &lt;br /&gt;
OS390-Unix QNX6 QNX6-i386 ReliantUNIX SINIX SINIX-N UWIN VC-CE VC-WIN32 &lt;br /&gt;
VC-WIN64A VC-WIN64I aix-cc aix-gcc aix3-cc aix64-cc aix64-gcc android &lt;br /&gt;
android-armv7 android-x86 aux3-gcc beos-x86-bone beos-x86-r5 bsdi-elf-gcc cc &lt;br /&gt;
cray-j90 cray-t3e darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc &lt;br /&gt;
darwin64-x86_64-cc dgux-R3-gcc dgux-R4-gcc dgux-R4-x86-gcc dist gcc hpux-cc &lt;br /&gt;
hpux-gcc hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-cc-o4 &lt;br /&gt;
hpux-parisc-gcc hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux-parisc2-cc &lt;br /&gt;
hpux-parisc2-gcc hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc &lt;br /&gt;
hpux64-parisc2-gcc hurd-x86 iphoneos-cross irix-cc irix-gcc irix-mips3-cc &lt;br /&gt;
irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc linux-alpha+bwx-ccc &lt;br /&gt;
linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc linux-aout linux-armv4 &lt;br /&gt;
linux-elf linux-generic32 linux-generic64 linux-ia32-icc linux-ia64 &lt;br /&gt;
linux-ia64-ecc linux-ia64-icc linux-ppc linux-ppc64 linux-sparcv8 &lt;br /&gt;
linux-sparcv9 linux-x86_64 linux32-s390x linux64-s390x linux64-sparcv9 mingw &lt;br /&gt;
mingw64 ncr-scde netware-clib netware-clib-bsdsock netware-clib-bsdsock-gcc &lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
NOTE: If in doubt, on Unix-ish systems use './config'.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, to delete a configuration and start anew, run &amp;lt;tt&amp;gt;make dclean&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Library Options ===&lt;br /&gt;
&lt;br /&gt;
OpenSSL has been around a long time, and it carries around a lot of cruft. For example, from above, SSLv2 is enabled by default. SSLv2 is completely broken, and you should disable it during configuration. You can disable protocols and provide other options through &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt;, and the following lists some of them.&lt;br /&gt;
&lt;br /&gt;
'''Note''': if you specify a non-existent option, then the configure scripts will proceed without warning. For example, if you inadvertently specify '''no-sslv2''' rather than '''no-ssl2''', the script will configure ''with'' SSLv2 and ''without'' warning for the unknown no-sslv2.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ OpenSSL Library Options&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;150px&amp;quot; | Option&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| --openssldir=XXX || The installation directory. If not specified, the library will be installed at &amp;lt;tt&amp;gt;/usr/local/ssl&amp;lt;/tt&amp;gt;. Header will be located at &amp;lt;tt&amp;gt;/usr/local/ssl/include/openssl&amp;lt;/tt&amp;gt;, and libraries located at &amp;lt;tt&amp;gt;/usr/local/ssl/lib&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| shared || Build a shared object in addition to the static archive&lt;br /&gt;
|-&lt;br /&gt;
| enable-ec_nistp_64_gcc_128 || Use on x64 platforms when GCC supports &amp;lt;tt&amp;gt;__uint128_t&amp;lt;/tt&amp;gt;. ECDH is about 2 to 4 times faster. Not enabled by default because &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; can't determine it.&lt;br /&gt;
|-&lt;br /&gt;
| no-ssl2 || Disables SSLv2&lt;br /&gt;
|-&lt;br /&gt;
| no-ssl3 || Disables SSLv3&lt;br /&gt;
|-&lt;br /&gt;
| no-comp || Disables compression independent of &amp;lt;tt&amp;gt;zlib&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| no-asm || Disables assembly language routines (and uses C routines)&lt;br /&gt;
|-&lt;br /&gt;
| no-dtls || Disables DTLS (useful on mobile devices since carriers often block UDP)&lt;br /&gt;
|-&lt;br /&gt;
| no-shared || Disables shared objects (only a static library is created)&lt;br /&gt;
|-&lt;br /&gt;
| no-hw || Disables hardware support (useful on mobile devices)&lt;br /&gt;
|-&lt;br /&gt;
| no-engines || Disables hardware support (useful on mobile devices)&lt;br /&gt;
|-&lt;br /&gt;
| no-dso || Disables the OpenSSL DSO API (the library offers a shared object abstraction layer)&lt;br /&gt;
|-&lt;br /&gt;
| no-psk || Disables Preshared Key (PSK). PSK provides mutual authentication independent of trusted authorities, but its rarely offered or used&lt;br /&gt;
|-&lt;br /&gt;
| no-srp || Disables Secure Remote Password (SRP). SRP provides mutual authentication independent of trusted authorities, but its rarely offered or used&lt;br /&gt;
|-&lt;br /&gt;
| no-ec2m || Used when configuring FIPS Capable Library with a FIPS Object Module that only includes prime curves. That is, use this switch if you use &amp;lt;tt&amp;gt;openssl-fips-ecp-2.0.5&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After disabling an option, your configure output will look similar to below (notice the lack of SSLv2 and SSLv3 support).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./Configure darwin64-x86_64-cc no-ssl2 no-ssl3&lt;br /&gt;
Configuring for darwin64-x86_64-cc&lt;br /&gt;
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)&lt;br /&gt;
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)&lt;br /&gt;
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)&lt;br /&gt;
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5&lt;br /&gt;
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)&lt;br /&gt;
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)&lt;br /&gt;
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)&lt;br /&gt;
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)&lt;br /&gt;
    no-shared       [default] &lt;br /&gt;
    no-ssl2         [option]   OPENSSL_NO_SSL2 (skip dir)&lt;br /&gt;
    no-ssl3         [option]   OPENSSL_NO_SSL3 (skip dir)&lt;br /&gt;
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)&lt;br /&gt;
    no-zlib         [default] &lt;br /&gt;
    no-zlib-dynamic [default] &lt;br /&gt;
    ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Time Checking ===&lt;br /&gt;
&lt;br /&gt;
If you disable an option during configure, you can check if it's available through &amp;lt;tt&amp;gt;OPENSSL_NO_*&amp;lt;/tt&amp;gt; defines. OpenSSL writes the configure options to &amp;lt;tt&amp;gt;&amp;lt;openssl/opensslconf.h&amp;gt;&amp;lt;/tt&amp;gt;. For example, if you want to know if SSLv3 is available, then you would perform the following in your code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#include &amp;lt;openssl/opensslconf.h&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
#if !defined(OPENSSL_NO_SSL3)&lt;br /&gt;
  /* SSLv3 is available */&lt;br /&gt;
#endif&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Modifying Build Settings ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you need to work around OpenSSL's selections for building the library. For example, you might want to use &amp;lt;tt&amp;gt;-Os&amp;lt;/tt&amp;gt; for a mobile device (rather than &amp;lt;tt&amp;gt;-O3&amp;lt;/tt&amp;gt;), or you might want to use the &amp;lt;tt&amp;gt;clang&amp;lt;/tt&amp;gt; compiler (rather than &amp;lt;tt&amp;gt;gcc&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
In case like these, its often easier to modify &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Makefile.org&amp;lt;/tt&amp;gt; rather than trying to add targets to the configure scripts. Below is a patch that modifies &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Makefile.org&amp;lt;/tt&amp;gt; for use under the iOS 7.0 SDK (which lacks &amp;lt;tt&amp;gt;gcc&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;clang&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;Makefile.org&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;clang&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;CFLAG&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;-Os&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;MAKEDEPPROG&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;$(CC) -M&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Setting and resetting of &amp;lt;tt&amp;gt;LANG&amp;lt;/tt&amp;gt; is required on Mac OSX to work around a &amp;lt;tt&amp;gt;sed&amp;lt;/tt&amp;gt; bug or limitation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;OLD_LANG=$LANG&lt;br /&gt;
unset LANG&lt;br /&gt;
&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's|\&amp;quot;iphoneos-cross\&amp;quot;\,\&amp;quot;llvm-gcc\:-O3|\&amp;quot;iphoneos-cross\&amp;quot;\,\&amp;quot;clang\:-Os|g' Configure&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's/CC= cc/CC= clang/g' Makefile.org&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's/CFLAG= -O/CFLAG= -Os/g' Makefile.org&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's/MAKEDEPPROG=makedepend/MAKEDEPPROG=$(CC) -M/g' Makefile.org&lt;br /&gt;
&lt;br /&gt;
export LANG=$OLD_LANG&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After modification, be sure to dclean and configure again so the new settings are picked up:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make dclean&lt;br /&gt;
&lt;br /&gt;
./config&lt;br /&gt;
make depend&lt;br /&gt;
make all&lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fedora and Red Hat ===&lt;br /&gt;
&lt;br /&gt;
On Fedora and Red Hat systems, be sure to export &amp;lt;tt&amp;gt;CFLAGS=&amp;quot;-fPIC&amp;quot;&amp;lt;/tt&amp;gt; and explicitly specify &amp;lt;tt&amp;gt;shared&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt;. Failing to do so will result in static libraries only.That is, you will be missing the shared objects and engines. The commands would look similar to below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ export CFLAGS=&amp;quot;-fPIC&amp;quot;&lt;br /&gt;
$ ./config shared no-ssl2 no-ssl3 --openssldir=/usr/local/ssl&lt;br /&gt;
...&lt;br /&gt;
$ make depend&lt;br /&gt;
...&lt;br /&gt;
$ make all&lt;br /&gt;
...&lt;br /&gt;
$ sudo -E make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== FIPS Capable Library ===&lt;br /&gt;
&lt;br /&gt;
If you want to use FIPS validated cryptography, you download, build and install the FIPS Object Module (&amp;lt;tt&amp;gt;openssl-fips-2.0.5.tar.gz&amp;lt;/tt&amp;gt;) according to the [https://www.openssl.org/docs/fips/UserGuide-2.0.pdf FIPS User Guide 2.0] and [https://www.openssl.org/docs/fips/SecurityPolicy-2.0.pdf FIPS 140-2 Security Policy]. You then download, build and install the FIPS Capable Library (&amp;lt;tt&amp;gt;openssl-1.0.1e.tar.gz&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
When configuring the FIPS Capable Library, you must use &amp;lt;tt&amp;gt;fips&amp;lt;/tt&amp;gt; as an option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./config fips &amp;lt;other options ...&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are configuring the FIPS Capable Library with only prime curves (&amp;lt;tt&amp;gt;openssl-fips-ecp-2.0.5.tar.gz&amp;lt;/tt&amp;gt;), then you must configure with &amp;lt;tt&amp;gt;no-ec2m&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./config fips no-ec2m &amp;lt;other options ...&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
&lt;br /&gt;
Once you untar the source files (or fetched them from source control), its a good idea to look at README provided in it.&lt;br /&gt;
&lt;br /&gt;
cat README&lt;br /&gt;
&lt;br /&gt;
where you will understand that you have to read another file INSTALL :&lt;br /&gt;
&lt;br /&gt;
cat INSTALL &lt;br /&gt;
&lt;br /&gt;
Depending on your platform you will have to pick up the right INSTALL by example INSTALL.W64.&lt;br /&gt;
Default is for Unix based systems.&lt;br /&gt;
&lt;br /&gt;
==== Quick ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./config &amp;lt;nowiki&amp;gt;&amp;lt;options ...&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
make depend&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Various options can be found examining the &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; file (there is a well commented block at its top). OpenSSL ships with SSLv2, SSLv3 and Compression enabled by default (see &amp;lt;tt&amp;gt;my $disabled&amp;lt;/tt&amp;gt;), so you might want to use &amp;lt;tt&amp;gt;no-ssl2&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;no-ssl3&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;no-comp&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Platfom specific ==&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
==== Intel ====&lt;br /&gt;
&lt;br /&gt;
==== ARM ====&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
==== W32 / Windows NT - Windows 9x ====&lt;br /&gt;
&lt;br /&gt;
type INSTALL.W32&lt;br /&gt;
&lt;br /&gt;
* you need Perl for Win32.  Unless you will build on Cygwin, you will need ActiveState Perl, available from http://www.activestate.com/ActivePerl.&lt;br /&gt;
* one of the following C compilers:&lt;br /&gt;
** Visual C++&lt;br /&gt;
** Borland C&lt;br /&gt;
** GNU C (Cygwin or MinGW)&lt;br /&gt;
* Netwide Assembler, a.k.a. NASM, available from http://nasm.sourceforge.net/ is required if you intend to utilize assembler modules. Note that NASM is now the only supported assembler.&lt;br /&gt;
&lt;br /&gt;
==== W64 ====&lt;br /&gt;
&lt;br /&gt;
type INSTALL.W64&lt;br /&gt;
&lt;br /&gt;
basically some specific 64bits information, default Windows build information is still in INSTALL.W32&lt;br /&gt;
&lt;br /&gt;
==== Windows CE ====&lt;br /&gt;
&lt;br /&gt;
=== Mac ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== More ===&lt;br /&gt;
&lt;br /&gt;
==== VAX/VMS ====&lt;br /&gt;
&lt;br /&gt;
I you wonder what are files ending with .com like test/testca.com those are VAX/VMX scripts.&lt;br /&gt;
This code is still maintained.&lt;br /&gt;
&lt;br /&gt;
==== OS/2 ====&lt;br /&gt;
&lt;br /&gt;
==== NetWare ====&lt;br /&gt;
5.x 6.x&lt;br /&gt;
&lt;br /&gt;
==== HP-UX ====&lt;br /&gt;
[[HP-UX Itanium FIPS and OpenSSL build]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Shell level]]&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Compilation]]&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Compilation_and_Installation&amp;diff=1613</id>
		<title>Compilation and Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Compilation_and_Installation&amp;diff=1613"/>
		<updated>2014-04-25T17:20:51Z</updated>

		<summary type="html">&lt;p&gt;Trawick: replace git command with link to page that shows available branches and how to access them&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Retrieve source code ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL source code can be downloaded from [http://www.openssl.org/source/ www.openssl.org/source/] or any suitable [http://www.openssl.org/source/mirror.html ftp mirror]. There are various versions including stable as well as unstable versions. &lt;br /&gt;
&lt;br /&gt;
The source code is manged via Git, the repository is&lt;br /&gt;
&lt;br /&gt;
: git://git.openssl.org/openssl.git&lt;br /&gt;
&lt;br /&gt;
The source is also available via a [https://github.com/openssl/openssl GitHub] mirror. This repository is updated every 15 minutes.&lt;br /&gt;
&lt;br /&gt;
* [[Use_of_Git|Accessing OpenSSL source code via Git]]&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
OpenSSL is configured for a particular platform with protocol and behavior options using &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Configure &amp;amp; Config ===&lt;br /&gt;
&lt;br /&gt;
You use &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; to tune the compile and installation process through options and switches. The difference between is &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; properly handles the host-arch-compiler triplet, and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; does not. &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; attempts to guess the triplet, so its a lot like autotool's &amp;lt;tt&amp;gt;config.guess&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can usually use &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; and it will do the right thing (from Ubuntu 13.04, x64):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./config &lt;br /&gt;
Operating system: x86_64-whatever-linux2&lt;br /&gt;
Configuring for linux-x86_64&lt;br /&gt;
Configuring for linux-x86_64&lt;br /&gt;
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)&lt;br /&gt;
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)&lt;br /&gt;
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)&lt;br /&gt;
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5&lt;br /&gt;
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)&lt;br /&gt;
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)&lt;br /&gt;
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)&lt;br /&gt;
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)&lt;br /&gt;
    no-shared       [default] &lt;br /&gt;
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)&lt;br /&gt;
    no-zlib         [default] &lt;br /&gt;
    no-zlib-dynamic [default] &lt;br /&gt;
    ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mac OSX is a problem (its often a neglected platform), and you will have to use &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; ./Configure darwin64-x86_64-cc&lt;br /&gt;
Configuring for darwin64-x86_64-cc&lt;br /&gt;
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)&lt;br /&gt;
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)&lt;br /&gt;
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)&lt;br /&gt;
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5&lt;br /&gt;
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)&lt;br /&gt;
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)&lt;br /&gt;
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)&lt;br /&gt;
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)&lt;br /&gt;
    no-shared       [default] &lt;br /&gt;
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)&lt;br /&gt;
    no-zlib         [default] &lt;br /&gt;
    no-zlib-dynamic [default]&lt;br /&gt;
    ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running the same command with &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt; results in:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./config darwin64-x86_64-cc&lt;br /&gt;
Operating system: i686-apple-darwinDarwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64&lt;br /&gt;
WARNING! If you wish to build 64-bit library, then you have to&lt;br /&gt;
         invoke './Configure darwin64-x86_64-cc' *manually*.&lt;br /&gt;
         You have about 5 seconds to press Ctrl-C to abort.&lt;br /&gt;
Configuring for darwin-i386-cc&lt;br /&gt;
target already defined - darwin-i386-cc (offending arg: darwin64-x86_64-cc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you provide a option not known to configure or ask for help, then you get a brief help message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./Configure --help&lt;br /&gt;
Usage: Configure [no-&amp;lt;cipher&amp;gt; ...] [enable-&amp;lt;cipher&amp;gt; ...] [experimental-&amp;lt;cipher&amp;gt; ...]&lt;br /&gt;
[-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared]&lt;br /&gt;
[[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR]&lt;br /&gt;
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if you supply an unknown triplet: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./Configure darwin64-x86_64-clang&lt;br /&gt;
Configuring for darwin64-x86_64-clang&lt;br /&gt;
Usage: Configure [no-&amp;lt;cipher&amp;gt; ...] [enable-&amp;lt;cipher&amp;gt; ...] [experimental-&amp;lt;cipher&amp;gt; ...]&lt;br /&gt;
[-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared]&lt;br /&gt;
[[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR]&lt;br /&gt;
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]&lt;br /&gt;
&lt;br /&gt;
pick os/compiler from:&lt;br /&gt;
BC-32 BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-sparc64 BSD-sparcv8 &lt;br /&gt;
BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-pre1.3 DJGPP MPE/iX-gcc OS2-EMX &lt;br /&gt;
OS390-Unix QNX6 QNX6-i386 ReliantUNIX SINIX SINIX-N UWIN VC-CE VC-WIN32 &lt;br /&gt;
VC-WIN64A VC-WIN64I aix-cc aix-gcc aix3-cc aix64-cc aix64-gcc android &lt;br /&gt;
android-armv7 android-x86 aux3-gcc beos-x86-bone beos-x86-r5 bsdi-elf-gcc cc &lt;br /&gt;
cray-j90 cray-t3e darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc &lt;br /&gt;
darwin64-x86_64-cc dgux-R3-gcc dgux-R4-gcc dgux-R4-x86-gcc dist gcc hpux-cc &lt;br /&gt;
hpux-gcc hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-cc-o4 &lt;br /&gt;
hpux-parisc-gcc hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux-parisc2-cc &lt;br /&gt;
hpux-parisc2-gcc hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc &lt;br /&gt;
hpux64-parisc2-gcc hurd-x86 iphoneos-cross irix-cc irix-gcc irix-mips3-cc &lt;br /&gt;
irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc linux-alpha+bwx-ccc &lt;br /&gt;
linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc linux-aout linux-armv4 &lt;br /&gt;
linux-elf linux-generic32 linux-generic64 linux-ia32-icc linux-ia64 &lt;br /&gt;
linux-ia64-ecc linux-ia64-icc linux-ppc linux-ppc64 linux-sparcv8 &lt;br /&gt;
linux-sparcv9 linux-x86_64 linux32-s390x linux64-s390x linux64-sparcv9 mingw &lt;br /&gt;
mingw64 ncr-scde netware-clib netware-clib-bsdsock netware-clib-bsdsock-gcc &lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
NOTE: If in doubt, on Unix-ish systems use './config'.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, to delete a configuration and start anew, run &amp;lt;tt&amp;gt;make dclean&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Library Options ===&lt;br /&gt;
&lt;br /&gt;
OpenSSL has been around a long time, and it carries around a lot of cruft. For example, from above, SSLv2 is enabled by default. SSLv2 is completely broken, and you should disable it during configuration. You can disable protocols and provide other options through &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt;, and the following lists some of them.&lt;br /&gt;
&lt;br /&gt;
'''Note''': if you specify a non-existent option, then the configure scripts will proceed without warning. For example, if you inadvertently specify '''no-sslv2''' rather than '''no-ssl2''', the script will configure ''with'' SSLv2 and ''without'' warning for the unknown no-sslv2.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ OpenSSL Library Options&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; width=&amp;quot;150px&amp;quot; | Option&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| --openssldir=XXX || The installation directory. If not specified, the library will be installed at &amp;lt;tt&amp;gt;/usr/local/ssl&amp;lt;/tt&amp;gt;. Header will be located at &amp;lt;tt&amp;gt;/usr/local/ssl/include/openssl&amp;lt;/tt&amp;gt;, and libraries located at &amp;lt;tt&amp;gt;/usr/local/ssl/lib&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| shared || Build a shared object in addition to the static archive&lt;br /&gt;
|-&lt;br /&gt;
| enable-ec_nistp_64_gcc_128 || Use on x64 platforms when GCC supports &amp;lt;tt&amp;gt;__uint128_t&amp;lt;/tt&amp;gt;. ECDH is about 2 to 4 times faster. Not enabled by default because &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; can't determine it.&lt;br /&gt;
|-&lt;br /&gt;
| no-ssl2 || Disables SSLv2&lt;br /&gt;
|-&lt;br /&gt;
| no-ssl3 || Disables SSLv3&lt;br /&gt;
|-&lt;br /&gt;
| no-comp || Disables compression independent of &amp;lt;tt&amp;gt;zlib&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| no-asm || Disables assembly language routines (and uses C routines)&lt;br /&gt;
|-&lt;br /&gt;
| no-dtls || Disables DTLS (useful on mobile devices since carries often block UDP)&lt;br /&gt;
|-&lt;br /&gt;
| no-shared || Disables shared objects (only a static library is created)&lt;br /&gt;
|-&lt;br /&gt;
| no-hw || Disables hardware support (useful on mobile devices)&lt;br /&gt;
|-&lt;br /&gt;
| no-engines || Disables hardware support (useful on mobile devices)&lt;br /&gt;
|-&lt;br /&gt;
| no-dso || Disables the OpenSSL DSO API (the library offers a shared object abstraction layer)&lt;br /&gt;
|-&lt;br /&gt;
| no-psk || Disables Preshared Key (PSK). PSK provides mutual authentication independent of trusted authorities, but its rarely offered or used&lt;br /&gt;
|-&lt;br /&gt;
| no-srp || Disables Secure Remote Password (SRP). SRP provides mutual authentication independent of trusted authorities, but its rarely offered or used&lt;br /&gt;
|-&lt;br /&gt;
| no-ec2m || Used when configuring FIPS Capable Library with a FIPS Object Module that only includes prime curves. That is, use this switch if you use &amp;lt;tt&amp;gt;openssl-fips-ecp-2.0.5&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After disabling an option, your configure output will look similar to below (notice the lack of SSLv2 and SSLv3 support).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ./Configure darwin64-x86_64-cc no-ssl2 no-ssl3&lt;br /&gt;
Configuring for darwin64-x86_64-cc&lt;br /&gt;
    no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)&lt;br /&gt;
    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)&lt;br /&gt;
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)&lt;br /&gt;
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5&lt;br /&gt;
    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)&lt;br /&gt;
    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)&lt;br /&gt;
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)&lt;br /&gt;
    no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)&lt;br /&gt;
    no-shared       [default] &lt;br /&gt;
    no-ssl2         [option]   OPENSSL_NO_SSL2 (skip dir)&lt;br /&gt;
    no-ssl3         [option]   OPENSSL_NO_SSL3 (skip dir)&lt;br /&gt;
    no-store        [experimental] OPENSSL_NO_STORE (skip dir)&lt;br /&gt;
    no-zlib         [default] &lt;br /&gt;
    no-zlib-dynamic [default] &lt;br /&gt;
    ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Time Checking ===&lt;br /&gt;
&lt;br /&gt;
If you disable an option during configure, you can check if its available through &amp;lt;tt&amp;gt;OPENSSL_NO_*&amp;lt;/tt&amp;gt; defines. OpenSSL writes the configure options to &amp;lt;tt&amp;gt;&amp;lt;openssl/opensslconf.h&amp;gt;&amp;lt;/tt&amp;gt;. For example, if you want to know if SSLv3 is available, then you would perform the following in your code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#include &amp;lt;openssl/opensslconf.h&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
#if !defined(OPENSSL_NO_SSL3)&lt;br /&gt;
  /* SSLv3 is available */&lt;br /&gt;
#endif&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Modifying Build Settings ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you need to work around OpenSSL's selections for building the library. For example, you might want to use &amp;lt;tt&amp;gt;-Os&amp;lt;/tt&amp;gt; for a mobile device (rather than &amp;lt;tt&amp;gt;-O3&amp;lt;/tt&amp;gt;), or you might want to use the &amp;lt;tt&amp;gt;clang&amp;lt;/tt&amp;gt; compiler (rather than &amp;lt;tt&amp;gt;gcc&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
In case like these, its often easier to modify &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Makefile.org&amp;lt;/tt&amp;gt; rather than trying to add targets to the configure scripts. Below is a patch that modifies &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Makefile.org&amp;lt;/tt&amp;gt; for use under the iOS 7.0 SDK (which lacks &amp;lt;tt&amp;gt;gcc&amp;lt;/tt&amp;gt; in &amp;lt;tt&amp;gt;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;clang&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;Makefile.org&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;clang&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;CFLAG&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;-Os&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Modifies &amp;lt;tt&amp;gt;MAKEDEPPROG&amp;lt;/tt&amp;gt; to use &amp;lt;tt&amp;gt;$(CC) -M&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Setting and resetting of &amp;lt;tt&amp;gt;LANG&amp;lt;/tt&amp;gt; is required on Mac OSX to work around a &amp;lt;tt&amp;gt;sed&amp;lt;/tt&amp;gt; bug or limitation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;OLD_LANG=$LANG&lt;br /&gt;
unset LANG&lt;br /&gt;
&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's|\&amp;quot;iphoneos-cross\&amp;quot;\,\&amp;quot;llvm-gcc\:-O3|\&amp;quot;iphoneos-cross\&amp;quot;\,\&amp;quot;clang\:-Os|g' Configure&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's/CC= cc/CC= clang/g' Makefile.org&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's/CFLAG= -O/CFLAG= -Os/g' Makefile.org&lt;br /&gt;
sed -i &amp;quot;&amp;quot; 's/MAKEDEPPROG=makedepend/MAKEDEPPROG=$(CC) -M/g' Makefile.org&lt;br /&gt;
&lt;br /&gt;
export LANG=$OLD_LANG&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After modification, be sure to dclean and configure again so the new settings are picked up:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make dclean&lt;br /&gt;
&lt;br /&gt;
./config&lt;br /&gt;
make depend&lt;br /&gt;
make all&lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fedora and Red Hat ===&lt;br /&gt;
&lt;br /&gt;
On Fedora and Red Hat systems, be sure to export &amp;lt;tt&amp;gt;CFLAGS=&amp;quot;-fPIC&amp;quot;&amp;lt;/tt&amp;gt; and explicitly specify &amp;lt;tt&amp;gt;shared&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;config&amp;lt;/tt&amp;gt;. Failing to do so will result in static libraries only.That is, you will be missing the shared objects and engines. The commands would look similar to below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ export CFLAGS=&amp;quot;-fPIC&amp;quot;&lt;br /&gt;
$ ./config shared no-ssl2 no-ssl3 --openssldir=/usr/local/ssl&lt;br /&gt;
...&lt;br /&gt;
$ make depend&lt;br /&gt;
...&lt;br /&gt;
$ make all&lt;br /&gt;
...&lt;br /&gt;
$ sudo -E make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== FIPS Capable Library ===&lt;br /&gt;
&lt;br /&gt;
If you want to use FIPS validated cryptography, you download, build and install the FIPS Object Module (&amp;lt;tt&amp;gt;openssl-fips-2.0.5.tar.gz&amp;lt;/tt&amp;gt;) according to the [https://www.openssl.org/docs/fips/UserGuide-2.0.pdf FIPS User Guide 2.0] and [https://www.openssl.org/docs/fips/SecurityPolicy-2.0.pdf FIPS 140-2 Security Policy]. You then download, build and install the FIPS Capable Library (&amp;lt;tt&amp;gt;openssl-1.0.1e.tar.gz&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
When configuring the FIPS Capable Library, you must use &amp;lt;tt&amp;gt;fips&amp;lt;/tt&amp;gt; as an option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./config fips &amp;lt;other options ...&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are configuring the FIPS Capable Library with only prime curves (&amp;lt;tt&amp;gt;openssl-fips-ecp-2.0.5.tar.gz&amp;lt;/tt&amp;gt;), then you must configure with &amp;lt;tt&amp;gt;no-ec2m&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./config fips no-ec2m &amp;lt;other options ...&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
&lt;br /&gt;
Once you untar the source files (or fetched them from source control), its a good idea to look at README provided in it.&lt;br /&gt;
&lt;br /&gt;
cat README&lt;br /&gt;
&lt;br /&gt;
where you will understand that you have to read another file INSTALL :&lt;br /&gt;
&lt;br /&gt;
cat INSTALL &lt;br /&gt;
&lt;br /&gt;
Depending on your platform you will have to pick up the right INSTALL by example INSTALL.W64.&lt;br /&gt;
Default is for Unix based systems.&lt;br /&gt;
&lt;br /&gt;
==== Quick ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./config &amp;lt;nowiki&amp;gt;&amp;lt;options ...&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
make depend&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Various options can be found examining the &amp;lt;tt&amp;gt;Configure&amp;lt;/tt&amp;gt; file (there is a well commented block at its top). OpenSSL ships with SSLv2, SSLv3 and Compression enabled by default (see &amp;lt;tt&amp;gt;my $disabled&amp;lt;/tt&amp;gt;), so you might want to use &amp;lt;tt&amp;gt;no-ssl2&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;no-ssl3&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;no-comp&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Platfom specific ==&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
==== Intel ====&lt;br /&gt;
&lt;br /&gt;
==== ARM ====&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
==== W32 / Windows NT - Windows 9x ====&lt;br /&gt;
&lt;br /&gt;
type INSTALL.W32&lt;br /&gt;
&lt;br /&gt;
* you need Perl for Win32.  Unless you will build on Cygwin, you will need ActiveState Perl, available from http://www.activestate.com/ActivePerl.&lt;br /&gt;
* one of the following C compilers:&lt;br /&gt;
** Visual C++&lt;br /&gt;
** Borland C&lt;br /&gt;
** GNU C (Cygwin or MinGW)&lt;br /&gt;
* Netwide Assembler, a.k.a. NASM, available from http://nasm.sourceforge.net/ is required if you intend to utilize assembler modules. Note that NASM is now the only supported assembler.&lt;br /&gt;
&lt;br /&gt;
==== W64 ====&lt;br /&gt;
&lt;br /&gt;
type INSTALL.W64&lt;br /&gt;
&lt;br /&gt;
basically some specific 64bits information, default Windows build information is still in INSTALL.W32&lt;br /&gt;
&lt;br /&gt;
==== Windows CE ====&lt;br /&gt;
&lt;br /&gt;
=== Mac ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== More ===&lt;br /&gt;
&lt;br /&gt;
==== VAX/VMS ====&lt;br /&gt;
&lt;br /&gt;
I you wonder what are files ending with .com like test/testca.com those are VAX/VMX scripts.&lt;br /&gt;
This code is still maintained.&lt;br /&gt;
&lt;br /&gt;
==== OS/2 ====&lt;br /&gt;
&lt;br /&gt;
==== NetWare ====&lt;br /&gt;
5.x 6.x&lt;br /&gt;
&lt;br /&gt;
==== HP-UX ====&lt;br /&gt;
[[HP-UX Itanium FIPS and OpenSSL build]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Shell level]]&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Compilation]]&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1612</id>
		<title>Use of Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1612"/>
		<updated>2014-04-25T17:13:26Z</updated>

		<summary type="html">&lt;p&gt;Trawick: add sections on accessing the source for the web site and background info about git; link to the existing (less complete) page on repos on the web site; add link to the git.openssl.org&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: This is a superset of the information at http://www.openssl.org/source/repos.html&lt;br /&gt;
&lt;br /&gt;
== Background information about using the Git distributed version control system ==&lt;br /&gt;
&lt;br /&gt;
The following information provides examples for some of the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; commands used when accessing OpenSSL source code.&lt;br /&gt;
&lt;br /&gt;
* Refer to the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; man ages and http://git-scm.com/ for more complete instructions on using the command.&lt;br /&gt;
* Refer to https://github.com/ for more complete instructions on interacting with Github.&lt;br /&gt;
&lt;br /&gt;
== Use of Git with OpenSSL source tree ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL group hosts its own Git repository at openssl.org, and this contains the master copy of OpenSSL.  You can browse this at https://git.openssl.org/gitweb/?p=openssl.git;a=tree, or get a clone (checkout) of it with the command &amp;lt;tt&amp;gt;git clone git://git.openssl.org/openssl.git&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contributors to OpenSSL should make use of the Github copy of this repository at https://github.com/openssl/openssl.  Github makes it easy to maintain your own fork of OpenSSL for developing your contributions, as well as making a &amp;quot;pull request&amp;quot; to share fixes with the OpenSSL team when finished.  Changes in the master Git repository are represented in the Github copy within minutes.&lt;br /&gt;
&lt;br /&gt;
You can view existing pull requests against any of the branches at https://github.com/openssl/openssl/pulls&lt;br /&gt;
&lt;br /&gt;
=== Getting a copy of the OpenSSL source tree ===&lt;br /&gt;
&lt;br /&gt;
If you want to quickly make a copy of the OpenSSL source tree and you do not plan to publish any changes for use by others, just create a clone on your own machine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Refer to Github documentation for instructions on other means of cloning the source tree.)&lt;br /&gt;
&lt;br /&gt;
If you plan to make changes to the sources that you will share with others, including contributing changes to OpenSSL, it is recommended that you create a fork of the OpenSSL tree using your own Github id.  You can use this to share changes with others whether or not you intend to submit changes to the OpenSSL team.  Refer to the documentation at https://help.github.com/articles/fork-a-repo, in particular the discussion about how to track changes in the real OpenSSL repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Branches ===&lt;br /&gt;
&lt;br /&gt;
The Git repositories contain multiple branches, representing development levels of OpenSSL as well as current and upcoming stable branches.  An easy way to see the available branches is with the branch selector at https://github.com/openssl/openssl.  The branches which are of most interest to most users are&lt;br /&gt;
&lt;br /&gt;
* master (development)&lt;br /&gt;
* OpenSSL_1_0_2-stable (for the not-yet-released 1.0.2 series)&lt;br /&gt;
* OpenSSL_1_0_1-stable&lt;br /&gt;
* OpenSSL_1_0_0-stable&lt;br /&gt;
&lt;br /&gt;
In order to access the code for a branch other than master, clone the Git repository then use the &amp;lt;tt&amp;gt;git checkout ''branchname''&amp;lt;/tt&amp;gt; command to switch to a different branch.  Consider using separate checkouts for each branch you are working in, with appropriate names for each, such as in the following example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL-master&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_2-stable)&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_1-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_1-stable)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've created your own fork of OpenSSL, replace the URL on the &amp;lt;tt&amp;gt;git clone&amp;lt;/tt&amp;gt; command with the one for your fork.  Also, you'll need to follow the instructions at https://help.github.com/articles/fork-a-repo for picking up changes from the master repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Making patches ===&lt;br /&gt;
&lt;br /&gt;
If you need to post a patch to the OpenSSL development mailing list for discussion, create the patch as follows:&lt;br /&gt;
&lt;br /&gt;
(consolidate existing info about patch format, but in the form of a &amp;lt;tt&amp;gt;git diff&amp;lt;/tt&amp;gt; invocation)&lt;br /&gt;
&lt;br /&gt;
=== Making pull requests ===&lt;br /&gt;
&lt;br /&gt;
After developing and testing changes to OpenSSL in your checkout (clone), push them to your fork of OpenSSL (&amp;lt;tt&amp;gt;git push&amp;lt;/tt&amp;gt;), then use the Github interface to submit a pull request to the master OpenSSL repository for the particular revision(s).&lt;br /&gt;
&lt;br /&gt;
(need to allude to other instructions about RT, right?)&lt;br /&gt;
&lt;br /&gt;
== Use of Git with the OpenSSL web site ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL web site is also maintained in git, and can be browsed at https://git.openssl.org/gitweb/?p=openssl-web.git;a=tree.&lt;br /&gt;
&lt;br /&gt;
Unlike the source code, the OpenSSL web site repository is not copied to Github.  You can only interact with it via git.openssl.org, so it is not possible to submit pull requests.&lt;br /&gt;
&lt;br /&gt;
Check it out as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone git://git.openssl.org/openssl-web.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to submit corrections to the web site, create a patch as described above.&lt;br /&gt;
&lt;br /&gt;
Only the master branch of the web site repository is used.&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
	<entry>
		<id>https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1611</id>
		<title>Use of Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.openssl.org/index.php?title=Use_of_Git&amp;diff=1611"/>
		<updated>2014-04-25T15:51:19Z</updated>

		<summary type="html">&lt;p&gt;Trawick: describe use of Git by OpenSSL committers and other contributors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Use of Git with OpenSSL ==&lt;br /&gt;
&lt;br /&gt;
The OpenSSL group hosts its own Git repository at openssl.org, and this contains the master copy of OpenSSL.&lt;br /&gt;
&lt;br /&gt;
Contributors to OpenSSL should make use of the Github copy of this repository at https://github.com/openssl/openssl.  Github makes it easy to maintain your own fork of OpenSSL for developing your contributions, as well as making a &amp;quot;pull request&amp;quot; to share fixes with the OpenSSL team when finished.  Changes in the master Git repository are represented in the Github copy within minutes.&lt;br /&gt;
&lt;br /&gt;
=== Getting a copy of the OpenSSL source tree ===&lt;br /&gt;
&lt;br /&gt;
If you want to quickly make a copy of the OpenSSL source tree and you do not plan to publish any changes for use by others, just create a clone on your own machine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Refer to Github documentation for instructions on other means of cloning the source tree.)&lt;br /&gt;
&lt;br /&gt;
If you plan to make changes to the sources that you will share with others, including contributing changes to OpenSSL, it is recommended that you create a fork of the OpenSSL tree using your own Github id.  You can use this to share changes with others whether or not you intend to submit changes to the OpenSSL team.  Refer to the documentation at https://help.github.com/articles/fork-a-repo, in particular the discussion about how to track changes in the real OpenSSL repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Branches ===&lt;br /&gt;
&lt;br /&gt;
The Git repositories contain multiple branches, representing development levels of OpenSSL as well as current and upcoming stable branches.  An easy way to see the available branches is with the branch selector at https://github.com/openssl/openssl.  The branches which are of most interest to most users are&lt;br /&gt;
&lt;br /&gt;
* master (development)&lt;br /&gt;
* OpenSSL_1_0_2-stable (for the not-yet-released 1.0.2 series)&lt;br /&gt;
* OpenSSL_1_0_1-stable&lt;br /&gt;
* OpenSSL_1_0_0-stable&lt;br /&gt;
&lt;br /&gt;
In order to access the code for a branch other than master, clone the Git repository then use the &amp;lt;tt&amp;gt;git checkout ''branchname''&amp;lt;/tt&amp;gt; command to switch to a different branch.  Consider using separate checkouts for each branch you are working in, with appropriate names for each, such as in the following example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL-master&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_2-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_2-stable)&lt;br /&gt;
$ git clone https://github.com/openssl/openssl.git OpenSSL_1_0_1-stable&lt;br /&gt;
$ (cd OpenSSL_1_0_2-stable &amp;amp;&amp;amp; git checkout OpenSSL_1_0_1-stable)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you've created your own fork of OpenSSL, replace the URL on the &amp;lt;tt&amp;gt;git clone&amp;lt;/tt&amp;gt; command with the one for your fork.  Also, you'll need to follow the instructions at https://help.github.com/articles/fork-a-repo for picking up changes from the master repository that you forked.&lt;br /&gt;
&lt;br /&gt;
=== Making patches ===&lt;br /&gt;
&lt;br /&gt;
If you need to post a patch to the OpenSSL development mailing list for discussion, create the patch as follows:&lt;br /&gt;
&lt;br /&gt;
(consolidate existing info about patch format, but in the form of a &amp;lt;tt&amp;gt;git diff&amp;lt;/tt&amp;gt; invocation)&lt;br /&gt;
&lt;br /&gt;
=== Making pull requests ===&lt;br /&gt;
&lt;br /&gt;
After developing and testing changes to OpenSSL in your checkout (clone), push them to your fork of OpenSSL (&amp;lt;tt&amp;gt;git push&amp;lt;/tt&amp;gt;), then use the Github interface to submit a pull request to the master OpenSSL repository for the particular revision(s).&lt;br /&gt;
&lt;br /&gt;
(need to allude to other instructions about RT, right?)&lt;/div&gt;</summary>
		<author><name>Trawick</name></author>
	</entry>
</feed>