mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 17:25:09 +02:00
- (bal) Sync with OpenBSD:
- markus@cvs.openbsd.org 2000/10/31 9:31:58 [compat.c] handle all old openssh versions - markus@cvs.openbsd.org 2000/10/31 13:1853 [deattack.c] so that large packets do not wrap "n"; from netbsd - (bal) rijndel.c - fix up RCSID to match OpenBSD tree
This commit is contained in:
parent
2791cd5254
commit
f2de06ba28
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
20001105
|
||||||
|
- (bal) Sync with OpenBSD:
|
||||||
|
- markus@cvs.openbsd.org 2000/10/31 9:31:58
|
||||||
|
[compat.c]
|
||||||
|
handle all old openssh versions
|
||||||
|
- markus@cvs.openbsd.org 2000/10/31 13:1853
|
||||||
|
[deattack.c]
|
||||||
|
so that large packets do not wrap "n"; from netbsd
|
||||||
|
- (bal) rijndel.c - fix up RCSID to match OpenBSD tree
|
||||||
|
|
||||||
20001029
|
20001029
|
||||||
- (stevesk) Fix typo in auth.c: USE_PAM not PAM
|
- (stevesk) Fix typo in auth.c: USE_PAM not PAM
|
||||||
- (stevesk) Create contrib/cygwin/ directory; patch from
|
- (stevesk) Create contrib/cygwin/ directory; patch from
|
||||||
|
5
compat.c
5
compat.c
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: compat.c,v 1.26 2000/10/26 18:38:28 markus Exp $");
|
RCSID("$OpenBSD: compat.c,v 1.27 2000/10/31 09:31:58 markus Exp $");
|
||||||
|
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
@ -62,8 +62,7 @@ compat_datafellows(const char *version)
|
|||||||
char *pat;
|
char *pat;
|
||||||
int bugs;
|
int bugs;
|
||||||
} check[] = {
|
} check[] = {
|
||||||
{ "^OpenSSH-2\\.[01]", SSH_OLD_SESSIONID },
|
{ "^OpenSSH[-_]2\\.[012]", SSH_OLD_SESSIONID },
|
||||||
{ "^OpenSSH_2\\.2", SSH_OLD_SESSIONID },
|
|
||||||
{ "MindTerm", 0 },
|
{ "MindTerm", 0 },
|
||||||
{ "^2\\.1\\.0 ", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
|
{ "^2\\.1\\.0 ", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
|
||||||
SSH_OLD_SESSIONID },
|
SSH_OLD_SESSIONID },
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: deattack.c,v 1.9 2000/09/07 20:27:51 deraadt Exp $ */
|
/* $OpenBSD: deattack.c,v 1.10 2000/10/31 13:18:53 markus Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Cryptographic attack detector for ssh - source code
|
* Cryptographic attack detector for ssh - source code
|
||||||
@ -85,7 +85,7 @@ int
|
|||||||
detect_attack(unsigned char *buf, u_int32_t len, unsigned char *IV)
|
detect_attack(unsigned char *buf, u_int32_t len, unsigned char *IV)
|
||||||
{
|
{
|
||||||
static u_int16_t *h = (u_int16_t *) NULL;
|
static u_int16_t *h = (u_int16_t *) NULL;
|
||||||
static u_int16_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
|
static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
|
||||||
register u_int32_t i, j;
|
register u_int32_t i, j;
|
||||||
u_int32_t l;
|
u_int32_t l;
|
||||||
register unsigned char *c;
|
register unsigned char *c;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: rijndael.c,v 1.1 2000/10/13 18:59:14 markus Exp $ */
|
/* $OpenBSD: rijndael.c,v 1.2 2000/10/15 14:14:01 markus Exp $ */
|
||||||
|
|
||||||
/* This is an independent implementation of the encryption algorithm: */
|
/* This is an independent implementation of the encryption algorithm: */
|
||||||
/* */
|
/* */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user