-/* $Id: aldap.c,v 1.3 2018/07/31 11:02:01 claudio Exp $ */
-/* $OpenBSD: aldap.c,v 1.3 2018/07/31 11:02:01 claudio Exp $ */
+/* $Id: aldap.c,v 1.4 2018/07/31 11:37:18 rob Exp $ */
+/* $OpenBSD: aldap.c,v 1.4 2018/07/31 11:37:18 rob Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
break;
case BER_CLASS_PRIVATE:
fprintf(stderr, "class: private(%u) type: ", root->be_class);
- fprintf(stderr, "encoding (%lu) type: ", root->be_encoding);
+ fprintf(stderr, "encoding (%u) type: ", root->be_encoding);
break;
case BER_CLASS_CONTEXT:
/* XXX: this is not correct */
fprintf(stderr, "class: <INVALID>(%u) type: ", root->be_class);
break;
}
- fprintf(stderr, "(%lu) encoding %lu ",
+ fprintf(stderr, "(%u) encoding %u ",
root->be_type, root->be_encoding);
if (constructed)
-/* $OpenBSD: ber.c,v 1.15 2018/07/31 11:02:01 claudio Exp $ */
+/* $OpenBSD: ber.c,v 1.16 2018/07/31 11:37:18 rob Exp $ */
/*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
if ((r = get_id(ber, &type, &class, &cstruct)) == -1)
return -1;
- DPRINTF("ber read got class %d type %lu, %s\n",
+ DPRINTF("ber read got class %d type %u, %s\n",
class, type, cstruct ? "constructed" : "primitive");
totlen += r;
if ((r = get_len(ber, &len)) == -1)
-/* $OpenBSD: ber.c,v 1.25 2018/07/31 11:01:00 claudio Exp $ */
+/* $OpenBSD: ber.c,v 1.26 2018/07/31 11:37:18 rob Exp $ */
/*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
if ((r = get_id(ber, &type, &class, &cstruct)) == -1)
return -1;
- DPRINTF("ber read got class %d type %lu, %s\n",
+ DPRINTF("ber read got class %d type %u, %s\n",
class, type, cstruct ? "constructed" : "primitive");
totlen += r;
if ((r = get_len(ber, &len)) == -1)
-/* $OpenBSD: ber.c,v 1.44 2018/07/31 11:01:29 claudio Exp $ */
+/* $OpenBSD: ber.c,v 1.45 2018/07/31 11:37:18 rob Exp $ */
/*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
if ((r = get_id(ber, &type, &class, &cstruct)) == -1)
return -1;
- DPRINTF("ber read got class %d type %lu, %s\n",
+ DPRINTF("ber read got class %d type %u, %s\n",
class, type, cstruct ? "constructed" : "primitive");
totlen += r;
if ((r = get_len(ber, &len)) == -1)
-/* $Id: aldap.c,v 1.41 2018/07/31 11:00:12 claudio Exp $ */
-/* $OpenBSD: aldap.c,v 1.41 2018/07/31 11:00:12 claudio Exp $ */
+/* $Id: aldap.c,v 1.42 2018/07/31 11:37:18 rob Exp $ */
+/* $OpenBSD: aldap.c,v 1.42 2018/07/31 11:37:18 rob Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
break;
case BER_CLASS_PRIVATE:
fprintf(stderr, "class: private(%u) type: ", root->be_class);
- fprintf(stderr, "encoding (%lu) type: ", root->be_encoding);
+ fprintf(stderr, "encoding (%u) type: ", root->be_encoding);
break;
case BER_CLASS_CONTEXT:
/* XXX: this is not correct */
fprintf(stderr, "class: <INVALID>(%u) type: ", root->be_class);
break;
}
- fprintf(stderr, "(%lu) encoding %lu ",
+ fprintf(stderr, "(%u) encoding %u ",
root->be_type, root->be_encoding);
if (constructed)
-/* $OpenBSD: ber.c,v 1.27 2018/07/31 11:00:12 claudio Exp $ */
+/* $OpenBSD: ber.c,v 1.28 2018/07/31 11:37:18 rob Exp $ */
/*
* Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
if ((r = get_id(ber, &type, &class, &cstruct)) == -1)
return -1;
- DPRINTF("ber read got class %d type %lu, %s\n",
+ DPRINTF("ber read got class %d type %u, %s\n",
class, type, cstruct ? "constructed" : "primitive");
totlen += r;
if ((r = get_len(ber, &len)) == -1)