diff --git a/Makefile.org b/Makefile.org index e638725df5650cc8d7733706d3b6c1bc6a9a081b..1c79eee1afdbb81bdb7473592522dd385f60d518 100644 --- a/Makefile.org +++ b/Makefile.org @@ -446,9 +446,9 @@ util/libeay.num:: util/ssleay.num:: $(PERL) util/mkdef.pl ssl update -crypto/objects/obj_dat.h: crypto/objects/obj_mac.h crypto/objects/obj_dat.pl +crypto/objects/obj_dat.h: crypto/objects/obj_dat.pl crypto/objects/obj_mac.h $(PERL) crypto/objects/obj_dat.pl crypto/objects/obj_mac.h crypto/objects/obj_dat.h -crypto/objects/obj_mac.h: crypto/objects/objects.pl crypto/objects/objects.txt +crypto/objects/obj_mac.h: crypto/objects/objects.pl crypto/objects/objects.txt crypto/obj_mac.num $(PERL) crypto/objects/objects.pl crypto/objects/objects.txt crypto/objects/obj_mac.num crypto/objects/obj_mac.h TABLE: Configure diff --git a/crypto/objects/Makefile.ssl b/crypto/objects/Makefile.ssl index 1c5d65d71249d7d7d01dcf55263a91d6b1112915..f12602ee01e55180374901cb3886acc46c4cd60b 100644 --- a/crypto/objects/Makefile.ssl +++ b/crypto/objects/Makefile.ssl @@ -15,6 +15,7 @@ MAKEDEPPROG= makedepend MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) MAKEFILE= Makefile.ssl AR= ar r +PERL= perl CFLAGS= $(INCLUDES) $(CFLAG) @@ -44,10 +45,11 @@ lib: $(LIBOBJ) - $(RANLIB) $(LIB) @touch lib -obj_dat.h: objects.h objects.txt obj_mac.h +obj_dat.h: obj_dat.pl obj_mac.h $(PERL) obj_dat.pl obj_mac.h obj_dat.h -obj_mac.h: objects.txt obj_mac.num +# objects.pl both reads and writes obj_mac.num +obj_mac.h: objects.pl objects.txt obj_mac.num $(PERL) objects.pl objects.txt obj_mac.num obj_mac.h files: diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h index fd8c5688957fbdf969c2ef55449811f45e152d72..f39e56709eb80c391c129151f7802f730e0f817a 100644 --- a/crypto/objects/obj_dat.h +++ b/crypto/objects/obj_dat.h @@ -58,13 +58,13 @@ /* THIS FILE IS GENERATED FROM Objects.h by obj_dat.pl via the * following command: - * perl obj_dat.pl objects.h obj_dat.h + * perl obj_dat.pl obj_mac.h obj_dat.h */ #define NUM_NID 480 -#define NUM_SN 481 -#define NUM_LN 481 -#define NUM_OBJ 455 +#define NUM_SN 478 +#define NUM_LN 478 +#define NUM_OBJ 452 static unsigned char lvalues[3694]={ 0x00, /* [ 0] OBJ_undef */ @@ -495,7 +495,7 @@ static unsigned char lvalues[3694]={ 0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x17,/* [3423] OBJ_lastModifiedTime */ 0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x18,/* [3433] OBJ_lastModifiedBy */ 0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x1A,/* [3443] OBJ_aRecord */ -0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x1B,/* [3453] OBJ_ */ +0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x1B,/* [3453] OBJ_pilotAttributeType27 */ 0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x1C,/* [3463] OBJ_mXRecord */ 0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x1D,/* [3473] OBJ_nSRecord */ 0x09,0x92,0x26,0x89,0x93,0xF2,0x2C,0x64,0x01,0x1E,/* [3483] OBJ_sOARecord */ @@ -1219,7 +1219,8 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ {"lastModifiedBy","lastModifiedBy",NID_lastModifiedBy,10, &(lvalues[3433]),0}, {"aRecord","aRecord",NID_aRecord,10,&(lvalues[3443]),0}, -{"NULL","NULL",NID_,10,&(lvalues[3453]),0}, +{"pilotAttributeType27","pilotAttributeType27", + NID_pilotAttributeType27,10,&(lvalues[3453]),0}, {"mXRecord","mXRecord",NID_mXRecord,10,&(lvalues[3463]),0}, {"nSRecord","nSRecord",NID_nSRecord,10,&(lvalues[3473]),0}, {"sOARecord","sOARecord",NID_sOARecord,10,&(lvalues[3483]),0}, @@ -1323,10 +1324,6 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[ 4]),/* "MD5" */ &(nid_objs[114]),/* "MD5-SHA1" */ &(nid_objs[95]),/* "MDC2" */ -&(nid_objs[118]),/* "NULL" */ -&(nid_objs[393]),/* "NULL" */ -&(nid_objs[456]),/* "NULL" */ -&(nid_objs[480]),/* "NULL" */ &(nid_objs[57]),/* "Netscape" */ &(nid_objs[366]),/* "Nonce" */ &(nid_objs[17]),/* "O" */ @@ -1678,6 +1675,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[414]),/* "pilot" */ &(nid_objs[416]),/* "pilotAttributeSyntax" */ &(nid_objs[415]),/* "pilotAttributeType" */ +&(nid_objs[456]),/* "pilotAttributeType27" */ &(nid_objs[433]),/* "pilotDSA" */ &(nid_objs[418]),/* "pilotGroups" */ &(nid_objs[421]),/* "pilotObject" */ @@ -1775,10 +1773,6 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[134]),/* "Microsoft Individual Code Signing" */ &(nid_objs[137]),/* "Microsoft Server Gated Crypto" */ &(nid_objs[136]),/* "Microsoft Trust List Signing" */ -&(nid_objs[118]),/* "NULL" */ -&(nid_objs[393]),/* "NULL" */ -&(nid_objs[456]),/* "NULL" */ -&(nid_objs[480]),/* "NULL" */ &(nid_objs[72]),/* "Netscape Base Url" */ &(nid_objs[76]),/* "Netscape CA Policy Url" */ &(nid_objs[74]),/* "Netscape CA Revocation Url" */ @@ -2146,6 +2140,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[414]),/* "pilot" */ &(nid_objs[416]),/* "pilotAttributeSyntax" */ &(nid_objs[415]),/* "pilotAttributeType" */ +&(nid_objs[456]),/* "pilotAttributeType27" */ &(nid_objs[433]),/* "pilotDSA" */ &(nid_objs[418]),/* "pilotGroups" */ &(nid_objs[421]),/* "pilotObject" */ @@ -2548,10 +2543,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ &(nid_objs[454]),/* OBJ_lastModifiedBy 0 9 2342 19200300 100 1 24 */ &(nid_objs[391]),/* OBJ_domainComponent 0 9 2342 19200300 100 1 25 */ &(nid_objs[455]),/* OBJ_aRecord 0 9 2342 19200300 100 1 26 */ -&(nid_objs[118]),/* OBJ_ 0 9 2342 19200300 100 1 27 */ -&(nid_objs[393]),/* OBJ_ 0 9 2342 19200300 100 1 27 */ -&(nid_objs[456]),/* OBJ_ 0 9 2342 19200300 100 1 27 */ -&(nid_objs[480]),/* OBJ_ 0 9 2342 19200300 100 1 27 */ +&(nid_objs[456]),/* OBJ_pilotAttributeType27 0 9 2342 19200300 100 1 27 */ &(nid_objs[457]),/* OBJ_mXRecord 0 9 2342 19200300 100 1 28 */ &(nid_objs[458]),/* OBJ_nSRecord 0 9 2342 19200300 100 1 29 */ &(nid_objs[459]),/* OBJ_sOARecord 0 9 2342 19200300 100 1 30 */ diff --git a/crypto/objects/obj_dat.pl b/crypto/objects/obj_dat.pl index 11066df680a6cc86291203f8aafa2c4bcea983e7..9e49feabc2eebc6e92b0b87e914e60fdd1f2b4c0 100644 --- a/crypto/objects/obj_dat.pl +++ b/crypto/objects/obj_dat.pl @@ -224,7 +224,7 @@ print OUT <<'EOF'; /* THIS FILE IS GENERATED FROM Objects.h by obj_dat.pl via the * following command: - * perl obj_dat.pl objects.h obj_dat.h + * perl obj_dat.pl obj_mac.h obj_dat.h */ EOF diff --git a/crypto/objects/obj_mac.h b/crypto/objects/obj_mac.h index 420534ea202a22e19becd93f50c37e4533796d70..e511cbc9672ed7f6eb74a990da08effd339d8340 100644 --- a/crypto/objects/obj_mac.h +++ b/crypto/objects/obj_mac.h @@ -2070,8 +2070,9 @@ #define NID_aRecord 455 #define OBJ_aRecord OBJ_pilotAttributeType,26L -#define NID_ 456 -#define OBJ_ OBJ_pilotAttributeType,27L +#define LN_pilotAttributeType27 "pilotAttributeType27" +#define NID_pilotAttributeType27 456 +#define OBJ_pilotAttributeType27 OBJ_pilotAttributeType,27L #define LN_mXRecord "mXRecord" #define NID_mXRecord 457 diff --git a/crypto/objects/obj_mac.num b/crypto/objects/obj_mac.num index 056b6bbb11423049c25ea5f512e4fdc20396e9af..f8627edbd0d6695905f13f8a6d793674ad1b767f 100644 --- a/crypto/objects/obj_mac.num +++ b/crypto/objects/obj_mac.num @@ -453,7 +453,7 @@ otherMailbox 452 lastModifiedTime 453 lastModifiedBy 454 aRecord 455 - 456 +pilotAttributeType27 456 mXRecord 457 nSRecord 458 sOARecord 459 diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl index c956bbb841e0fe5f6c765a4d8e5df75d54e8acf7..41fa4147e31a7a41f313f4bbde691e2877994132 100644 --- a/crypto/objects/objects.pl +++ b/crypto/objects/objects.pl @@ -9,7 +9,9 @@ while() $o++; s/#.*$//; next if /^\s*$/; + $_ = 'X'.$_; ($Cname,$mynum) = split; + $Cname =~ s/^X//; if (defined($nidn{$mynum})) { die "$ARGV[1]:$o:There's already an object with NID ",$mynum," on line ",$order{$mynum},"\n"; } $nid{$Cname} = $mynum; diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt index ba7d86898eec55cbbb4dd98a4608c041d910ecb3..285974698125cbffb05f190dabb8585f59b729a3 100644 --- a/crypto/objects/objects.txt +++ b/crypto/objects/objects.txt @@ -669,7 +669,7 @@ pilotAttributeType 23 : : lastModifiedTime pilotAttributeType 24 : : lastModifiedBy pilotAttributeType 25 : DC : domainComponent pilotAttributeType 26 : : aRecord -pilotAttributeType 27 : : +pilotAttributeType 27 : : pilotAttributeType27 pilotAttributeType 28 : : mXRecord pilotAttributeType 29 : : nSRecord pilotAttributeType 30 : : sOARecord