On Wed, Apr 17, 2002 at 09:43:07PM -0700, Howard Chu wrote:
> I just checked the CVS head and this patch should be valid there as well:
> 
> diff -u -r1.1 obj_dat.c
> --- obj_dat.c   2002/04/18 04:34:17     1.1
> +++ obj_dat.c   2002/04/18 04:35:10
> @@ -437,8 +437,7 @@
>                 return(0);
>         }
> 
> -       nid=OBJ_obj2nid(a);
> -       if ((nid == NID_undef) || no_name) {
> +       if (no_name || (nid=OBJ_obj2nid(a)) == NID_undef) {
>                 len=a->length;
>                 p=a->data;
> 
> (Just a slight speedup when I'm munging DNs by OID...) I hope you can commit
> this for 0.9.6d/0.9.7 without too much trouble.  :)

I have applied the change to all trees including 0.9.6d.
0.9.6d is already in beta, so I was a bit reluctant to apply the change,
but finally decided that the change is small enough.

Best regards,
        Lutz
PS. Please do not embed patches in the text but better send it as
attachement. In your mail the TAB was transfored to SPACEs, so that
the "patch" utility could not apply it.
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to