+Wed Sep 13 10:36:32 1995 Keith Vetter (keithv@fusion.com)
+
+ * oid_ops.c: signed/unsigned mismatch, removed unused variables.
+ * util_oid.c: changed int to a size_t.
+
Wed Sep 6 12:00:00 1995 James Mattly <mattly@fusion.com>
* gssapiP_generic.h: changed a path bearing include for MACINTOSH
* gssapi_generic.h: changed a path bearing include for MACINTOSH
#include "gssapiP_generic.h"
#include "gssapi_generic.h"
+#include <ctype.h>
OM_uint32
generic_gss_release_oid(minor_status, oid)
if ((set->elements[i].length == member->length) &&
!memcmp(set->elements[i].elements,
member->elements,
- member->length)) {
+ (size_t) member->length)) {
result = 1;
break;
}
gss_buffer_t oid_str;
gss_OID *oid;
{
- size_t i;
char *cp, *bp, *startp;
int brace;
long numbuf;
* Phew! We've come this far, so the syntax is good.
*/
if ((*oid = (gss_OID) malloc(sizeof(gss_OID_desc)))) {
- if ((*oid)->elements = (void *) malloc(nbytes)) {
+ if ((*oid)->elements = (void *) malloc((size_t) nbytes)) {
(*oid)->length = nbytes;
op = (unsigned char *) (*oid)->elements;
bp = startp;
op += nbytes;
index = -1;
while (numbuf) {
- op[index] = numbuf & 0x7f;
+ op[index] = (unsigned char) numbuf & 0x7f;
if (index != -1)
op[index] |= 0x80;
index--;