Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
596c79e8
Commit
596c79e8
authored
Mar 01, 1999
by
Niels Möller
Browse files
*** empty log message ***
Rev: ChangeLog:1.41 Rev: src/dsa_keygen.h:1.4 Rev: src/werror.c:1.27
parent
14767774
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
596c79e8
Mon Mar 1 01:36:54 1999 Niels Mller <nisse@lysator.liu.se>
* src/publickey_crypto.c (init_diffie_hellman_instance): Include
length fields when hashing.
* src/publickey_crypto.c: Some support for broken ssh2 signatures
(Bazsi).
(generic_dsa_sign): New function.
(do_dsa_sign_kludge): New function.
(make_dsa_signer_kludge): New function.
* src/client_keyexchange.c (do_init_client_dh): Renamed the
do_init_dh function.
* src/keyexchange.h (keypair_info): New type.
* src/keyexchange.c (do_handle_kexinit): Added ssh2-dss kludge
(Bazsi).
(make_keypair_info): New function.
* src/lshd.c: Deleted old code. Use a keypair_info alist for the
host key(s).
* src/server_keyexchange.h, src/server_keyexchange.c: Use a
keypair_info alist.
* src/format.c (ssh_format): Added 'u' modifier, for unsigned
bignums.
* src/connection.h (connection): Replaced the client_version and
server_version fields with an array.
* src/atoms.in: Added ssh-dss-kludge atom (used for supporting
buggy ssh2 versions).
* configure.in: Test for syslog.h.
New --with-ssh2-dsa-kludge option.
Sun Feb 28 20:01:32 1999 Niels Mller <nisse@lysator.liu.se>
* src/cvs_headers, src/used_headers: Fixes for compatibility with
...
...
src/dsa_keygen.h
View file @
596c79e8
...
...
@@ -24,12 +24,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef LSH_DS
S
_KEYGEN_H_INCLUDED
#define LSH_DS
S
_KEYGEN_H_INCLUDED
#ifndef LSH_DS
A
_KEYGEN_H_INCLUDED
#define LSH_DS
A
_KEYGEN_H_INCLUDED
#include
"bignum.h"
void
dsa_nist_gen
(
mpz_t
p
,
mpz_t
q
,
struct
randomness
*
r
,
unsigned
l
);
void
dsa_find_generator
(
mpz_t
g
,
struct
randomness
*
r
,
mpz_t
p
,
mpz_t
q
);
#endif
/* LSH_DS
S
_KEYGEN_H_INCLUDED */
#endif
/* LSH_DS
A
_KEYGEN_H_INCLUDED */
src/werror.c
View file @
596c79e8
...
...
@@ -41,7 +41,7 @@
#include
<unistd.h>
#endif
#if
def
HAVE_SYSLOG
#if HAVE_SYSLOG
_H
#include
<syslog.h>
#endif
...
...
@@ -58,7 +58,7 @@ static UINT32 error_pos = 0;
static
int
(
*
error_write
)(
int
fd
,
UINT32
length
,
UINT8
*
data
)
=
write_raw
;
#if
def
HAVE_SYSLOG
#if HAVE_SYSLOG
static
int
write_syslog
(
int
fd
UNUSED
,
UINT32
length
,
UINT8
*
data
)
{
UINT8
string_buffer
[
BUF_SIZE
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment