]> git.sur5r.net Git - openldap/commitdiff
ber_decode_oid(): Fix typo in comment
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 6 Aug 2008 13:36:53 +0000 (13:36 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 6 Aug 2008 13:36:53 +0000 (13:36 +0000)
libraries/liblber/decode.c

index 047f3e73a70f67fdda5d57116f5abf706e6c839d..5238564ca8f6742b626a696dc8728bb58d13b312 100644 (file)
@@ -69,7 +69,7 @@ ber_decode_oid( BerValue *in, BerValue *out )
                val |= der[i] & 0x7f;
                if ( !( der[i] & 0x80 )) {
                        if ( ptr == NULL ) {
-                               /* Initial "x.y": val=x*40+y, x<=2, y<40 if x=2 */
+                               /* Initial "x.y": val=x*40+y, x<=2, y<40 if x<2 */
                                ptr = out->bv_val;
                                val1 = (val < 80 ? val/40 : 2);
                                val -= val1*40;