libadmin/test/client.c : all : util_RPCStatsStateGet types
ptserver/ptserver.c : all : ExtendedCellInfo
rxkad/rxkad_server.c : all : Des key nonsense
-rxkad/ticket.c : all : Des key nonsense
-rxkad/ticket5.c : all : Des key nonsense
-rxkad/v5der.c : all (pthread) : Des key nonsense
+rxkad/ticket5.c : implicit-func : CRC functions
rx/rx.c : all (pthread) : rxkad_global_stats_init not proto'd
rx/xdr_rx.c : all (ukernel) : Prototypes don't match due to AFS_XDR_T
not being used in the xdr header
rxkad_client.o: fcrypt.h private_data.h rxkad_client.c ${INCLS}
rxkad_server.o: rxkad_server.c fcrypt.h private_data.h ${INCLS}
- $(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
+ $(CC) $(CFLAGS) -c $<
rxkad_common.o: fcrypt.h private_data.h rxkad_common.c ${INCLS}
${COMPILE_ET} -p ${srcdir} rxkad_errs -h rxkad
ticket.o: ticket.c lifetimes.h ${INCLS}
- $(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
+ $(CC) $(CFLAGS) -c $<
ticket5.o: ticket5.c v5gen.c v5der.c v5gen-rewrite.h ${INCLS}
- $(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
+ $(CC) $(CFLAGS) -c $<
crc.o: crc.c ${INCLS}
rxkad_stats->des_encrypts[1] += thr_stats->des_encrypts[1];
rxkad_stats->des_key_scheds += thr_stats->des_key_scheds;
rxkad_stats->des_randoms += thr_stats->des_randoms;
+ rxkad_stats->clientObjects += thr_stats->clientObjects;
+ rxkad_stats->serverObjects += thr_stats->serverObjects;
rxkad_stats->spares[0] += thr_stats->spares[0];
rxkad_stats->spares[1] += thr_stats->spares[1];
rxkad_stats->spares[2] += thr_stats->spares[2];
rxkad_stats->spares[5] += thr_stats->spares[5];
rxkad_stats->spares[6] += thr_stats->spares[6];
rxkad_stats->spares[7] += thr_stats->spares[7];
- rxkad_stats->spares[8] += thr_stats->spares[8];
- rxkad_stats->spares[9] += thr_stats->spares[9];
}
RXKAD_GLOBAL_STATS_UNLOCK;
return 0;
extern int tkt_DecodeTicket(char *asecret, afs_int32 ticketLen,
struct ktc_encryptionKey *key, char *name,
char *inst, char *cell, struct ktc_encryptionKey *sessionKey,
- afs_int32 * host, afs_int32 * start,
- afs_int32 * end);
+ afs_int32 * host, afs_uint32 * start,
+ afs_uint32 * end);
extern int tkt_MakeTicket(char *ticket, int *ticketLen,
struct ktc_encryptionKey *key, char *name,
char *inst, char *cell, afs_uint32 start,
struct ktc_encryptionKey *),
char *get_key_rock, int serv_kvno, char *name,
char *inst, char *cell, struct ktc_encryptionKey *session_key,
- afs_int32 * host, afs_int32 * start,
- afs_int32 * end, afs_int32 disableDotCheck);
+ afs_int32 * host, afs_uint32 * start,
+ afs_uint32 * end, afs_int32 disableDotCheck);
#if !defined(NO_DES_H_INCLUDE)
static_inline unsigned char *
rxkad_SetLevel(aconn, sconn->level);
INC_RXKAD_STATS(responses[rxkad_LevelIndex(sconn->level)]);
/* now compute endpoint-specific info used for computing 16 bit checksum */
- rxkad_DeriveXORInfo(aconn, sconn->keysched, sconn->ivec, sconn->preSeq);
+ rxkad_DeriveXORInfo(aconn, &sconn->keysched, (char *)sconn->ivec, (char *)sconn->preSeq);
/* otherwise things are ok */
sconn->expirationTime = end;
tkt_DecodeTicket(char *asecret, afs_int32 ticketLen,
struct ktc_encryptionKey *key, char *name, char *inst,
char *cell, struct ktc_encryptionKey *sessionKey, afs_int32 * host,
- afs_int32 * start, afs_int32 * end)
+ afs_uint32 * start, afs_uint32 * end)
{
char clear_ticket[MAXKTCTICKETLEN];
char *ticket;
#include <afs/param.h>
#endif
+#ifdef IGNORE_SOME_GCC_WARNINGS
+# pragma GCC diagnostic warning "-Wimplicit-function-declaration"
+#endif
#if defined(UKERNEL)
#include "../afs/sysincludes.h"
int (*get_key) (void *, int, struct ktc_encryptionKey *),
char *get_key_rock, int serv_kvno, char *name, char *inst,
char *cell, struct ktc_encryptionKey *session_key, afs_int32 * host,
- afs_int32 * start, afs_int32 * end, afs_int32 disableCheckdot)
+ afs_uint32 * start, afs_uint32 * end, afs_int32 disableCheckdot)
{
char plain[MAXKRB5TICKETLEN];
struct ktc_encryptionKey serv_key;
return RXKADBADTICKET; /* no ticket */
if (serv_kvno == RXKAD_TKT_TYPE_KERBEROS_V5) {
- code = decode_Ticket(ticket, ticket_len, &t5, &siz);
+ code = decode_Ticket((unsigned char *)ticket, ticket_len, &t5, &siz);
if (code != 0)
goto cleanup;
if (t5.tkt_vno != 5)
goto bad_ticket;
} else {
- code = decode_EncryptedData(ticket, ticket_len, &t5.enc_part, &siz);
+ code = decode_EncryptedData((unsigned char *)ticket, ticket_len, &t5.enc_part, &siz);
if (code != 0)
goto cleanup;
}
goto bad_ticket;
/* Decode ticket */
- code = decode_EncTicketPart(plain, plainsiz, &decr_part, &siz);
+ code = decode_EncTicketPart((unsigned char *)plain, plainsiz, &decr_part, &siz);
if (code != 0)
goto bad_ticket;
p += l;
len -= l;
ret += l;
- e = der_get_int(p, reallen, num, &l);
+ e = der_get_unsigned(p, reallen, num, &l);
if (e)
return e;
p += l;