ber_decode_oid(): Fix typo in comment

This commit is contained in:
Hallvard Furuseth 2008-08-06 13:36:53 +00:00
parent 01686daa4d
commit 4028c83c67

View 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;