Title: CertificateExtensions (id-ce) definition problem

Let me preface all of this with "I think I have this right..."

The 0.9.6b distribution contains the following in Objects.h: (~line 455)

#define SN_ld_ce                        "ld-ce"
#define NID_ld_ce                       81
#define OBJ_ld_ce                       2L,5L,29L

If you recreate the obj_dat.h file using the perl script (perl obj_dat.pl objects.h obj_dat.h), you end up with:

obj_dat.h:340: `NID_ld_ce' undeclared here (not in a function)
obj_dat.h:340: initializer element for `nid_objs[81].nid' is not constant

that's because obj_mac.num defines it as "id_ce". The obj_dat.h included with the distribution contains it correctly (id_ce). Objects.h should be corrected to read:

#define SN_id_ce                        "id-ce"
#define NID_id_ce                       81
#define OBJ_id_ce                       2L,5L,29L

--------------------------------------------------------
Matt Cooper                      CygnaCom Solutions
Manager, Cryptographic
Software Development
Phone: 703.270.3517                   Entrust
Fax: 703.848.0960               Securing the Internet
--------------------------------------------------------

Reply via email to