[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-cvs
Subject:    [CVS] OpenSSL: OpenSSL_1_0_2-stable: openssl/crypto/x509v3/ v3nametest...
From:       "Dr. Stephen Henson" <steve () openssl ! org>
Date:       2012-12-26 23:51:41
Message-ID: 20121226235141.C86352CAF7 () master ! openssl ! org
[Download RAW message or body]

  OpenSSL CVS Repository
  http://cvs.openssl.org/
  ____________________________________________________________________________

  Server: cvs.openssl.org                  Name:   Dr. Stephen Henson
  Root:   /v/openssl/cvs                   Email:  steve@openssl.org
  Module: openssl                          Date:   27-Dec-2012 00:51:41
  Branch: OpenSSL_1_0_2-stable             Handle: 2012122623514100

  Modified files:           (Branch: OpenSSL_1_0_2-stable)
    openssl/crypto/x509v3   v3nametest.c

  Log:
    Portability fix: use BIO_snprintf and pick up strcasecmp alternative
    definitions from e_os.h

  Summary:
    Revision    Changes     Path
    1.2.2.3     +2  -1      openssl/crypto/x509v3/v3nametest.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openssl/crypto/x509v3/v3nametest.c
  ============================================================================
  $ cvs diff -u -r1.2.2.2 -r1.2.2.3 v3nametest.c
  --- openssl/crypto/x509v3/v3nametest.c	26 Dec 2012 15:59:57 -0000	1.2.2.2
  +++ openssl/crypto/x509v3/v3nametest.c	26 Dec 2012 23:51:41 -0000	1.2.2.3
  @@ -1,5 +1,6 @@
   #include <openssl/x509.h>
   #include <openssl/x509v3.h>
  +#include "../e_os.h"
   #include <string.h>
   
   static const char *const names[] =
  @@ -251,7 +252,7 @@
   	char msg[1024];
   	if (match < 0)
   		return;
  -	snprintf(msg, sizeof(msg), "%s: %s: [%s] %s [%s]",
  +	BIO_snprintf(msg, sizeof(msg), "%s: %s: [%s] %s [%s]",
   		 fn->name, op, nameincert,
   		 match ? "matches" : "does not match", name);
   	if (is_exception(msg))
  @@ .
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                     openssl-cvs@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic