[openssl-commits] Build failed: openssl master.3825
Build openssl master.3825 failed Commit 1458088a9e by FdaSilvaYY on 6/10/2016 8:37 PM: Add a comment on some #endif found at end of file. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build completed: openssl OpenSSL_1_0_2-stable.3823
Build openssl OpenSSL_1_0_2-stable.3823 completed Commit c421067331 by Dr. Stephen Henson on 6/14/2016 6:16 PM: Fix omitted selector handling. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.392
Build openssl 1.0.392 failed Commit 57c366dbff by FdaSilvaYY on 6/14/2016 9:20 PM: Build fix Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.391
Build openssl 1.0.391 failed Commit 238e2f8dcf by FdaSilvaYY on 6/14/2016 9:07 PM: Constify input buffers of some X509V3 and X509_PURPOSE -related methods Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl master.3822
Build openssl master.3822 failed Commit 7c46746bf2 by Dr. Stephen Henson on 6/14/2016 6:15 PM: Fix omitted selector handling. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.390
Build openssl 1.0.390 failed Commit a15cfae656 by Rich Salz on 6/14/2016 8:58 PM: (Temporarily) don't download clang package Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: openssl/openssl#4523 (OpenSSL_1_0_2-stable - 5e102f9)
Build Update for openssl/openssl - Build: #4523 Status: Still Failing Duration: 17 minutes and 40 seconds Commit: 5e102f9 (OpenSSL_1_0_2-stable) Author: Richard Levitte Message: Change (!seqtt) to (seqtt == NULL) Reviewed-by: Stephen HensonReviewed-by: Emilia Käsper (cherry picked from commit fdcb499cc2cd57412e496302a4bca8c5d9f1a9c7) View the changeset: https://github.com/openssl/openssl/compare/95fb422aceea...5e102f96eb6f View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137666169 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: openssl/openssl#4522 (master - fdcb499)
Build Update for openssl/openssl - Build: #4522 Status: Still Failing Duration: 22 minutes and 43 seconds Commit: fdcb499 (master) Author: Richard Levitte Message: Change (!seqtt) to (seqtt == NULL) Reviewed-by: Stephen HensonReviewed-by: Emilia Käsper View the changeset: https://github.com/openssl/openssl/compare/4e3d2866b6e8...fdcb499cc2cd View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137665374 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
The branch OpenSSL_1_0_2-stable has been updated via 5e102f96eb6fcdba1db2dba41132f92fa492aea0 (commit) via a9b23465243b6d692bb0b419bdbe0b1f5a849e9c (commit) from 95fb422aceea9f48e3f5f04c745801fcbf953012 (commit) - Log - commit 5e102f96eb6fcdba1db2dba41132f92fa492aea0 Author: Richard LevitteDate: Wed Jun 15 01:31:14 2016 +0200 Change (!seqtt) to (seqtt == NULL) Reviewed-by: Stephen Henson Reviewed-by: Emilia Käsper (cherry picked from commit fdcb499cc2cd57412e496302a4bca8c5d9f1a9c7) commit a9b23465243b6d692bb0b419bdbe0b1f5a849e9c Author: Richard Levitte Date: Tue Jun 14 23:54:56 2016 +0200 Always check that the value returned by asn1_do_adb() is non-NULL Reviewed-by: Stephen Henson Reviewed-by: Emilia Käsper (cherry picked from commit bace847eae24f48adc6a967c6cce7f8d05bbeda3) --- Summary of changes: crypto/asn1/tasn_dec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index 6bdcd5c..6b01f65 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -401,6 +401,8 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_TEMPLATE *seqtt; ASN1_VALUE **pseqval; seqtt = asn1_do_adb(pval, tt, 1); +if (seqtt == NULL) +continue; pseqval = asn1_get_field_ptr(pval, seqtt); ASN1_template_free(pseqval, seqtt); } @@ -411,7 +413,7 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_TEMPLATE *seqtt; ASN1_VALUE **pseqval; seqtt = asn1_do_adb(pval, tt, 1); -if (!seqtt) +if (seqtt == NULL) goto err; pseqval = asn1_get_field_ptr(pval, seqtt); /* Have we ran out of data? */ @@ -476,7 +478,7 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, for (; i < it->tcount; tt++, i++) { const ASN1_TEMPLATE *seqtt; seqtt = asn1_do_adb(pval, tt, 1); -if (!seqtt) +if (seqtt == NULL) goto err; if (seqtt->flags & ASN1_TFLG_OPTIONAL) { ASN1_VALUE **pseqval; _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.389
Build openssl 1.0.389 failed Commit 0b221857a2 by FdaSilvaYY on 6/14/2016 6:47 PM: Rework error handling from asn1_do_lock method. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: openssl/openssl#4521 (master - 4e3d286)
Build Update for openssl/openssl - Build: #4521 Status: Still Failing Duration: 12 minutes and 3 seconds Commit: 4e3d286 (master) Author: Andy Polyakov Message: perlasm/x86*.pl: add endbranch instruction. For further information see "Control-flow Enforcement Technology Preview" by Intel. Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/cc77d0d84ab8...4e3d2866b6e8 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137643853 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Failed: openssl/openssl#4520 (master - cc77d0d)
Build Update for openssl/openssl - Build: #4520 Status: Failed Duration: 10 minutes and 0 seconds Commit: cc77d0d (master) Author: Andy Polyakov Message: modes/asm/ghashp8-ppc.pl: improve performance by 2.7x. Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/627c95337611...cc77d0d84ab8 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137639952 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.388
Build openssl 1.0.388 failed Commit 0dae4530fd by FdaSilvaYY on 6/14/2016 6:42 PM: Add checks on sk_TYPE_push() returned value. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Failed: openssl/openssl#4519 (master - 627c953)
Build Update for openssl/openssl - Build: #4519 Status: Failed Duration: 17 minutes and 9 seconds Commit: 627c953 (master) Author: Andy Polyakov Message: aes/asm/aesp8-ppc.pl: implement "tweak chaining". This is useful in Linux kernel context, in cases data happens to be fragmented and processing can take multiple calls. Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/a15cfae6561e...627c95337611 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137637914 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Failed: FdaSilvaYY/openssl#1121 (master - 57c366d)
Build Update for FdaSilvaYY/openssl - Build: #1121 Status: Failed Duration: 19 minutes and 45 seconds Commit: 57c366d (master) Author: FdaSilvaYY Message: Build fix View the changeset: https://github.com/FdaSilvaYY/openssl/compare/a15cfae6561e...57c366dbffc4 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137637636 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via 4e3d2866b6e8e7a700ea22e05840a093bfd7a4b1 (commit) from cc77d0d84ab8e476f74373cad3d65210042baf02 (commit) - Log - commit 4e3d2866b6e8e7a700ea22e05840a093bfd7a4b1 Author: Andy PolyakovDate: Sun Jun 12 16:21:37 2016 +0200 perlasm/x86*.pl: add endbranch instruction. For further information see "Control-flow Enforcement Technology Preview" by Intel. Reviewed-by: Rich Salz --- Summary of changes: crypto/perlasm/x86_64-xlate.pl | 4 crypto/perlasm/x86asm.pl | 5 + 2 files changed, 9 insertions(+) diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 391362d..8856905 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -864,6 +864,10 @@ my $vprotq = sub { } }; +my $endbranch = sub { +(0xf3,0x0f,0x1e,0xfa); +}; + if ($nasm) { print <<___; defaultrel diff --git a/crypto/perlasm/x86asm.pl b/crypto/perlasm/x86asm.pl index 4590ade..1ff46c9 100644 --- a/crypto/perlasm/x86asm.pl +++ b/crypto/perlasm/x86asm.pl @@ -172,6 +172,11 @@ sub ::vprotd { &::generic("vprotd",@_);} } +sub ::endbranch +{ +&::data_byte(0xf3,0x0f,0x1e,0xfb); +} + # label management $lbdecor="L"; # local label decoration, set by package $label="000"; _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Failed: openssl/openssl#4517 (master - a15cfae)
Build Update for openssl/openssl - Build: #4517 Status: Failed Duration: 18 minutes and 16 seconds Commit: a15cfae (master) Author: Rich Salz Message: (Temporarily) don't download clang package Reviewed-by: Emilia KäsperView the changeset: https://github.com/openssl/openssl/compare/1eb12c437bbe...a15cfae6561e View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137632186 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.387
Build openssl 1.0.387 failed Commit d258110e3e by FdaSilvaYY on 6/14/2016 6:44 PM: Constify input buffers of some X509V3 and X509_PURPOSE -related methods Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via cc77d0d84ab8e476f74373cad3d65210042baf02 (commit) from 627c95337611151b4293944e1b706fea7e1ba5dc (commit) - Log - commit cc77d0d84ab8e476f74373cad3d65210042baf02 Author: Andy PolyakovDate: Mon May 23 20:34:11 2016 +0200 modes/asm/ghashp8-ppc.pl: improve performance by 2.7x. Reviewed-by: Rich Salz --- Summary of changes: crypto/modes/asm/ghashp8-ppc.pl | 469 ++-- test/evptests.txt | 9 + 2 files changed, 458 insertions(+), 20 deletions(-) diff --git a/crypto/modes/asm/ghashp8-ppc.pl b/crypto/modes/asm/ghashp8-ppc.pl index 70a6353..f0598cb 100755 --- a/crypto/modes/asm/ghashp8-ppc.pl +++ b/crypto/modes/asm/ghashp8-ppc.pl @@ -25,6 +25,12 @@ # faster than "4-bit" integer-only compiler-generated 64-bit code. # "Initial version" means that there is room for futher improvement. +# May 2016 +# +# 2x aggregated reduction improves performance by 50% (resulting +# performance on POWER8 is 1 cycle per processed byte), and 4x +# aggregated reduction - by 170% or 2.7x (resulting in 0.55 cpb). + $flavour=shift; $output =shift; @@ -34,14 +40,21 @@ if ($flavour =~ /64/) { $STU="stdu"; $POP="ld"; $PUSH="std"; + $UCMP="cmpld"; + $SHRI="srdi"; } elsif ($flavour =~ /32/) { $SIZE_T=4; $LRSAVE=$SIZE_T; $STU="stwu"; $POP="lwz"; $PUSH="stw"; + $UCMP="cmplw"; + $SHRI="srwi"; } else { die "nonsense $flavour"; } +$sp="r1"; +$FRAME=6*$SIZE_T+13*16;# 13*16 is for v20-v31 offload + $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; ( $xlate="${dir}ppc-xlate.pl" and -f $xlate ) or ( $xlate="${dir}../../perlasm/ppc-xlate.pl" and -f $xlate) or @@ -53,6 +66,7 @@ my ($Xip,$Htbl,$inp,$len)=map("r$_",(3..6)); # argument block my ($Xl,$Xm,$Xh,$IN)=map("v$_",(0..3)); my ($zero,$t0,$t1,$t2,$xC2,$H,$Hh,$Hl,$lemask)=map("v$_",(4..12)); +my ($Xl1,$Xm1,$Xh1,$IN1,$H2,$H2h,$H2l)=map("v$_",(13..19)); my $vrsave="r12"; $code=<<___; @@ -63,7 +77,7 @@ $code=<<___; .globl .gcm_init_p8 .align 5 .gcm_init_p8: - lis r0,0xfff0 + li r0,-4096 li r8,0x10 mfspr $vrsave,256 li r9,0x20 @@ -85,17 +99,103 @@ $code=<<___; vsl $H,$H,$t0 # H<<=1 vsrab $t1,$t1,$t2 # broadcast carry bit vand$t1,$t1,$xC2 - vxor$H,$H,$t1 # twisted H + vxor$IN,$H,$t1 # twisted H - vsldoi $H,$H,$H,8 # twist even more ... + vsldoi $H,$IN,$IN,8# twist even more ... vsldoi $xC2,$zero,$xC2,8 # 0xc2.0 vsldoi $Hl,$zero,$H,8 # ... and split vsldoi $Hh,$H,$zero,8 stvx_u $xC2,0,r3 # save pre-computed table stvx_u $Hl,r8,r3 + li r8,0x40 stvx_u $H, r9,r3 + li r9,0x50 + stvx_u $Hh,r10,r3 + li r10,0x60 + + vpmsumd $Xl,$IN,$Hl # H.lo·H.lo + vpmsumd $Xm,$IN,$H # H.hi·H.lo+H.lo·H.hi + vpmsumd $Xh,$IN,$Hh # H.hi·H.hi + + vpmsumd $t2,$Xl,$xC2# 1st reduction phase + + vsldoi $t0,$Xm,$zero,8 + vsldoi $t1,$zero,$Xm,8 + vxor$Xl,$Xl,$t0 + vxor$Xh,$Xh,$t1 + + vsldoi $Xl,$Xl,$Xl,8 + vxor$Xl,$Xl,$t2 + + vsldoi $t1,$Xl,$Xl,8 # 2nd reduction phase + vpmsumd $Xl,$Xl,$xC2 + vxor$t1,$t1,$Xh + vxor$IN1,$Xl,$t1 + + vsldoi $H2,$IN1,$IN1,8 + vsldoi $H2l,$zero,$H2,8 + vsldoi $H2h,$H2,$zero,8 + + stvx_u $H2l,r8,r3 # save H^2 + li r8,0x70 + stvx_u $H2,r9,r3 + li r9,0x80 + stvx_u $H2h,r10,r3 + li r10,0x90 +___ +{ +my ($t4,$t5,$t6) = ($Hl,$H,$Hh); +$code.=<<___; + vpmsumd $Xl,$IN,$H2l# H.lo·H^2.lo +vpmsumd$Xl1,$IN1,$H2l # H^2.lo·H^2.lo + vpmsumd $Xm,$IN,$H2 # H.hi·H^2.lo+H.lo·H^2.hi +vpmsumd$Xm1,$IN1,$H2 # H^2.hi·H^2.lo+H^2.lo·H^2.hi + vpmsumd $Xh,$IN,$H2h# H.hi·H^2.hi +vpmsumd$Xh1,$IN1,$H2h # H^2.hi·H^2.hi + + vpmsumd $t2,$Xl,$xC2# 1st reduction phase +vpmsumd$t6,$Xl1,$xC2 # 1st reduction phase + +
[openssl-commits] Canceled: FdaSilvaYY/openssl#1120 (Constify-input-buffers - 238e2f8)
Build Update for FdaSilvaYY/openssl - Build: #1120 Status: Canceled Duration: ? Commit: 238e2f8 (Constify-input-buffers) Author: FdaSilvaYY Message: Constify input buffers of some X509V3 and X509_PURPOSE -related methods View the changeset: https://github.com/FdaSilvaYY/openssl/compare/d258110e3e59...238e2f8dcf1a View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137634640 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via 627c95337611151b4293944e1b706fea7e1ba5dc (commit) via 74daca72a59d7200929b23096f2ff15e93a2ee25 (commit) via 46f047d76b22b6a7b6ed92467b5b288b63d574e9 (commit) via b53d32574b58e7a8a170d3127add3f048a6f4d0a (commit) from a15cfae6561e9f68e6fd505f718e04fd9adae86a (commit) - Log - commit 627c95337611151b4293944e1b706fea7e1ba5dc Author: Andy PolyakovDate: Sat Jun 4 19:24:57 2016 +0200 aes/asm/aesp8-ppc.pl: implement "tweak chaining". This is useful in Linux kernel context, in cases data happens to be fragmented and processing can take multiple calls. Reviewed-by: Rich Salz commit 74daca72a59d7200929b23096f2ff15e93a2ee25 Author: Andy Polyakov Date: Mon May 30 23:58:40 2016 +0200 test/evptests.txt: add more XTS tests. Reviewed-by: Rich Salz commit 46f047d76b22b6a7b6ed92467b5b288b63d574e9 Author: Andy Polyakov Date: Mon May 30 21:33:52 2016 +0200 evp/e_aes.c: wire hardware-assisted XTS subroutines. Reviewed-by: Rich Salz commit b53d32574b58e7a8a170d3127add3f048a6f4d0a Author: Andy Polyakov Date: Mon May 30 21:33:29 2016 +0200 aes/asm/aesp8-ppc.pl: add XTS subroutines. Reviewed-by: Rich Salz --- Summary of changes: crypto/aes/asm/aesp8-ppc.pl | 1856 +++ crypto/evp/e_aes.c | 14 + test/evptests.txt | 85 ++ 3 files changed, 1955 insertions(+) diff --git a/crypto/aes/asm/aesp8-ppc.pl b/crypto/aes/asm/aesp8-ppc.pl index ad54204..3fdf1ec 100755 --- a/crypto/aes/asm/aesp8-ppc.pl +++ b/crypto/aes/asm/aesp8-ppc.pl @@ -27,6 +27,19 @@ # instructions are interleaved. It's reckoned that eventual # misalignment penalties at page boundaries are in average lower # than additional overhead in pure AltiVec approach. +# +# May 2016 +# +# Add XTS subroutine, 9x on little- and 12x improvement on big-endian +# systems were measured. +# +## +# Current large-block performance in cycles per byte processed with +# 128-bit key (less is better). +# +# CBC en-/decrypt CTR XTS +# POWER8[le] 3.96/0.72 0.741.1 +# POWER8[be] 3.75/0.65 0.661.0 $flavour = shift; @@ -1894,6 +1907,1849 @@ Lctr32_enc8x_done: ___ }} }}} +# +{{{# XTS procedures# +# int aes_p8_xts_[en|de]crypt(const char *inp, char *out, size_t len, # +# const AES_KEY *key1, const AES_KEY *key2, # +# [const] unsigned char iv[16]); # +# If $key2 is NULL, then a "tweak chaining" mode is engaged, in which # +# input tweak value is assumed to be encrypted already, and last tweak # +# value, one suitable for consecutive call on same chunk of data, is # +# written back to original buffer. In addition, in "tweak chaining"# +# mode only complete input blocks are processed. # + +my ($inp,$out,$len,$key1,$key2,$ivp,$rounds,$idx) =map("r$_",(3..10)); +my ($rndkey0,$rndkey1,$inout) = map("v$_",(0..2)); +my ($output,$inptail,$inpperm,$leperm,$keyperm) = map("v$_",(3..7)); +my ($tweak,$seven,$eighty7,$tmp,$tweak1) = map("v$_",(8..12)); +my $taillen = $key2; + + ($inp,$idx) = ($idx,$inp); # reassign + +$code.=<<___; +.globl .${prefix}_xts_encrypt +.align 5 +.${prefix}_xts_encrypt: + mr $inp,r3 # reassign + li r3,-1 + ${UCMP}i$len,16 + bltlr- + + lis r0,0xfff0 + mfspr r12,256 # save vrsave + li r11,0 + mtspr 256,r0 + + vspltisb$seven,0x07 # 0x070707..07 + le?lvsl $leperm,r11,r11 + le?vspltisb $tmp,0x0f + le?vxor $leperm,$leperm,$seven + + li $idx,15 + lvx $tweak,0,$ivp # load [unaligned] iv + lvsl$inpperm,0,$ivp + lvx $inptail,$idx,$ivp + le?vxor $inpperm,$inpperm,$tmp + vperm $tweak,$tweak,$inptail,$inpperm + + neg r11,$inp + lvsr$inpperm,0,r11 # prepare for unaligned load + lvx $inout,0,$inp + addi$inp,$inp,15# 15 is not typo + le?vxor $inpperm,$inpperm,$tmp + + ${UCMP}i
[openssl-commits] Canceled: FdaSilvaYY/openssl#1119 (master - a15cfae)
Build Update for FdaSilvaYY/openssl - Build: #1119 Status: Canceled Duration: 17 minutes and 40 seconds Commit: a15cfae (master) Author: Rich Salz Message: (Temporarily) don't download clang package Reviewed-by: Emilia KäsperView the changeset: https://github.com/FdaSilvaYY/openssl/compare/7c46746bf295...a15cfae6561e View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137633432 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.386
Build openssl 1.0.386 failed Commit d2d7256514 by FdaSilvaYY on 6/14/2016 6:43 PM: Add a comment on some #endif found at end of file. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: openssl/openssl#4516 (master - 1eb12c4)
Build Update for openssl/openssl - Build: #4516 Status: Errored Duration: 10 minutes and 44 seconds Commit: 1eb12c4 (master) Author: Andy Polyakov Message: perlasm/x86_64-xlate.pl: add commentary. Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/b867c7077a0e...1eb12c437bbe View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137629771 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via a15cfae6561e9f68e6fd505f718e04fd9adae86a (commit) from 1eb12c437bbeb2c748291bcd23733d4a59d5d1ca (commit) - Log - commit a15cfae6561e9f68e6fd505f718e04fd9adae86a Author: Rich SalzDate: Tue Jun 14 14:00:22 2016 -0400 (Temporarily) don't download clang package Reviewed-by: Emilia Käsper --- Summary of changes: .travis.yml | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index d3f67f9..653e459 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,13 +5,11 @@ addons: apt: packages: - ccache -- clang-3.6 - gcc-5 - binutils-mingw-w64 - gcc-mingw-w64 - wine sources: -- llvm-toolchain-precise-3.6 - ubuntu-toolchain-r-test os: @@ -32,10 +30,10 @@ env: matrix: include: - os: linux - compiler: clang-3.6 + compiler: clang env: CONFIG_OPTS="no-shared enable-asan" - os: linux - compiler: clang-3.6 + compiler: gcc-5 env: CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 -fno-sanitize=alignment" - os: linux compiler: gcc-5 _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via 1eb12c437bbeb2c748291bcd23733d4a59d5d1ca (commit) via 6a4ea0022c475bbc2c7ad98a6f05f6e2e850575b (commit) via c25278db8e4c21772a0cd81f7873e767cbc6d219 (commit) from b867c7077a0ebf2ca17f9d020c112f790074571b (commit) - Log - commit 1eb12c437bbeb2c748291bcd23733d4a59d5d1ca Author: Andy PolyakovDate: Wed Jun 8 15:55:35 2016 +0200 perlasm/x86_64-xlate.pl: add commentary. Reviewed-by: Rich Salz commit 6a4ea0022c475bbc2c7ad98a6f05f6e2e850575b Author: Andy Polyakov Date: Wed Jun 8 15:37:46 2016 +0200 perlasm/x86_64-xlate.pl: refactor argument parsing loop. Reviewed-by: Rich Salz commit c25278db8e4c21772a0cd81f7873e767cbc6d219 Author: David Benjamin Date: Sun Mar 20 14:47:36 2016 -0400 Make x86_64-xlate.pl 'use strict' clean. use strict would have caught a number of historical bugs in the perlasm code, some in the repository and some found during review. It even found a fresh masm-only bug (see below). This required some tweaks. The "single instance is enough" globals got switched to proper blessed objects rather than relying on symbolic refs. A few types need $opcode passed in as a result. The $$line thing is a little bit of a nuisance. There may be a clearer pattern to use instead. This even a bug in the masm code. 9b634c9b37afc482a8dc8868e367bdd1b650e507 added logic to make labels global or function-global based on whether something starts with a $, seemingly intended to capture the $decor setting of '$L$'. However, it references $ret which is not defined in label::out. label::out is always called after label::re, so $ret was always the label itself, so the line always ran. I've removed the regular expression so as not to change the behavior of the script. A number of the assembly files now routinely jump across functions, so this seems to be the desired behavior now. GH#1165 Signed-off-by: Andy Polyakov Reviewed-by: Rich Salz --- Summary of changes: crypto/perlasm/x86_64-xlate.pl | 252 + 1 file changed, 132 insertions(+), 120 deletions(-) diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index b96873b..391362d 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -65,6 +65,9 @@ # a. If function accepts more than 4 arguments *and* >4th argument #is declared as non 64-bit value, do clear its upper part. + +use strict; + my $flavour = shift; my $output = shift; if ($flavour =~ /\./) { $output = $flavour; undef $flavour; } @@ -109,14 +112,15 @@ my %globals; { package opcode; # pick up opcodes sub re { - my $self = shift; # single instance in enough... - local *line = shift; - undef $ret; + my ($class, $line) = @_; + my $self = {}; + my $ret; - if ($line =~ /^([a-z][a-z0-9]*)/i) { + if ($$line =~ /^([a-z][a-z0-9]*)/i) { + bless $self,$class; $self->{op} = $1; $ret = $self; - $line = substr($line,@+[0]); $line =~ s/^\s+//; + $$line = substr($$line,@+[0]); $$line =~ s/^\s+//; undef $self->{sz}; if ($self->{op} =~ /^(movz)x?([bw]).*/) { # movz is pain... @@ -128,7 +132,7 @@ my %globals; $self->{sz} = ""; } elsif ($self->{op} =~ /^v/) { # VEX $self->{sz} = ""; - } elsif ($self->{op} =~ /mov[dq]/ && $line =~ /%xmm/) { + } elsif ($self->{op} =~ /mov[dq]/ && $$line =~ /%xmm/) { $self->{sz} = ""; } elsif ($self->{op} =~ /([a-z]{3,})([qlwb])$/) { $self->{op} = $1; @@ -138,8 +142,7 @@ my %globals; $ret; } sub size { - my $self = shift; - my $sz = shift; + my ($self, $sz) = @_; $self->{sz} = $sz if (defined($sz) && !defined($self->{sz})); $self->{sz}; } @@ -180,22 +183,22 @@ my %globals; } } sub mnemonic { - my $self=shift; - my $op=shift; + my ($self, $op) = @_; $self->{op}=$op if (defined($op)); $self->{op}; } } { package const; # pick up constants, which start with $ sub re { - my $self = shift; # single instance in enough... - local *line = shift; - undef $ret; + my ($class, $line) = @_; + my $self = {}; + my $ret; - if ($line =~ /^\$([^,]+)/) { + if ($$line =~ /^\$([^,]+)/) { + bless $self, $class; $self->{value}
[openssl-commits] Errored: openssl/openssl#4513 (master - b867c70)
Build Update for openssl/openssl - Build: #4513 Status: Errored Duration: 11 minutes and 20 seconds Commit: b867c70 (master) Author: Richard Levitte Message: VMS: use BLDDIR rather than BUILDDIR in descrip.mms.tmpl Just like in the other build file templates Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/7c46746bf295...b867c7077a0e View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137619776 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.385
Build openssl 1.0.385 failed Commit 576c939cc0 by FdaSilvaYY on 6/14/2016 6:41 PM: Add checks on sk_TYPE_push() returned result Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via b867c7077a0ebf2ca17f9d020c112f790074571b (commit) via 932eaf0085eca0e7e9135da80376fb73d9af2d18 (commit) via 7cae38642e116b0a769fb3c31448be29469dc1da (commit) via 27ffb86c209c456c40ec82b80ebb922b5f377992 (commit) via 4f858293a9b5a5db8c8af0725b6402d21626040b (commit) from 7c46746bf2958fd2eccc59ecb48039e4e20ce38a (commit) - Log - commit b867c7077a0ebf2ca17f9d020c112f790074571b Author: Richard LevitteDate: Tue Jun 14 22:03:08 2016 +0200 VMS: use BLDDIR rather than BUILDDIR in descrip.mms.tmpl Just like in the other build file templates Reviewed-by: Rich Salz commit 932eaf0085eca0e7e9135da80376fb73d9af2d18 Author: Richard Levitte Date: Tue Jun 14 21:39:13 2016 +0200 Add a developer target 'build_generated' to rebuild mandatory headers Reviewed-by: Rich Salz commit 7cae38642e116b0a769fb3c31448be29469dc1da Author: Richard Levitte Date: Mon Jun 13 22:02:11 2016 +0200 Build file templates: make sure to depend on generated header files As well as properly generating those that are made from .in files. Reviewed-by: Rich Salz commit 27ffb86c209c456c40ec82b80ebb922b5f377992 Author: Richard Levitte Date: Mon Jun 13 22:01:08 2016 +0200 Move the Configure generated header files to the top build.info This turns these headers into build file generated ones. Reviewed-by: Rich Salz commit 4f858293a9b5a5db8c8af0725b6402d21626040b Author: Richard Levitte Date: Mon Jun 13 21:57:51 2016 +0200 Configure: Make it possible to generate mandatory header files 'DEPEND[]=file.h' becomes a special way to say that 'file.h' must be generated before anything else is built. It's likely that a number of source files depend on these header files, this provides a simple way to make sure they are always generated even it the dependency data hasn't been added to the build file yet. Reviewed-by: Rich Salz --- Summary of changes: Configurations/common.tmpl | 3 +++ Configurations/descrip.mms.tmpl | 40 +++- Configurations/unix-Makefile.tmpl| 34 +++--- Configurations/windows-makefile.tmpl | 34 +++--- Configure| 27 +--- build.info | 12 +++ 6 files changed, 104 insertions(+), 46 deletions(-) diff --git a/Configurations/common.tmpl b/Configurations/common.tmpl index 48b3d18..9d7fbf2 100644 --- a/Configurations/common.tmpl +++ b/Configurations/common.tmpl @@ -213,6 +213,9 @@ } } + # Build mandatory generated headers + foreach (@{$unified_info{depends}->{""}}) { dogenerate($_); } + # Build all known libraries, engines, programs and scripts. # Everything else will be handled as a consequence. foreach (@{$unified_info{libraries}}) { dolib($_);} diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 3314a17..201bef6 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -80,7 +80,7 @@ PLATFORM={- $config{target} -} OPTIONS={- $config{options} -} CONFIGURE_ARGS=({- join(", ",quotify_l(@{$config{perlargv}})) -}) SRCDIR={- $config{sourcedir} -} -BUILDDIR={- $config{builddir} -} +BLDDIR={- $config{builddir} -} # Allow both V and VERBOSE to indicate verbosity. This only applies # to testing. @@ -113,6 +113,8 @@ DEPS={- our @deps = map { (my $x = $_) =~ s|\.o$|\$(DEP_EXT)|; $x; } keys %{$unified_info{sources}}; join(", ", map { "-\n\t".$_ } @deps); -} {- output_on() if $disabled{makedepend}; "" -} +GENERATED_MANDATORY={- join(",", @{$unified_info{depends}->{""}} ) -} + {- output_off() if $disabled{apps}; "" -} BIN_SCRIPTS=[.tools]c_rehash.pl MISC_SCRIPTS=[.apps]CA.pl, [.apps]tsget.pl @@ -221,20 +223,22 @@ NODEBUG=@ # The main targets ### -all : configdata.pm, - +all : build_generated, - build_libs_nodep, build_engines_nodep, build_apps_nodep, - depend -build_libs : configdata.pm, build_libs_nodep, depend +build_libs : build_generated, build_libs_nodep, depend build_libs_nodep : $(LIBS) -build_engines : configdata.pm, build_engines_nodep, depend +build_engines : build_generated, build_engines_nodep, depend build_engines_nodep : $(ENGINES) -build_apps : configdata.pm, build_apps_nodep, depend +build_apps : build_generated, build_apps_nodep, depend build_apps_nodep : $(PROGRAMS), $(SCRIPTS) -build_tests : configdata.pm,
[openssl-commits] Still Failing: openssl/openssl#4511 (OpenSSL_1_0_2-stable - 95fb422)
Build Update for openssl/openssl - Build: #4511 Status: Still Failing Duration: 4 minutes and 12 seconds Commit: 95fb422 (OpenSSL_1_0_2-stable) Author: Rich Salz Message: RT4546: Backport doc fix Reviewed-by: Matt CaswellManual cherry-pick of 538860a3ce0b9fd142a7f1a62e597cccb74475d3. View the changeset: https://github.com/openssl/openssl/compare/c42106733134...95fb422aceea View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137602642 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: FdaSilvaYY/openssl#1118 (fix_asn1_do_lock - 0b22185)
Build Update for FdaSilvaYY/openssl - Build: #1118 Status: Errored Duration: 12 minutes and 27 seconds Commit: 0b22185 (fix_asn1_do_lock) Author: FdaSilvaYY Message: Rework error handling from asn1_do_lock method. View the changeset: https://github.com/FdaSilvaYY/openssl/compare/7f9efe8f253c...0b221857a2b7 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137598136 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl 1.0.384
Build openssl 1.0.384 failed Commit 7c46746bf2 by Dr. Stephen Henson on 6/14/2016 6:15 PM: Fix omitted selector handling. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: FdaSilvaYY/openssl#1117 (crypto-add-checks-on-sk_type_push - 0dae453)
Build Update for FdaSilvaYY/openssl - Build: #1117 Status: Errored Duration: 3 minutes and 56 seconds Commit: 0dae453 (crypto-add-checks-on-sk_type_push) Author: FdaSilvaYY Message: Add checks on sk_TYPE_push() returned value. View the changeset: https://github.com/FdaSilvaYY/openssl/compare/5dceccb8f3bd...0dae4530fdcd View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137597570 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
The branch OpenSSL_1_0_2-stable has been updated via 95fb422aceea9f48e3f5f04c745801fcbf953012 (commit) from c4210673313482edacede58d92e92c213d7a181a (commit) - Log - commit 95fb422aceea9f48e3f5f04c745801fcbf953012 Author: Rich SalzDate: Mon May 30 15:01:09 2016 -0400 RT4546: Backport doc fix Reviewed-by: Matt Caswell Manual cherry-pick of 538860a3ce0b9fd142a7f1a62e597cccb74475d3. --- Summary of changes: doc/crypto/EVP_EncryptInit.pod | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index c69e6a6..d951333 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -165,10 +165,11 @@ similar way to EVP_EncryptInit_ex(), EVP_DecryptInit_ex and EVP_CipherInit_ex() except the B parameter does not need to be initialized and they always use the default cipher implementation. -EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal() behave in a -similar way to EVP_EncryptFinal_ex(), EVP_DecryptFinal_ex() and -EVP_CipherFinal_ex() except B is automatically cleaned up -after the call. +EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal() are +identical to EVP_EncryptFinal_ex(), EVP_DecryptFinal_ex() and +EVP_CipherFinal_ex(). In previous releases they also cleaned up +the B, but this is no longer done and EVP_CIPHER_CTX_clean() +must be called to free any context resources. EVP_get_cipherbyname(), EVP_get_cipherbynid() and EVP_get_cipherbyobj() return an EVP_CIPHER structure when passed a cipher name, a NID or an _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: FdaSilvaYY/openssl#1115 (various-fixes2 - d2d7256)
Build Update for FdaSilvaYY/openssl - Build: #1115 Status: Errored Duration: 12 minutes and 11 seconds Commit: d2d7256 (various-fixes2) Author: FdaSilvaYY Message: Add a comment on some #endif found at end of file. View the changeset: https://github.com/FdaSilvaYY/openssl/compare/e622b05f05a7...d2d725651453 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137597009 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: FdaSilvaYY/openssl#1114 (ssl-add-checks-on-sk_type_push - 576c939)
Build Update for FdaSilvaYY/openssl - Build: #1114 Status: Errored Duration: 12 minutes and 57 seconds Commit: 576c939 (ssl-add-checks-on-sk_type_push) Author: FdaSilvaYY Message: Add checks on sk_TYPE_push() returned result View the changeset: https://github.com/FdaSilvaYY/openssl/compare/0833289c78e7...576c939cc0ec View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137596339 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: openssl/openssl#4505 (OpenSSL_1_0_2-stable - c421067)
Build Update for openssl/openssl - Build: #4505 Status: Still Failing Duration: 3 minutes and 0 seconds Commit: c421067 (OpenSSL_1_0_2-stable) Author: Dr. Stephen Henson Message: Fix omitted selector handling. The selector field could be omitted because it has a DEFAULT value. In this case *sfld == NULL (sfld can never be NULL). This was not noticed because this was never used in existing ASN.1 modules. Reviewed-by: Rich Salz(cherry picked from commit 7c46746bf2958fd2eccc59ecb48039e4e20ce38a) View the changeset: https://github.com/openssl/openssl/compare/32957936b54c...c42106733134 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137589138 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: openssl/openssl#4504 (master - 7c46746)
Build Update for openssl/openssl - Build: #4504 Status: Errored Duration: 13 minutes and 8 seconds Commit: 7c46746 (master) Author: Dr. Stephen Henson Message: Fix omitted selector handling. The selector field could be omitted because it has a DEFAULT value. In this case *sfld == NULL (sfld can never be NULL). This was not noticed because this was never used in existing ASN.1 modules. Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/2dca984babed...7c46746bf295 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137588982 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: FdaSilvaYY/openssl#1113 (master - 7c46746)
Build Update for FdaSilvaYY/openssl - Build: #1113 Status: Errored Duration: 11 minutes and 37 seconds Commit: 7c46746 (master) Author: Dr. Stephen Henson Message: Fix omitted selector handling. The selector field could be omitted because it has a DEFAULT value. In this case *sfld == NULL (sfld can never be NULL). This was not noticed because this was never used in existing ASN.1 modules. Reviewed-by: Rich SalzView the changeset: https://github.com/FdaSilvaYY/openssl/compare/6ec6d5207187...7c46746bf295 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/137591698 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
The branch OpenSSL_1_0_2-stable has been updated via c4210673313482edacede58d92e92c213d7a181a (commit) from 32957936b54c5c07b8e7d6eeeca54705ffe93ace (commit) - Log - commit c4210673313482edacede58d92e92c213d7a181a Author: Dr. Stephen HensonDate: Tue Jun 14 17:44:22 2016 +0100 Fix omitted selector handling. The selector field could be omitted because it has a DEFAULT value. In this case *sfld == NULL (sfld can never be NULL). This was not noticed because this was never used in existing ASN.1 modules. Reviewed-by: Rich Salz (cherry picked from commit 7c46746bf2958fd2eccc59ecb48039e4e20ce38a) --- Summary of changes: crypto/asn1/tasn_utl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/asn1/tasn_utl.c b/crypto/asn1/tasn_utl.c index 41726d8..e14889f 100644 --- a/crypto/asn1/tasn_utl.c +++ b/crypto/asn1/tasn_utl.c @@ -234,7 +234,7 @@ const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, sfld = offset2ptr(*pval, adb->offset); /* Check if NULL */ -if (!sfld) { +if (*sfld == NULL) { if (!adb->null_tt) goto err; return adb->null_tt; _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via 7c46746bf2958fd2eccc59ecb48039e4e20ce38a (commit) from 2dca984babedf93c560aba54da3f4c9222ee0d12 (commit) - Log - commit 7c46746bf2958fd2eccc59ecb48039e4e20ce38a Author: Dr. Stephen HensonDate: Tue Jun 14 17:44:22 2016 +0100 Fix omitted selector handling. The selector field could be omitted because it has a DEFAULT value. In this case *sfld == NULL (sfld can never be NULL). This was not noticed because this was never used in existing ASN.1 modules. Reviewed-by: Rich Salz --- Summary of changes: crypto/asn1/tasn_utl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/asn1/tasn_utl.c b/crypto/asn1/tasn_utl.c index f03f9e9..c215891 100644 --- a/crypto/asn1/tasn_utl.c +++ b/crypto/asn1/tasn_utl.c @@ -189,7 +189,7 @@ const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, sfld = offset2ptr(*pval, adb->offset); /* Check if NULL */ -if (!sfld) { +if (*sfld == NULL) { if (!adb->null_tt) goto err; return adb->null_tt; _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: openssl/openssl#4503 (OpenSSL_1_0_2-stable - 3295793)
Build Update for openssl/openssl - Build: #4503 Status: Still Failing Duration: 2 minutes and 21 seconds Commit: 3295793 (OpenSSL_1_0_2-stable) Author: Andy Polyakov Message: crypto/sparccpuid.S: limit symbol visibility. Couple of never-used symbols were clasing with FIPS module, "weakening" them allows to resolve linking errors. RT#3699 Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/dd8a1f2016d9...32957936b54c View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137579922 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: openssl/openssl#4502 (master - 2dca984)
Build Update for openssl/openssl - Build: #4502 Status: Errored Duration: 13 minutes and 57 seconds Commit: 2dca984 (master) Author: Kurt Roeckx Message: Update fuzz corpora Reviewed-by: Rich SalzMR: #2949 View the changeset: https://github.com/openssl/openssl/compare/b2e8bd7bd555...2dca984babed View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137577347 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
The branch OpenSSL_1_0_2-stable has been updated via 32957936b54c5c07b8e7d6eeeca54705ffe93ace (commit) from dd8a1f2016d9d307e3bf017b20e4c08beadd5ee1 (commit) - Log - commit 32957936b54c5c07b8e7d6eeeca54705ffe93ace Author: Andy PolyakovDate: Mon Jun 13 23:30:08 2016 +0200 crypto/sparccpuid.S: limit symbol visibility. Couple of never-used symbols were clasing with FIPS module, "weakening" them allows to resolve linking errors. RT#3699 Reviewed-by: Rich Salz --- Summary of changes: crypto/sparccpuid.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/sparccpuid.S b/crypto/sparccpuid.S index 7b12ec2..51ba441 100644 --- a/crypto/sparccpuid.S +++ b/crypto/sparccpuid.S @@ -429,6 +429,7 @@ OPENSSL_cleanse: .size OPENSSL_cleanse,.-OPENSSL_cleanse .global_sparcv9_vis1_instrument_bus +.weak _sparcv9_vis1_instrument_bus .align 8 _sparcv9_vis1_instrument_bus: mov %o1,%o3 ! save cnt @@ -467,6 +468,7 @@ _sparcv9_vis1_instrument_bus: .size _sparcv9_vis1_instrument_bus,.-_sparcv9_vis1_instrument_bus .global_sparcv9_vis1_instrument_bus2 +.weak _sparcv9_vis1_instrument_bus2 .align 8 _sparcv9_vis1_instrument_bus2: mov %o1,%o3 ! save cnt _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: openssl/openssl#4501 (OpenSSL_1_0_2-stable - dd8a1f2)
Build Update for openssl/openssl - Build: #4501 Status: Still Failing Duration: 3 minutes and 24 seconds Commit: dd8a1f2 (OpenSSL_1_0_2-stable) Author: Rich Salz Message: RT4562: Backport doc fix. Reviewed-by: Matt CaswellView the changeset: https://github.com/openssl/openssl/compare/beb4c4518c25...dd8a1f2016d9 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137564093 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: openssl/openssl#4500 (master - b2e8bd7)
Build Update for openssl/openssl - Build: #4500 Status: Errored Duration: 11 minutes and 52 seconds Commit: b2e8bd7 (master) Author: Matt Caswell Message: Remove an unused variable assignment Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/cda3ae5bd079...b2e8bd7bd555 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137562360 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: openssl/openssl#4499 (master - cda3ae5)
Build Update for openssl/openssl - Build: #4499 Status: Errored Duration: 12 minutes and 33 seconds Commit: cda3ae5 (master) Author: Rich Salz Message: RT4562: Fix misleading doc on OPENSSL_config Also changed the code to use "appname" not "filename" Reviewed-by: Matt CaswellView the changeset: https://github.com/openssl/openssl/compare/036e61b1669f...cda3ae5bd079 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137561114 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
The branch OpenSSL_1_0_2-stable has been updated via dd8a1f2016d9d307e3bf017b20e4c08beadd5ee1 (commit) from beb4c4518c25609ab2da75ab650d09ea7ae16223 (commit) - Log - commit dd8a1f2016d9d307e3bf017b20e4c08beadd5ee1 Author: Rich SalzDate: Tue Jun 14 12:35:26 2016 -0400 RT4562: Backport doc fix. Reviewed-by: Matt Caswell --- Summary of changes: doc/crypto/OPENSSL_config.pod | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/crypto/OPENSSL_config.pod b/doc/crypto/OPENSSL_config.pod index 2d25b26..4e71365 100644 --- a/doc/crypto/OPENSSL_config.pod +++ b/doc/crypto/OPENSSL_config.pod @@ -8,15 +8,14 @@ OPENSSL_config, OPENSSL_no_config - simple OpenSSL configuration functions #include - void OPENSSL_config(const char *config_name); + void OPENSSL_config(const char *appname); void OPENSSL_no_config(void); =head1 DESCRIPTION -OPENSSL_config() configures OpenSSL using the standard B -configuration file name using B. If B is NULL then -the file specified in the environment variable B will be used, -and if that is not set then a system default location is used. +OPENSSL_config() configures OpenSSL using the standard B and +reads from the application section B. If B is NULL then +the default section, B, will be used. Errors are silently ignored. Multiple calls have no effect. _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via b2e8bd7bd555ad6826dd44f38c68425d92e86e95 (commit) from cda3ae5bd0798c56fef5a5c1462d51ca1776504e (commit) - Log - commit b2e8bd7bd555ad6826dd44f38c68425d92e86e95 Author: Matt CaswellDate: Tue Jun 14 16:54:08 2016 +0100 Remove an unused variable assignment Reviewed-by: Rich Salz --- Summary of changes: crypto/x509v3/pcy_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/x509v3/pcy_tree.c b/crypto/x509v3/pcy_tree.c index 8c13c53..df50d80 100644 --- a/crypto/x509v3/pcy_tree.c +++ b/crypto/x509v3/pcy_tree.c @@ -118,7 +118,7 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs, X509_check_purpose(x, -1, 0); /* If cache is NULL, likely ENOMEM: return immediately */ -if ((cache = policy_cache_set(x)) == NULL) +if (policy_cache_set(x) == NULL) return X509_PCY_TREE_INTERNAL; } _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via cda3ae5bd0798c56fef5a5c1462d51ca1776504e (commit) from 036e61b1669fee477af2d5d1afd0b015517f7f9a (commit) - Log - commit cda3ae5bd0798c56fef5a5c1462d51ca1776504e Author: Rich SalzDate: Sun Jun 12 21:49:40 2016 -0400 RT4562: Fix misleading doc on OPENSSL_config Also changed the code to use "appname" not "filename" Reviewed-by: Matt Caswell --- Summary of changes: crypto/conf/conf_lib.c | 18 +- crypto/conf/conf_sap.c | 10 +- crypto/init.c | 8 doc/crypto/OPENSSL_config.pod | 11 ++- doc/crypto/OPENSSL_init_crypto.pod | 12 ++-- include/internal/conf.h| 4 ++-- include/openssl/crypto.h | 4 ++-- util/libcrypto.num | 2 +- 8 files changed, 35 insertions(+), 34 deletions(-) diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c index c998373..3532114 100644 --- a/crypto/conf/conf_lib.c +++ b/crypto/conf/conf_lib.c @@ -340,19 +340,19 @@ OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void) #ifndef OPENSSL_NO_STDIO -int OPENSSL_INIT_set_config_filename(OPENSSL_INIT_SETTINGS *settings, - const char *config_file) +int OPENSSL_INIT_set_config_appname(OPENSSL_INIT_SETTINGS *settings, +const char *appname) { -char *new_config_file = NULL; +char *newappname = NULL; -if (config_file != NULL) { -new_config_file = strdup(config_file); -if (new_config_file == NULL) +if (appname != NULL) { +newappname = strdup(appname); +if (newappname == NULL) return 0; } -free(settings->config_name); -settings->config_name = new_config_file; +free(settings->appname); +settings->appname = newappname; return 1; } @@ -360,6 +360,6 @@ int OPENSSL_INIT_set_config_filename(OPENSSL_INIT_SETTINGS *settings, void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS *settings) { -free(settings->config_name); +free(settings->appname); free(settings); } diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index a1c25b3..bed95ab 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -24,18 +24,18 @@ static int openssl_configured = 0; #if OPENSSL_API_COMPAT < 0x1010L -void OPENSSL_config(const char *config_name) +void OPENSSL_config(const char *appname) { OPENSSL_INIT_SETTINGS settings; memset(, 0, sizeof(settings)); -if (config_name != NULL) -settings.config_name = strdup(config_name); +if (appname != NULL) +settings.appname = strdup(appname); OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, ); } #endif -void openssl_config_int(const char *config_name) +void openssl_config_int(const char *appname) { if (openssl_configured) return; @@ -47,7 +47,7 @@ void openssl_config_int(const char *config_name) #endif ERR_clear_error(); #ifndef OPENSSL_SYS_UEFI -CONF_modules_load_file(NULL, config_name, +CONF_modules_load_file(NULL, appname, CONF_MFLAGS_DEFAULT_SECTION | CONF_MFLAGS_IGNORE_MISSING_FILE); #endif diff --git a/crypto/init.c b/crypto/init.c index 2344f99..693037f 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -153,15 +153,15 @@ static void ossl_init_no_add_algs(void) static CRYPTO_ONCE config = CRYPTO_ONCE_STATIC_INIT; static int config_inited = 0; -static const char *config_filename; +static const char *appname; static void ossl_init_config(void) { #ifdef OPENSSL_INIT_DEBUG fprintf(stderr, "OPENSSL_INIT: ossl_init_config: openssl_config(%s)\n", -config_filename==NULL?"NULL":config_filename); +appname == NULL ? "NULL" : appname); #endif -openssl_config_int(config_filename); +openssl_config_int(appname); config_inited = 1; } static void ossl_init_no_config(void) @@ -512,7 +512,7 @@ int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings) if (opts & OPENSSL_INIT_LOAD_CONFIG) { int ret; CRYPTO_THREAD_write_lock(init_lock); -config_filename = (settings == NULL) ? NULL : settings->config_name; +appname = (settings == NULL) ? NULL : settings->appname; ret = CRYPTO_THREAD_run_once(, ossl_init_config); CRYPTO_THREAD_unlock(init_lock); if (!ret) diff --git a/doc/crypto/OPENSSL_config.pod b/doc/crypto/OPENSSL_config.pod index 1a8af86..eae634a 100644 --- a/doc/crypto/OPENSSL_config.pod +++ b/doc/crypto/OPENSSL_config.pod @@ -8,15 +8,16 @@ OPENSSL_config, OPENSSL_no_config - simple OpenSSL configuration functions #include - void OPENSSL_config(const char *config_name); + #if
[openssl-commits] Errored: openssl/openssl#4498 (master - 036e61b)
Build Update for openssl/openssl - Build: #4498 Status: Errored Duration: 11 minutes and 52 seconds Commit: 036e61b (master) Author: Matt Caswell Message: Free memory on an error path The function a2i_ASN1_STRING can encounter an error after already allocating a buffer. It wasn't always freeing that buffer on error. Reviewed-by: Richard LevitteView the changeset: https://github.com/openssl/openssl/compare/e7653f3bab1d...036e61b1669f View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137522122 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [openssl] master update
The branch master has been updated via 036e61b1669fee477af2d5d1afd0b015517f7f9a (commit) via d285b5418ee1ff361f06545e0489ece61bdd1a50 (commit) via a45dca668e375bb4f4eaaf98521a3c3f5f82a0c9 (commit) from e7653f3bab1d44b4dad65637982e72a15ede0a49 (commit) - Log - commit 036e61b1669fee477af2d5d1afd0b015517f7f9a Author: Matt CaswellDate: Tue Jun 14 11:45:34 2016 +0100 Free memory on an error path The function a2i_ASN1_STRING can encounter an error after already allocating a buffer. It wasn't always freeing that buffer on error. Reviewed-by: Richard Levitte commit d285b5418ee1ff361f06545e0489ece61bdd1a50 Author: Matt Caswell Date: Tue Jun 14 11:27:10 2016 +0100 Avoid a double-free in crl2pl7 The variable |crtflst| could get double freed in an error path. Reviewed-by: Richard Levitte commit a45dca668e375bb4f4eaaf98521a3c3f5f82a0c9 Author: Matt Caswell Date: Tue Jun 14 11:21:44 2016 +0100 Add missing break statement The -psk option processing was falling through to the -srp option processing in the ciphers app. Reviewed-by: Richard Levitte --- Summary of changes: apps/ciphers.c | 1 + apps/crl2p7.c | 4 +--- crypto/asn1/f_string.c | 3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/ciphers.c b/apps/ciphers.c index 9e3b633..c0f43ea 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -139,6 +139,7 @@ int ciphers_main(int argc, char **argv) #ifndef OPENSSL_NO_PSK psk = 1; #endif +break; case OPT_SRP: #ifndef OPENSSL_NO_SRP srp = 1; diff --git a/apps/crl2p7.c b/apps/crl2p7.c index 1631258..9c5f79f 100644 --- a/apps/crl2p7.c +++ b/apps/crl2p7.c @@ -84,10 +84,8 @@ int crl2pkcs7_main(int argc, char **argv) if ((certflst == NULL) && (certflst = sk_OPENSSL_STRING_new_null()) == NULL) goto end; -if (!sk_OPENSSL_STRING_push(certflst, opt_arg())) { -sk_OPENSSL_STRING_free(certflst); +if (!sk_OPENSSL_STRING_push(certflst, opt_arg())) goto end; -} break; } } diff --git a/crypto/asn1/f_string.c b/crypto/asn1/f_string.c index f9a77a2..0e03139 100644 --- a/crypto/asn1/f_string.c +++ b/crypto/asn1/f_string.c @@ -104,6 +104,7 @@ int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) i -= again; if (i % 2 != 0) { ASN1err(ASN1_F_A2I_ASN1_STRING, ASN1_R_ODD_NUMBER_OF_CHARS); +OPENSSL_free(s); return 0; } i /= 2; @@ -123,6 +124,7 @@ int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) if (m < 0) { ASN1err(ASN1_F_A2I_ASN1_STRING, ASN1_R_NON_HEX_CHARACTERS); +OPENSSL_free(s); return 0; } s[num + j] <<= 4; @@ -141,5 +143,6 @@ int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) err: ASN1err(ASN1_F_A2I_ASN1_STRING, ASN1_R_SHORT_LINE); +OPENSSL_free(s); return 0; } _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: openssl/openssl#4493 (master - e7653f3)
Build Update for openssl/openssl - Build: #4493 Status: Errored Duration: 6 minutes and 10 seconds Commit: e7653f3 (master) Author: Matt Caswell Message: Fix comment Fix a comment following commit c2c49969e23605. RT2388 Reviewed-by: Rich SalzView the changeset: https://github.com/openssl/openssl/compare/5ec84dd75f79...e7653f3bab1d View the full build log and details: https://travis-ci.org/openssl/openssl/builds/137462338 -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits