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:
28-Feb-2008 14:18:26
Branch: HEAD Handle:
2008022813182501
Modified files:
openssl/crypto/asn1 a_type.c
openssl/crypto/x509 x509_att.c
Log:
Fix typo and avoid warning.
Summary:
Revision Changes Path
1.22 +1 -1 openssl/crypto/asn1/a_type.c
1.13 +2 -2 openssl/crypto/x509/x509_att.c
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/crypto/asn1/a_type.c
============================================================
================
$ cvs diff -u -r1.21 -r1.22 a_type.c
--- openssl/crypto/asn1/a_type.c 11 Feb 2008 13:59:33
-0000 1.21
+++ openssl/crypto/asn1/a_type.c 28 Feb 2008 13:18:25
-0000 1.22
 -100,7 +100,7 
else
{
ASN1_STRING *sdup;
- sdup = ASN1_STRING_dup(sdup);
+ sdup = ASN1_STRING_dup(value);
if (!sdup)
return 0;
ASN1_TYPE_set(a, type, sdup);
 .
patch -p0 <<' .'
Index: openssl/crypto/x509/x509_att.c
============================================================
================
$ cvs diff -u -r1.12 -r1.13 x509_att.c
--- openssl/crypto/x509/x509_att.c 12 Feb 2008 01:24:50
-0000 1.12
+++ openssl/crypto/x509/x509_att.c 28 Feb 2008 13:18:26
-0000 1.13
 -286,8 +286,8 
int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int
attrtype, const void *data, int len)
{
ASN1_TYPE *ttmp;
- ASN1_STRING *stmp;
- int atype;
+ ASN1_STRING *stmp = NULL;
+ int atype = 0;
if (!attr) return 0;
if(attrtype & MBSTRING_FLAG) {
stmp = ASN1_STRING_set_by_NID(NULL, data, len,
attrtype,
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|