<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libssh.git/examples, branch wip/expose_buffer_methods</title>
<subtitle>libssh shared repository</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/'/>
<entry>
<title>buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin()</title>
<updated>2015-10-12T11:56:21+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2015-09-24T23:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=850936900fb95e59fbc15d3f1d9993385326977f'/>
<id>850936900fb95e59fbc15d3f1d9993385326977f</id>
<content type='text'>
This commit is a preparatory stage for removing ssh_buffer_get_begin().
Note that removing ssh_buffer_get_begin() doesn't break API
compatibility, as this functions has never been exposed (it only has the
LIBSSH_API prefix).

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit is a preparatory stage for removing ssh_buffer_get_begin().
Note that removing ssh_buffer_get_begin() doesn't break API
compatibility, as this functions has never been exposed (it only has the
LIBSSH_API prefix).

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>example: Fix a use after free in the scp example</title>
<updated>2015-05-05T09:27:09+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2015-05-05T08:36:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=96882cc58cc36f79600a54263b7327b1ce88f99e'/>
<id>96882cc58cc36f79600a54263b7327b1ce88f99e</id>
<content type='text'>
CID: #1032343

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID: #1032343

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>example: Check return value of ssh_get_fd()</title>
<updated>2015-05-05T09:27:09+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2015-05-05T08:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=7c79959e9402fc11cbfe74b7574e103d34602f6b'/>
<id>7c79959e9402fc11cbfe74b7574e103d34602f6b</id>
<content type='text'>
CID: #1199454

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID: #1199454

Signed-off-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Use safer names for stdin, stdout, stderr</title>
<updated>2015-01-20T18:27:14+00:00</updated>
<author>
<name>William Orr</name>
<email>will@worrbase.com</email>
</author>
<published>2014-09-14T08:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=7070117dc382acdffd6768b8b79063d3df9b3114'/>
<id>7070117dc382acdffd6768b8b79063d3df9b3114</id>
<content type='text'>
BUG: https://red.libssh.org/issues/168

On some platforms, like OpenBSD, stdin and friends are macros which break
compilation of this struct. I've fixed these names such that it compiles and
runs cleanly on OpenBSD

Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: https://red.libssh.org/issues/168

On some platforms, like OpenBSD, stdin and friends are macros which break
compilation of this struct. I've fixed these names such that it compiles and
runs cleanly on OpenBSD

Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Fix a bad shift if ssh_get_fd() returns -1.</title>
<updated>2014-04-14T19:24:28+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2014-04-14T19:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=79d51099ac3273aa73c3bd3bd047b3fa996fef18'/>
<id>79d51099ac3273aa73c3bd3bd047b3fa996fef18</id>
<content type='text'>
Found by Coverity.

CID: #1199454
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found by Coverity.

CID: #1199454
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Update ssh_server_fork for new SSH_BIND_OPTIONS_HOSTKEY</title>
<updated>2014-04-09T08:59:21+00:00</updated>
<author>
<name>Alan Dunn</name>
<email>amdunn@gmail.com</email>
</author>
<published>2014-03-27T13:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=491b407d178f9f04f7b4b2c43961061d5e557f23'/>
<id>491b407d178f9f04f7b4b2c43961061d5e557f23</id>
<content type='text'>
Tested by

ssh_server_fork -k &lt;an ecdsa key&gt; -k &lt;an rsa key&gt; ...

and connection succeeded with OpenSSH clients both for ECDSA and RSA
(the latter forced via -o HostKeyAlgorithms=ssh-rsa and some known
hosts clearing was necessary).  Also

ssh_server_fork -k &lt;an ecdsa key&gt; -k &lt;another ecdsa key&gt; ...

caused the second key to be used, as expected.

Signed-off-by: Alan Dunn &lt;amdunn@gmail.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested by

ssh_server_fork -k &lt;an ecdsa key&gt; -k &lt;an rsa key&gt; ...

and connection succeeded with OpenSSH clients both for ECDSA and RSA
(the latter forced via -o HostKeyAlgorithms=ssh-rsa and some known
hosts clearing was necessary).  Also

ssh_server_fork -k &lt;an ecdsa key&gt; -k &lt;another ecdsa key&gt; ...

caused the second key to be used, as expected.

Signed-off-by: Alan Dunn &lt;amdunn@gmail.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Add ECDSA key option to ssh_server_fork</title>
<updated>2014-03-27T09:06:36+00:00</updated>
<author>
<name>Alan Dunn</name>
<email>amdunn@gmail.com</email>
</author>
<published>2014-03-07T14:13:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=5c0c95bd348078fb94b00a4525a2df0c447c530f'/>
<id>5c0c95bd348078fb94b00a4525a2df0c447c530f</id>
<content type='text'>
Signed-off-by: Alan Dunn &lt;amdunn@gmail.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alan Dunn &lt;amdunn@gmail.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Add no default keys options to ssh_server_fork</title>
<updated>2014-03-27T09:06:11+00:00</updated>
<author>
<name>Alan Dunn</name>
<email>amdunn@gmail.com</email>
</author>
<published>2014-03-07T14:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=c82dd2eb81ebdd1456faa0de45eb285d669755fb'/>
<id>c82dd2eb81ebdd1456faa0de45eb285d669755fb</id>
<content type='text'>
It seems useful to be able to run ssh_server_fork without being
required to load some key of RSA and DSA keytypes.  However, with the
current ssh_server_fork, you need to have some keys as some default
value is set by default and you can't unset the value for a keytype
(e.g. by using NULL as an argument).  So the "no default keys"
argument turns off the default key assignments.

Signed-off-by: Alan Dunn &lt;amdunn@gmail.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems useful to be able to run ssh_server_fork without being
required to load some key of RSA and DSA keytypes.  However, with the
current ssh_server_fork, you need to have some keys as some default
value is set by default and you can't unset the value for a keytype
(e.g. by using NULL as an argument).  So the "no default keys"
argument turns off the default key assignments.

Signed-off-by: Alan Dunn &lt;amdunn@gmail.com&gt;
Reviewed-by: Andreas Schneider &lt;asn@cryptomilk.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Add missing include for stderr.</title>
<updated>2014-02-17T08:20:46+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2014-02-17T08:20:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=c96e862c0821d4bb0aa2df676c7a8b212cd885b2'/>
<id>c96e862c0821d4bb0aa2df676c7a8b212cd885b2</id>
<content type='text'>
This should fix the build on FreeBSD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should fix the build on FreeBSD.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: Merge server examples.</title>
<updated>2014-02-16T16:59:46+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2014-02-16T16:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/fidencio/public_git/libssh.git/commit/?id=7021a4661720245416991cb12c776252107cc1f0'/>
<id>7021a4661720245416991cb12c776252107cc1f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
