In message <[EMAIL PROTECTED]> on Thu, 11 Apr 2002 16:43:52 +0500, Brian 
Skrab <[EMAIL PROTECTED]> said:

brian.skrab> [ new_oids ]
brian.skrab> 
brian.skrab> # We can add new OIDs in here for use by 'ca' and 'req'.
brian.skrab> # Add a simple OID like this:
brian.skrab> # testoid1=1.2.3.4
brian.skrab> # Or use config file substitution like this:
brian.skrab> # testoid2=${testoid1}.5.6
brian.skrab> MyAttribute=2.44.88

Ah, that's an invalid OID.  The first number must be 0 to 2, and the
second number must be 1 to 40.  There are hysteri^H^H^H^H^H^H^Hhistorical
reasons for this...

Anyhow, you have uncovered a bug.  It seems like OBJ_create() doesn't
check the return value from a2d_ASN1_OBJECT and thereby fools you into
thinking that everything is OK.  I'll correct that.

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to