Commit 596c79e8 authored by Niels Möller's avatar 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
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
......
......@@ -24,12 +24,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef LSH_DSS_KEYGEN_H_INCLUDED
#define LSH_DSS_KEYGEN_H_INCLUDED
#ifndef LSH_DSA_KEYGEN_H_INCLUDED
#define LSH_DSA_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_DSS_KEYGEN_H_INCLUDED */
#endif /* LSH_DSA_KEYGEN_H_INCLUDED */
......@@ -41,7 +41,7 @@
#include <unistd.h>
#endif
#ifdef 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;
#ifdef HAVE_SYSLOG
#if HAVE_SYSLOG
static int write_syslog(int fd UNUSED, UINT32 length, UINT8 *data)
{
UINT8 string_buffer[BUF_SIZE];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment