projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Addded some method functions to the ODR type.
[yaz-moved-to-github.git]
/
odr
/
ber_oid.c
diff --git
a/odr/ber_oid.c
b/odr/ber_oid.c
index
07f2ae3
..
20bff00
100644
(file)
--- a/
odr/ber_oid.c
+++ b/
odr/ber_oid.c
@@
-4,14
+4,20
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ber_oid.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ber_oid.c,v $
- * Revision 1.1 1995-02-03 17:04:36 quinn
+ * Revision 1.3 1995-03-01 08:40:56 quinn
+ * Smallish changes.
+ *
+ * Revision 1.2 1995/02/14 20:39:55 quinn
+ * Fixed bugs in completeBER and (serious one in) ber_oid.
+ *
+ * Revision 1.1 1995/02/03 17:04:36 quinn
* Initial revision
*
*/
#include <odr.h>
* Initial revision
*
*/
#include <odr.h>
-int ber_oid(ODR o, Odr_oid *p)
+int ber_oidc(ODR o, Odr_oid *p)
{
int len;
unsigned char *lenp;
{
int len;
unsigned char *lenp;
@@
-72,7
+78,7
@@
int ber_oid(ODR o, Odr_oid *p)
n = 0;
do
{
n = 0;
do
{
- octs[n++] = id &= 0X7F;
+ octs[n++] = id & 0X7F;
id >>= 7;
}
while (id);
id >>= 7;
}
while (id);