[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

2018-11-07 Thread Paul I . Dale
The branch OpenSSL_1_1_1-stable has been updated
   via  f7258489d88432dfc431772314ebac1c2997fdf8 (commit)
  from  294941aebb28329efa17acd8fe6eb8b3cc3ce345 (commit)


- Log -
commit f7258489d88432dfc431772314ebac1c2997fdf8
Author: Pauli 
Date:   Thu Nov 8 07:22:01 2018 +1000

Add missing RAND initialisation call.

Reviewed-by: Bernd Edlinger 
(Merged from https://github.com/openssl/openssl/pull/7587)

(cherry picked from commit ac765685d4b08a48cefffc71c434760045154dad)

---

Summary of changes:
 crypto/rand/rand_lib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 4f1a134..277403c 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -363,7 +363,8 @@ void rand_cleanup_int(void)
  */
 void RAND_keep_random_devices_open(int keep)
 {
-rand_pool_keep_random_devices_open(keep);
+if (RUN_ONCE(_init, do_rand_init))
+rand_pool_keep_random_devices_open(keep);
 }
 
 /*
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2018-11-07 Thread Paul I . Dale
The branch master has been updated
   via  ac765685d4b08a48cefffc71c434760045154dad (commit)
  from  31f32abb8eb2a3ebd8500e6e0460b4a6791e5ed7 (commit)


- Log -
commit ac765685d4b08a48cefffc71c434760045154dad
Author: Pauli 
Date:   Thu Nov 8 07:22:01 2018 +1000

Add missing RAND initialisation call.

Reviewed-by: Bernd Edlinger 
(Merged from https://github.com/openssl/openssl/pull/7587)

---

Summary of changes:
 crypto/rand/rand_lib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 4f1a134..277403c 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -363,7 +363,8 @@ void rand_cleanup_int(void)
  */
 void RAND_keep_random_devices_open(int keep)
 {
-rand_pool_keep_random_devices_open(keep);
+if (RUN_ONCE(_init, do_rand_init))
+rand_pool_keep_random_devices_open(keep);
 }
 
 /*
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Build failed: openssl master.20820

2018-11-07 Thread AppVeyor



Build openssl master.20820 failed


Commit 78bcc6fcdc by Richard Levitte on 11/7/2018 10:10 AM:

Build: pass attributes down to make rule generators


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Build completed: openssl master.20821

2018-11-07 Thread AppVeyor


Build openssl master.20821 completed



Commit 8a3301799f by Richard Levitte on 11/7/2018 10:10 AM:

Build: pass attributes down to make rule generators


Configure your notification preferences

_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] master update

2018-11-07 Thread Richard Levitte
The branch master has been updated
   via  3866b2247fb7904a4e660593a16365147f479415 (commit)
  from  47d2080facaacda0610bb0954da9f289de8d700b (commit)


- Log -
commit 3866b2247fb7904a4e660593a16365147f479415
Author: Richard Levitte 
Date:   Thu Nov 1 14:02:21 2018 +0100

util/add-depends.pl: go through shared_sources too

Reviewed-by: Tim Hudson 
(Merged from https://github.com/openssl/openssl/pull/7545)

---

Summary of changes:
 util/add-depends.pl | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/util/add-depends.pl b/util/add-depends.pl
index deb0de2..55d56b7 100644
--- a/util/add-depends.pl
+++ b/util/add-depends.pl
@@ -36,8 +36,10 @@ my @depfiles =
 scalar @st > 0; # Determines the grep result
 }
 map { (my $x = $_) =~ s|\.o$|$depext|; $x; }
-grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
-keys %{$unified_info{sources}};
+( ( grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
+keys %{$unified_info{sources}} ),
+  ( grep { $unified_info{shared_sources}->{$_}->[0] =~ /\.cc?$/ }
+keys %{$unified_info{shared_sources}} ) );
 
 exit 0 unless $rebuild;
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Errored: openssl/openssl#21551 (master - 3866b22)

2018-11-07 Thread Travis CI
Build Update for openssl/openssl
-

Build: #21551
Status: Errored

Duration: 17 mins and 15 secs
Commit: 3866b22 (master)
Author: Richard Levitte
Message: util/add-depends.pl: go through shared_sources too

Reviewed-by: Tim Hudson 
(Merged from https://github.com/openssl/openssl/pull/7545)

View the changeset: 
https://github.com/openssl/openssl/compare/47d2080facaa...3866b2247fb7

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/451887603?utm_medium=notification_source=email

--

You can unsubscribe from build emails from the openssl/openssl repository going 
to 
https://travis-ci.org/account/preferences/unsubscribe?repository=5849220_medium=notification_source=email.
Or unsubscribe from *all* email updating your settings at 
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification_source=email.
Or configure specific 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_1_1-stable update

2018-11-07 Thread Richard Levitte
The branch OpenSSL_1_1_1-stable has been updated
   via  4274ef97c1300d1924c537b7d4c91bb8494a5de2 (commit)
  from  7b7fdf8a791720f8d19276a9012b1248956e00e0 (commit)


- Log -
commit 4274ef97c1300d1924c537b7d4c91bb8494a5de2
Author: Richard Levitte 
Date:   Thu Nov 1 14:02:21 2018 +0100

util/add-depends.pl: go through shared_sources too

Reviewed-by: Tim Hudson 
(Merged from https://github.com/openssl/openssl/pull/7545)

(cherry picked from commit 3866b2247fb7904a4e660593a16365147f479415)

---

Summary of changes:
 util/add-depends.pl | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/util/add-depends.pl b/util/add-depends.pl
index deb0de2..55d56b7 100644
--- a/util/add-depends.pl
+++ b/util/add-depends.pl
@@ -36,8 +36,10 @@ my @depfiles =
 scalar @st > 0; # Determines the grep result
 }
 map { (my $x = $_) =~ s|\.o$|$depext|; $x; }
-grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
-keys %{$unified_info{sources}};
+( ( grep { $unified_info{sources}->{$_}->[0] =~ /\.cc?$/ }
+keys %{$unified_info{sources}} ),
+  ( grep { $unified_info{shared_sources}->{$_}->[0] =~ /\.cc?$/ }
+keys %{$unified_info{shared_sources}} ) );
 
 exit 0 unless $rebuild;
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

2018-11-07 Thread bernd . edlinger
The branch OpenSSL_1_1_1-stable has been updated
   via  9bc987f0086052a03982694e0ef69e9617a2b2dc (commit)
  from  4274ef97c1300d1924c537b7d4c91bb8494a5de2 (commit)


- Log -
commit 9bc987f0086052a03982694e0ef69e9617a2b2dc
Author: Bernd Edlinger 
Date:   Tue Oct 30 23:09:56 2018 +0100

Initialize reseed_gen_counter to 1, like it is done in master

Reviewed-by: Matthias St. Pierre 
Reviewed-by: Paul Dale 
(Merged from https://github.com/openssl/openssl/pull/7532)

---

Summary of changes:
 crypto/rand/drbg_lib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c
index d9f01cb..de4f333 100644
--- a/crypto/rand/drbg_lib.c
+++ b/crypto/rand/drbg_lib.c
@@ -359,7 +359,7 @@ int RAND_DRBG_instantiate(RAND_DRBG *drbg,
 }
 
 drbg->state = DRBG_READY;
-drbg->reseed_gen_counter = 0;
+drbg->reseed_gen_counter = 1;
 drbg->reseed_time = time(NULL);
 tsan_store(>reseed_prop_counter, drbg->reseed_next_counter);
 
@@ -451,7 +451,7 @@ int RAND_DRBG_reseed(RAND_DRBG *drbg,
 goto end;
 
 drbg->state = DRBG_READY;
-drbg->reseed_gen_counter = 0;
+drbg->reseed_gen_counter = 1;
 drbg->reseed_time = time(NULL);
 tsan_store(>reseed_prop_counter, drbg->reseed_next_counter);
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] Passed: openssl/openssl#21554 (master - 31f32ab)

2018-11-07 Thread Travis CI
Build Update for openssl/openssl
-

Build: #21554
Status: Passed

Duration: 26 mins and 17 secs
Commit: 31f32ab (master)
Author: Bernd Edlinger
Message: Rename the rand_drbg_st data member "pool" to "seed_pool"

... to make the intended use more clear and differentiate
it from the data member "adin_pool".

Reviewed-by: Paul Dale 
(Merged from https://github.com/openssl/openssl/pull/7575)

View the changeset: 
https://github.com/openssl/openssl/compare/3866b2247fb7...31f32abb8eb2

View the full build log and details: 
https://travis-ci.org/openssl/openssl/builds/451908392?utm_medium=notification_source=email

--

You can unsubscribe from build emails from the openssl/openssl repository going 
to 
https://travis-ci.org/account/preferences/unsubscribe?repository=5849220_medium=notification_source=email.
Or unsubscribe from *all* email updating your settings at 
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification_source=email.
Or configure specific 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

2018-11-07 Thread bernd . edlinger
The branch master has been updated
   via  31f32abb8eb2a3ebd8500e6e0460b4a6791e5ed7 (commit)
  from  3866b2247fb7904a4e660593a16365147f479415 (commit)


- Log -
commit 31f32abb8eb2a3ebd8500e6e0460b4a6791e5ed7
Author: Bernd Edlinger 
Date:   Mon Nov 5 23:13:11 2018 +0100

Rename the rand_drbg_st data member "pool" to "seed_pool"

... to make the intended use more clear and differentiate
it from the data member "adin_pool".

Reviewed-by: Paul Dale 
(Merged from https://github.com/openssl/openssl/pull/7575)

---

Summary of changes:
 crypto/rand/drbg_lib.c | 14 +++---
 crypto/rand/rand_lcl.h |  2 +-
 crypto/rand/rand_lib.c |  8 
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c
index 2cfa4f5..d398b42 100644
--- a/crypto/rand/drbg_lib.c
+++ b/crypto/rand/drbg_lib.c
@@ -557,11 +557,11 @@ int rand_drbg_restart(RAND_DRBG *drbg,
 const unsigned char *adin = NULL;
 size_t adinlen = 0;
 
-if (drbg->pool != NULL) {
+if (drbg->seed_pool != NULL) {
 RANDerr(RAND_F_RAND_DRBG_RESTART, ERR_R_INTERNAL_ERROR);
 drbg->state = DRBG_ERROR;
-rand_pool_free(drbg->pool);
-drbg->pool = NULL;
+rand_pool_free(drbg->seed_pool);
+drbg->seed_pool = NULL;
 return 0;
 }
 
@@ -581,8 +581,8 @@ int rand_drbg_restart(RAND_DRBG *drbg,
 }
 
 /* will be picked up by the rand_drbg_get_entropy() callback */
-drbg->pool = rand_pool_attach(buffer, len, entropy);
-if (drbg->pool == NULL)
+drbg->seed_pool = rand_pool_attach(buffer, len, entropy);
+if (drbg->seed_pool == NULL)
 return 0;
 } else {
 if (drbg->max_adinlen < len) {
@@ -628,8 +628,8 @@ int rand_drbg_restart(RAND_DRBG *drbg,
 }
 }
 
-rand_pool_free(drbg->pool);
-drbg->pool = NULL;
+rand_pool_free(drbg->seed_pool);
+drbg->seed_pool = NULL;
 
 return drbg->state == DRBG_READY;
 }
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h
index 77be005..33b367c 100644
--- a/crypto/rand/rand_lcl.h
+++ b/crypto/rand/rand_lcl.h
@@ -203,7 +203,7 @@ struct rand_drbg_st {
  * with respect to how randomness is added to the RNG during reseeding
  * (see PR #4328).
  */
-struct rand_pool_st *pool;
+struct rand_pool_st *seed_pool;
 
 /*
  * Auxiliary pool for additional data.
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 884917a..4f1a134 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -146,8 +146,8 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
 return 0;
 }
 
-if (drbg->pool != NULL) {
-pool = drbg->pool;
+if (drbg->seed_pool != NULL) {
+pool = drbg->seed_pool;
 pool->entropy_requested = entropy;
 } else {
 pool = rand_pool_new(entropy, min_len, max_len);
@@ -204,7 +204,7 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
 }
 
  err:
-if (drbg->pool == NULL)
+if (drbg->seed_pool == NULL)
 rand_pool_free(pool);
 return ret;
 }
@@ -216,7 +216,7 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
 void rand_drbg_cleanup_entropy(RAND_DRBG *drbg,
unsigned char *out, size_t outlen)
 {
-if (drbg->pool == NULL)
+if (drbg->seed_pool == NULL)
 OPENSSL_secure_clear_free(out, outlen);
 }
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits


[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

2018-11-07 Thread bernd . edlinger
The branch OpenSSL_1_1_1-stable has been updated
   via  294941aebb28329efa17acd8fe6eb8b3cc3ce345 (commit)
  from  9bc987f0086052a03982694e0ef69e9617a2b2dc (commit)


- Log -
commit 294941aebb28329efa17acd8fe6eb8b3cc3ce345
Author: Bernd Edlinger 
Date:   Mon Nov 5 23:13:11 2018 +0100

Rename the rand_drbg_st data member "pool" to "seed_pool"

... to make the intended use more clear and differentiate
it from the data member "adin_pool".

Reviewed-by: Paul Dale 
(Merged from https://github.com/openssl/openssl/pull/7575)

(cherry picked from commit 31f32abb8eb2a3ebd8500e6e0460b4a6791e5ed7)

---

Summary of changes:
 crypto/rand/drbg_lib.c | 14 +++---
 crypto/rand/rand_lcl.h |  2 +-
 crypto/rand/rand_lib.c |  8 
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c
index de4f333..c1d89f8 100644
--- a/crypto/rand/drbg_lib.c
+++ b/crypto/rand/drbg_lib.c
@@ -487,11 +487,11 @@ int rand_drbg_restart(RAND_DRBG *drbg,
 const unsigned char *adin = NULL;
 size_t adinlen = 0;
 
-if (drbg->pool != NULL) {
+if (drbg->seed_pool != NULL) {
 RANDerr(RAND_F_RAND_DRBG_RESTART, ERR_R_INTERNAL_ERROR);
 drbg->state = DRBG_ERROR;
-rand_pool_free(drbg->pool);
-drbg->pool = NULL;
+rand_pool_free(drbg->seed_pool);
+drbg->seed_pool = NULL;
 return 0;
 }
 
@@ -511,8 +511,8 @@ int rand_drbg_restart(RAND_DRBG *drbg,
 }
 
 /* will be picked up by the rand_drbg_get_entropy() callback */
-drbg->pool = rand_pool_attach(buffer, len, entropy);
-if (drbg->pool == NULL)
+drbg->seed_pool = rand_pool_attach(buffer, len, entropy);
+if (drbg->seed_pool == NULL)
 return 0;
 } else {
 if (drbg->max_adinlen < len) {
@@ -558,8 +558,8 @@ int rand_drbg_restart(RAND_DRBG *drbg,
 }
 }
 
-rand_pool_free(drbg->pool);
-drbg->pool = NULL;
+rand_pool_free(drbg->seed_pool);
+drbg->seed_pool = NULL;
 
 return drbg->state == DRBG_READY;
 }
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h
index 376efed..9a4dc32 100644
--- a/crypto/rand/rand_lcl.h
+++ b/crypto/rand/rand_lcl.h
@@ -183,7 +183,7 @@ struct rand_drbg_st {
  * with respect to how randomness is added to the RNG during reseeding
  * (see PR #4328).
  */
-struct rand_pool_st *pool;
+struct rand_pool_st *seed_pool;
 
 /*
  * Auxiliary pool for additional data.
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 884917a..4f1a134 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -146,8 +146,8 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
 return 0;
 }
 
-if (drbg->pool != NULL) {
-pool = drbg->pool;
+if (drbg->seed_pool != NULL) {
+pool = drbg->seed_pool;
 pool->entropy_requested = entropy;
 } else {
 pool = rand_pool_new(entropy, min_len, max_len);
@@ -204,7 +204,7 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
 }
 
  err:
-if (drbg->pool == NULL)
+if (drbg->seed_pool == NULL)
 rand_pool_free(pool);
 return ret;
 }
@@ -216,7 +216,7 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
 void rand_drbg_cleanup_entropy(RAND_DRBG *drbg,
unsigned char *out, size_t outlen)
 {
-if (drbg->pool == NULL)
+if (drbg->seed_pool == NULL)
 OPENSSL_secure_clear_free(out, outlen);
 }
 
_
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits