~andersk/ubuntu/oneiric/openssl/spurious-reboot

« back to all changes in this revision

Viewing changes to crypto/x509/x509name.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2010-12-12 15:37:21 UTC
  • mto: (1.2.1 upstream) (11.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: james.westby@ubuntu.com-20101212153721-mfw51stum5hwztpd
Tags: upstream-1.0.0c
ImportĀ upstreamĀ versionĀ 1.0.0c

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
                return ASN1_STRING_set_by_NID(&ne->value, bytes,
357
357
                                                len, type,
358
358
                                        OBJ_obj2nid(ne->object)) ? 1 : 0;
359
 
        if (len < 0) len=strlen((char *)bytes);
 
359
        if (len < 0) len=strlen((const char *)bytes);
360
360
        i=ASN1_STRING_set(ne->value,bytes,len);
361
361
        if (!i) return(0);
362
362
        if (type != V_ASN1_UNDEF)