<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/openssl_stream.c, branch cmn/clone-submodule</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>Rename GIT_SSL to GIT_OPENSSL</title>
<updated>2015-04-23T15:39:51+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-03-19T08:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=24e53d2fba1ea10c27c3b19f202dc92cabedf0ed'/>
<id>24e53d2fba1ea10c27c3b19f202dc92cabedf0ed</id>
<content type='text'>
This is what it's meant all along, but now we actually have multiple
implementations, it's clearer to use the name of the library.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is what it's meant all along, but now we actually have multiple
implementations, it's clearer to use the name of the library.
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence unused warnings when not using OpenSSL</title>
<updated>2015-04-23T15:39:51+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-03-18T23:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=70b852cee2c9e87588d65581e13c9e65b255cecf'/>
<id>70b852cee2c9e87588d65581e13c9e65b255cecf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Include openssl headers last</title>
<updated>2015-03-02T09:15:13+00:00</updated>
<author>
<name>Aki Koskinen</name>
<email>aki@secondlion.fi</email>
</author>
<published>2015-02-27T08:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ec0324422705875e84eb1afdeae36a4e1db5f467'/>
<id>ec0324422705875e84eb1afdeae36a4e1db5f467</id>
<content type='text'>
Windows headers #define some names that openssl uses too. Openssl
headers #undef the offending names before reusing them. But if those
offending Windows headers get included after the openssl headers the
namespace is polluted and nothing good happens.

Fixes issue #2850.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows headers #define some names that openssl uses too. Openssl
headers #undef the offending names before reusing them. But if those
offending Windows headers get included after the openssl headers the
namespace is polluted and nothing good happens.

Fixes issue #2850.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't include headers on windows that aren't available</title>
<updated>2015-03-02T09:14:07+00:00</updated>
<author>
<name>Aki Koskinen</name>
<email>aki@secondlion.fi</email>
</author>
<published>2015-03-02T09:08:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a944c6cc40273b45922fa22949fe6b12ff668889'/>
<id>a944c6cc40273b45922fa22949fe6b12ff668889</id>
<content type='text'>
This mainly concerns mingw build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mainly concerns mingw build.
</pre>
</div>
</content>
</entry>
<entry>
<title>openssl: Add all required includes for AF_INET6 and in6_addr.</title>
<updated>2015-01-24T14:19:43+00:00</updated>
<author>
<name>Raphael Kubo da Costa</name>
<email>rakuco@FreeBSD.org</email>
</author>
<published>2015-01-24T14:19:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3cda6be76b3c7615d1ff7180825bf5f7b1124268'/>
<id>3cda6be76b3c7615d1ff7180825bf5f7b1124268</id>
<content type='text'>
This fixes the build at least on FreeBSD, where those types were not
defined indirectly:

src/openssl_stream.c:100:18: error: variable has incomplete type 'struct in6_addr'
        struct in6_addr addr6;
                        ^
src/openssl_stream.c:100:9: note: forward declaration of 'struct in6_addr'
        struct in6_addr addr6;
               ^
src/openssl_stream.c:111:18: error: use of undeclared identifier 'AF_INET'
        if (p_inet_pton(AF_INET, host, &amp;addr4)) {
                        ^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
                                       ^
src/openssl_stream.c:115:18: error: use of undeclared identifier 'AF_INET6'
                if(p_inet_pton(AF_INET6, host, &amp;addr6)) {
                               ^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
                                       ^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the build at least on FreeBSD, where those types were not
defined indirectly:

src/openssl_stream.c:100:18: error: variable has incomplete type 'struct in6_addr'
        struct in6_addr addr6;
                        ^
src/openssl_stream.c:100:9: note: forward declaration of 'struct in6_addr'
        struct in6_addr addr6;
               ^
src/openssl_stream.c:111:18: error: use of undeclared identifier 'AF_INET'
        if (p_inet_pton(AF_INET, host, &amp;addr4)) {
                        ^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
                                       ^
src/openssl_stream.c:115:18: error: use of undeclared identifier 'AF_INET6'
                if(p_inet_pton(AF_INET6, host, &amp;addr6)) {
                               ^
src/unix/posix.h:31:40: note: expanded from macro 'p_inet_pton'
                                       ^
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: constify the write buffer</title>
<updated>2014-12-10T15:20:52+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-12-10T00:38:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=49ae22baac96f14d63547c158a87b4de2d8373a8'/>
<id>49ae22baac96f14d63547c158a87b4de2d8373a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gitno: remove code which is no longer needed</title>
<updated>2014-12-10T00:39:09+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-11-02T10:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=1b75c29e3e175ad3ef4bc91a779b851dc76b9e09'/>
<id>1b75c29e3e175ad3ef4bc91a779b851dc76b9e09</id>
<content type='text'>
Most of the network-facing facilities have been copied to the socket and
openssl streams. No code now uses these functions directly anymore, so
we can now remove them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the network-facing facilities have been copied to the socket and
openssl streams. No code now uses these functions directly anymore, so
we can now remove them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an OpenSSL IO stream</title>
<updated>2014-12-10T00:17:41+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-11-01T14:19:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=468d7b11f9642f37a2c54e6fd6d539b223a103aa'/>
<id>468d7b11f9642f37a2c54e6fd6d539b223a103aa</id>
<content type='text'>
This unfortunately isn't as stackable as could be possible, as it
hard-codes the socket stream. This is because the method of using a
custom openssl BIO is not clear, and we do not need this for now. We can
still bring this in if and as we need it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This unfortunately isn't as stackable as could be possible, as it
hard-codes the socket stream. This is because the method of using a
custom openssl BIO is not clear, and we do not need this for now. We can
still bring this in if and as we need it.
</pre>
</div>
</content>
</entry>
</feed>
