post a unified patch
Le vendredi 22 avril 2011 16:08, JOULIN Pierre-Pascal a écrit : > Hi, > I am working on a MAINFRAME. The encoding page is EBCDIC and not ASCII, so > i have to do some conversion to support openssl on a mainframe. I am not > familiar to use this method to open patch so it may be confusing. > > Here is one patch like you ask with the diff tools : > > diff -r crypto/x509/x509_vfy.c openssl-work/x509_vfy.c > > 8c8 > > < * > > --- > > > * > > 15c15 > > < * > > --- > > > * > > 22c22 > > < * > > --- > > > * > > 37c37 > > < * 4. If you include any Windows specific code (or a derivative thereof) > from > > --- > > > * 4. If you include any Windows specific code (or a derivative thereof) > > from > > 40c40 > > < * > > --- > > --- > > > * > > 52c52 > > < * > > --- > > > * > > 256c256 > > < if ((ok <= 0) !! X509_cmp(x, xtmp)) > > --- > > > if ((ok <= 0) !! X509_cmp(x, xtmp)) > > 266c266 > > < else > > --- > > > else > > 1108c1108 > > < * will be duplicated by the parent, but this will rarely be used in > > --- > > > * will be duplicated by the parent, but this will rarely be used in > > 1307c1307 > > < ok = get_crl_sk(ctx, &crl, &dcrl, > > --- > > > ok = get_crl_sk(ctx, &crl, &dcrl, > > 1455c1455 > > 1455c1455 > > < * a certificate was revoked. This has since been changed since > > --- > > > * a certificate was revoked. This has since been changed since > > 1681a1682,1684 > > > £ifdef CHARSET_EBCDIC > > > > char v_eÝ14~,*v; > > > > £endif > > 1682a1686 > > > > 1688a1693,1698 > > > £ifdef CHARSET_EBCDIC > > > > ascii2ebcdic(v_e, str, i < 14 ? i : 14); > > > > v = &v_eÝ0~; > > > > memcpy(str,v,i); > > > > £endif > > 1704c1714 > > < é > > --- > > > é > > 1738a1749,1754 > > > £ifdef CHARSET_EBCDIC > > > > £ifdef CHARSET_EBCDIC > > > > ascii2ebcdic(v_e, buff2, atm.length < 14 ? atm.length : 14); > > > > v = &v_eÝ0~; > > > > memcpy(buff2,v,atm.length); > > > > £endif > > Regards > ========================================================= > > Ce message et toutes les pieces jointes (ci-apres le "message") > sont confidentiels et susceptibles de contenir des informations > couvertes par le secret professionnel. Ce message est etabli > a l'intention exclusive de ses destinataires. Toute utilisation > ou diffusion non autorisee interdite. > Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE > et ses filiales declinent toute responsabilite au titre de ce message > s'il a ete altere, deforme falsifie. > > ========================================================= > > This message and any attachments (the "message") are confidential, > intended solely for the addressees, and may contain legally privileged > information. Any unauthorised use or dissemination is prohibited. > E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any > of its subsidiaries or affiliates shall be liable for the message > if altered, changed or falsified. > > ========================================================= -- http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x092164A7 gpg --keyserver pgp.mit.edu --recv-key 092164A7
pgp0RpGlwK78h.pgp
Description: PGP signature