I posted this question on the old ssl-users list, but got no answer.
I wanted to add OIDs from SET books, and I'm running into problems.
For example, I want to add for the HashedRootKey extension (required for a
SET root CA certificate), for which the OID is SET_extensions,0L
The SET_extensions have the OID: 2L,23L,42L,7L
So I added to my objects.h the 8 lines below:
#define SN_SET_extensions "SETExtensions"
#define LN_SET_extensions "X509v3 SET Extensions"
#define NID_SET_extensions 124
#define OBJ_SET_extensions 2L,23L,42L,7L
#define SN_hashed_root_key "HashedRootKey"
#define LN_hashed_root_key "X509v3 SET Hashed Root Key"
#define NID_hashed_root_key 125
#define OBJ_hashed_root_key OBJ_SET_extensions,0L
I then ran the dedicated perl script, then I recompiled everything, and
when I want to display a correct SET Root CA certificate, I don't see
HashedRootKey in the extensions, but SETExtensions.
If I look at the obj-dat.h file, it seems the leading 0L has been lost.
If I add it, and modify the other tables, the result is still the same.
I'm absolutely sure of my certificates, they are real ones (the ones used
in production systems).
I'm sure I mistaking somewhere, but I don't see where....
--
Erwann ABALEA
System and Development Engineer - Certplus SA
[EMAIL PROTECTED]
Telephone: +33 1 34 38 29 50
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]