List Info

Thread: OpenSSL: openssl/crypto/objects/ obj_xref.c




OpenSSL: openssl/crypto/objects/ obj_xref.c
user name
2006-07-12 16:30:41
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Dr.
Stephen Henson
  Root:   /v/openssl/cvs                   Email:  steveopenssl.org
  Module: openssl                          Date:  
12-Jul-2006 18:30:40
  Branch: HEAD                             Handle:
2006071217304000

  Modified files:
    openssl/crypto/objects  obj_xref.c

  Log:
    Bugfix: don't look in internal table for signature if
found in application
    supplied list.

  Summary:
    Revision    Changes     Path
    1.3         +4  -1     
openssl/crypto/objects/obj_xref.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/objects/obj_xref.c
 
============================================================
================
  $ cvs diff -u -r1.2 -r1.3 obj_xref.c
  --- openssl/crypto/objects/obj_xref.c	9 Jul 2006 16:05:43
-0000	1.2
  +++ openssl/crypto/objects/obj_xref.c	12 Jul 2006 16:30:40
-0000	1.3
   -127,11 +127,14 
   		}
   
   #ifndef OBJ_XREF_TEST2
  -	rv = (nid_triple **)OBJ_bsearch((char *)&t,
  +	if (rv == NULL)
  +		{
  +		rv = (nid_triple **)OBJ_bsearch((char *)&t,
   				(char *)sigoid_srt_xref,
   				sizeof(sigoid_srt_xref) / sizeof(nid_triple *),
   				sizeof(nid_triple *),
   				(int (*)(const void *, const void *))cmp_sigx);
  +		}
   #endif
   	if (rv == NULL)
   		return 0;
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )