[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#13389: another possibility (HPN SSH patches)



Hi,

Please find an attacher patch to get the none cipher for transport layer as
asked here. It works for openssh 7.9.

diff openssh-portable-master/cipher.c openssh-portable-master-moi/cipher.c
125c125
< 		if ((c->flags & CFLAG_INTERNAL) != 0)
---
> 		if ((c->flags & CFLAG_INTERNAL) != 0 && (c->flags & CFLAG_NONE) == 0)
217c217
< 		if (c == NULL || (c->flags & CFLAG_INTERNAL) != 0) {
---
> 		if (c == NULL || ((c->flags & CFLAG_INTERNAL) != 0 && (c->flags & CFLAG_NONE) == 0)) {

Regards,

Benoit


Reply to: