mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 00:12:45 +00:00
Warnings fixes. Sort out some variable types.
This commit is contained in:
parent
d86c700817
commit
78455da4ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98884
@ -63,6 +63,7 @@ static const char sccsid[] = "@(#)encrypt.c 8.2 (Berkeley) 5/30/95";
|
||||
|
||||
#ifdef ENCRYPTION
|
||||
|
||||
#include <sys/types.h>
|
||||
#define ENCRYPT_NAMES
|
||||
#include <arpa/telnet.h>
|
||||
#include <stdio.h>
|
||||
@ -99,20 +100,20 @@ static const char *Name = "Noname";
|
||||
|
||||
#define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
|
||||
|
||||
static long i_support_encrypt = 0
|
||||
static u_long i_support_encrypt = 0
|
||||
| typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
|
||||
|0;
|
||||
static long i_support_decrypt = 0
|
||||
static u_long i_support_decrypt = 0
|
||||
| typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
|
||||
|0;
|
||||
|
||||
static long i_wont_support_encrypt = 0;
|
||||
static long i_wont_support_decrypt = 0;
|
||||
static u_long i_wont_support_encrypt = 0;
|
||||
static u_long i_wont_support_decrypt = 0;
|
||||
#define I_SUPPORT_ENCRYPT (i_support_encrypt & ~i_wont_support_encrypt)
|
||||
#define I_SUPPORT_DECRYPT (i_support_decrypt & ~i_wont_support_decrypt)
|
||||
|
||||
static long remote_supports_encrypt = 0;
|
||||
static long remote_supports_decrypt = 0;
|
||||
static u_long remote_supports_encrypt = 0;
|
||||
static u_long remote_supports_decrypt = 0;
|
||||
|
||||
static Encryptions encryptions[] = {
|
||||
{ "DES_CFB64", ENCTYPE_DES_CFB64,
|
||||
|
@ -63,6 +63,7 @@ static const char sccsid[] = "@(#)encrypt.c 8.2 (Berkeley) 5/30/95";
|
||||
|
||||
#ifdef ENCRYPTION
|
||||
|
||||
#include <sys/types.h>
|
||||
#define ENCRYPT_NAMES
|
||||
#include <arpa/telnet.h>
|
||||
#include <stdio.h>
|
||||
@ -99,20 +100,20 @@ static const char *Name = "Noname";
|
||||
|
||||
#define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
|
||||
|
||||
static long i_support_encrypt = 0
|
||||
static u_long i_support_encrypt = 0
|
||||
| typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
|
||||
|0;
|
||||
static long i_support_decrypt = 0
|
||||
static u_long i_support_decrypt = 0
|
||||
| typemask(ENCTYPE_DES_CFB64) | typemask(ENCTYPE_DES_OFB64)
|
||||
|0;
|
||||
|
||||
static long i_wont_support_encrypt = 0;
|
||||
static long i_wont_support_decrypt = 0;
|
||||
static u_long i_wont_support_encrypt = 0;
|
||||
static u_long i_wont_support_decrypt = 0;
|
||||
#define I_SUPPORT_ENCRYPT (i_support_encrypt & ~i_wont_support_encrypt)
|
||||
#define I_SUPPORT_DECRYPT (i_support_decrypt & ~i_wont_support_decrypt)
|
||||
|
||||
static long remote_supports_encrypt = 0;
|
||||
static long remote_supports_decrypt = 0;
|
||||
static u_long remote_supports_encrypt = 0;
|
||||
static u_long remote_supports_decrypt = 0;
|
||||
|
||||
static Encryptions encryptions[] = {
|
||||
{ "DES_CFB64", ENCTYPE_DES_CFB64,
|
||||
|
Loading…
Reference in New Issue
Block a user