Simon Josefsson
60d73d5663
less hard coding of cipher mode in libgcrypt backend
2009-10-19 17:36:50 +02:00
Guenter Knauf
7c32c84d0e
removed conditional sources from Makefile.inc
...
added ifdef blocks to libgcrypt.c, pem.c, openssl.c
2009-09-07 18:10:49 +02:00
Simon Josefsson
766127ad57
Fix compilation errors.
2009-09-07 14:14:10 +02:00
Alexander Lamaison
0d6aaa1f56
Pass private-key to OpenSSL as a filename with BIO_new_file().
...
This keeps all FILE* handling on the OpenSSL side of the DLL boundary avoiding crashes on Windows while removing the need for libssh2 to read the private key file into memory. This is now done by OpenSSL which is likely to do a better job of it.
2009-09-02 14:59:40 +01:00
Simon Josefsson
f2253aeee9
Fix compiler warnings.
2008-11-20 10:29:01 +00:00
Daniel Stenberg
210459db4b
re-indented the source code with this script:
...
indent \
--braces-on-if-line \
--braces-after-struct-decl-line \
--space-after-cast \
--line-length 79 \
--comment-line-length 79 \
--cuddle-else \
--no-tabs \
--tab-size 8 \
--indent-level 4 \
--no-space-after-for \
--space-after-if \
--space-after-while \
--no-space-after-function-call-names \
*.[ch]
2007-08-06 20:48:04 +00:00
James Housley
412b25d971
Initially the libssh2 code was indented with tabs of 4 spaces. Some of
...
the recent commits converted the tabs to 4 spaces, which matched the
initial indent size. Other commits converted the tabs to 8 spaces, this
didn't match.
All the code has been converted to 4 space indents. No changes to line
lengths or actual code was performed. This is in preperation to my up
coming non-blocking work so my commits should only be code changes and
line lengths in the code I am working on.
2007-05-28 17:56:08 +00:00
Simon Josefsson
20527d9688
Mind your p's and q's! RSA authentication now works.
2007-02-02 11:18:34 +00:00
Simon Josefsson
f1e7eb7ae8
Fix RSA private key reading (still not working).
2007-01-23 15:12:41 +00:00
Simon Josefsson
b790cabf6a
Fix warnings.
2007-01-23 13:55:11 +00:00
Simon Josefsson
d2be40421a
Fix warnings.
2007-01-23 12:44:14 +00:00
Simon Josefsson
7f9ea39a5d
Fix mem leak.
2007-01-23 12:26:36 +00:00
Simon Josefsson
a86a4e0cfc
Fix mem leak.
2007-01-23 11:28:05 +00:00
Simon Josefsson
51b9ff0f16
Abstract RSA/DSA private key file reading and RSA/DSA signing, and
...
implement them in openssl/libgcrypt layer.
2007-01-23 08:22:54 +00:00
Simon Josefsson
576d37dafd
Indent.
...
Fix mem leak on errors.
2007-01-18 11:37:32 +00:00
Simon Josefsson
d3c334c3d6
Implement new _libssh2_cipher_* API.
2007-01-18 11:20:17 +00:00
Simon Josefsson
e1bebf979b
Support DSA verifications.
2007-01-18 07:51:41 +00:00
Simon Josefsson
b4d7a4eede
Add.
2007-01-16 15:51:31 +00:00