On Wed, Dec 22, 2004, kentlinux wrote:

> � ��������� �� 22 ������� 2004 00:13 Dr. Stephen Henson �������(a):
> > On Tue, Dec 21, 2004, kentlinux wrote:
> > > Hi.
> > > I am trying to bild in some crypto algorithms to openssl-0.9.7d.
> > > But I have a trouble - I can't understand how file
> > > crypto/objects/objects.h was made...
> > > I added some OIDs to objects.txt and they was added automatically
> > > to obj_dat.h, obj_mac.h, obj_mac.num. But nothing in objects.h.
> > >
> > > Without record in objects.h some functions don't work
> > > (when I commpiled openssl with flag 'shared' and load it to
> > > Konqueror-3.2.2, it  can't find name for OIDs in certificates, but when I
> > > added records by hand all works fine).
> > >
> > > Can you tell me how to bild objects.h automatically, or it is made to be
> > > bild it by hand?
> > > Or maybe I don't understand something?
> >
> > They should be added automatically.
> >
> > You can also use OBJ_create() to add objects dynamically.
> >
> > Steve.
> > --
> > Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
> > OpenSSL project core developer and freelance consultant.
> > Funding needed! Details on homepage.
> > Homepage: http://www.drh-consultancy.demon.co.uk
> > ______________________________________________________________________
> > OpenSSL Project                                 http://www.openssl.org
> > Development Mailing List                       [EMAIL PROTECTED]
> > Automated List Manager                           [EMAIL PROTECTED]
> 
> 
> How? 
> There is nothing about it in crypto/objects/Makefile.
> 

Oops, sorry I'm thinking of the "old way". Now the definition are in obj_mac.h
which is included in objects.h.

> P.S.: thanks for OBJ_create(). But I need static OIDs.
> 

Why? This can cause problems with updates to OpenSSL if the NIDs in your
customized version conflict with any newly added OIDs.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
  • Re: OIDs Dr. Stephen Henson

Reply via email to