[openssl-commits] Build failed: openssl OpenSSL_1_0_2-stable.5356
Build openssl OpenSSL_1_0_2-stable.5356 failed Commit 502fcc67cc by Matt Caswell on 9/15/2016 9:53 PM: Revert "Abort on unrecognised warning alerts" Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build failed: openssl master.5355
Build openssl master.5355 failed Commit 13e25d1bd3 by Richard Levitte on 9/15/2016 9:56 PM: Simplify the dependencies for remaking configdata.pm Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: FdaSilvaYY/openssl#1949 (fix-ca-buf-usage - bd9927e)
Build Update for FdaSilvaYY/openssl - Build: #1949 Status: Still Failing Duration: 40 minutes and 49 seconds Commit: bd9927e (fix-ca-buf-usage) Author: FdaSilvaYY Message: Simplify and fix usage of three string array variable... using two separated local variables. buf[1] was unused. View the changeset: https://github.com/FdaSilvaYY/openssl/compare/297ae05ae362...bd9927e725f1 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160294140 -- 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] Passed: openssl/openssl#6023 (OpenSSL_1_1_0-stable - ea6e2d5)
Build Update for openssl/openssl - Build: #6023 Status: Passed Duration: 27 minutes and 51 seconds Commit: ea6e2d5 (OpenSSL_1_1_0-stable) Author: Matt Caswell Message: Revert "Abort on unrecognised warning alerts" This reverts commit 77a6be4dfc2ecf406c2559a99bea51317ce0f533. There were some unexpected side effects to this commit, e.g. in SSLv3 a warning alert gets sent "no_certificate" if a client does not send a Certificate during Client Auth. With the above commit this causes the connection to abort, which is incorrect. There may be some other edge cases like this so we need to have a rethink on this. Reviewed-by: Tim HudsonView the changeset: https://github.com/openssl/openssl/compare/2abbe9482835...ea6e2d543653 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/160300927 -- 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] Fixed: openssl/openssl#6022 (master - 3c0c68a)
Build Update for openssl/openssl - Build: #6022 Status: Fixed Duration: 47 minutes and 49 seconds Commit: 3c0c68a (master) Author: Matt Caswell Message: Revert "Abort on unrecognised warning alerts" This reverts commit 77a6be4dfc2ecf406c2559a99bea51317ce0f533. There were some unexpected side effects to this commit, e.g. in SSLv3 a warning alert gets sent "no_certificate" if a client does not send a Certificate during Client Auth. With the above commit this causes the connection to abort, which is incorrect. There may be some other edge cases like this so we need to have a rethink on this. Reviewed-by: Tim HudsonView the changeset: https://github.com/openssl/openssl/compare/d602c2b680ae...3c0c68ae460e View the full build log and details: https://travis-ci.org/openssl/openssl/builds/160300890 -- 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] Broken: FdaSilvaYY/openssl#1948 (pack_argv_options - 42362db)
Build Update for FdaSilvaYY/openssl - Build: #1948 Status: Broken Duration: 45 minutes and 19 seconds Commit: 42362db (pack_argv_options) Author: FdaSilvaYY Message: Use PATH_MAX and NAME_MAX View the changeset: https://github.com/FdaSilvaYY/openssl/compare/1bc9bbef8bc1...42362db45fdd View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160292309 -- 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#6018 (master - d602c2b)
Build Update for openssl/openssl - Build: #6018 Status: Still Failing Duration: 53 minutes and 23 seconds Commit: d602c2b (master) Author: Richard Levitte Message: Finally, make sure vms_term_sock.c is built on VMS Reviewed-by: Andy PolyakovReviewed-by: Rich Salz View the changeset: https://github.com/openssl/openssl/compare/6f0ac0e2f27d...d602c2b680ae View the full build log and details: https://travis-ci.org/openssl/openssl/builds/160293324 -- 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#6021 (OpenSSL_1_1_0-stable - 2abbe94)
Build Update for openssl/openssl - Build: #6021 Status: Failed Duration: 30 minutes and 6 seconds Commit: 2abbe94 (OpenSSL_1_1_0-stable) Author: Richard Levitte Message: Finally, make sure vms_term_sock.c is built on VMS Reviewed-by: Andy PolyakovReviewed-by: Rich Salz (cherry picked from commit d602c2b680aefd3e0d00d090783ef5f912caf06a) View the changeset: https://github.com/openssl/openssl/compare/03a8bf079c1b...2abbe9482835 View the full build log and details: https://travis-ci.org/openssl/openssl/builds/160294564 -- 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#1947 (constify_vpm - c1fedd8)
Build Update for FdaSilvaYY/openssl - Build: #1947 Status: Failed Duration: 12 minutes and 19 seconds Commit: c1fedd8 (constify_vpm) Author: FdaSilvaYY Message: Constify code about X509_VERIFY_PARAM View the changeset: https://github.com/FdaSilvaYY/openssl/commit/c1fedd8da369 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160266514 -- 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_1_0-stable update
The branch OpenSSL_1_1_0-stable has been updated via ea6e2d543653196cb6d095f72b35073404c8ae33 (commit) from 2abbe94828351178220b7e284504cfb5eb1dabbb (commit) - Log - commit ea6e2d543653196cb6d095f72b35073404c8ae33 Author: Matt CaswellDate: Thu Sep 15 20:43:16 2016 +0100 Revert "Abort on unrecognised warning alerts" This reverts commit 77a6be4dfc2ecf406c2559a99bea51317ce0f533. There were some unexpected side effects to this commit, e.g. in SSLv3 a warning alert gets sent "no_certificate" if a client does not send a Certificate during Client Auth. With the above commit this causes the connection to abort, which is incorrect. There may be some other edge cases like this so we need to have a rethink on this. Reviewed-by: Tim Hudson --- Summary of changes: ssl/record/rec_layer_s3.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c index aa148ba..46870c0 100644 --- a/ssl/record/rec_layer_s3.c +++ b/ssl/record/rec_layer_s3.c @@ -1351,15 +1351,9 @@ int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, goto f_err; } #ifdef SSL_AD_MISSING_SRP_USERNAME -else if (alert_descr == SSL_AD_MISSING_SRP_USERNAME) { -return 0; -} +else if (alert_descr == SSL_AD_MISSING_SRP_USERNAME) +return (0); #endif -else { -al = SSL_AD_HANDSHAKE_FAILURE; -SSLerr(SSL_F_SSL3_READ_BYTES, SSL_R_UNKNOWN_ALERT_TYPE); -goto f_err; -} } else if (alert_level == SSL3_AL_FATAL) { char tmp[16]; _ 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 502fcc67cccda4d997fc121eae4f2789f50adae6 (commit) from 15c088e4cf8411ffcb2f3187942aea178cc0919c (commit) - Log - commit 502fcc67cccda4d997fc121eae4f2789f50adae6 Author: Matt CaswellDate: Thu Sep 15 20:53:09 2016 +0100 Revert "Abort on unrecognised warning alerts" This reverts commit 15d81749322c3498027105f8ee44e8c25479d475. There were some unexpected side effects to this commit, e.g. in SSLv3 a warning alert gets sent "no_certificate" if a client does not send a Certificate during Client Auth. With the above commit this causes the connection to abort, which is incorrect. There may be some other edge cases like this so we need to have a rethink on this. Reviewed-by: Tim Hudson --- Summary of changes: ssl/s3_pkt.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 91f0c58..df124cf 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -1462,13 +1462,8 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) } #ifdef SSL_AD_MISSING_SRP_USERNAME else if (alert_descr == SSL_AD_MISSING_SRP_USERNAME) -return 0; +return (0); #endif -else { -al = SSL_AD_HANDSHAKE_FAILURE; -SSLerr(SSL_F_SSL3_READ_BYTES, SSL_R_UNKNOWN_ALERT_TYPE); -goto f_err; -} } else if (alert_level == SSL3_AL_FATAL) { char tmp[16]; _ 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 3c0c68ae460e947aaae5702bda6258fb812e1029 (commit) from d602c2b680aefd3e0d00d090783ef5f912caf06a (commit) - Log - commit 3c0c68ae460e947aaae5702bda6258fb812e1029 Author: Matt CaswellDate: Thu Sep 15 20:43:16 2016 +0100 Revert "Abort on unrecognised warning alerts" This reverts commit 77a6be4dfc2ecf406c2559a99bea51317ce0f533. There were some unexpected side effects to this commit, e.g. in SSLv3 a warning alert gets sent "no_certificate" if a client does not send a Certificate during Client Auth. With the above commit this causes the connection to abort, which is incorrect. There may be some other edge cases like this so we need to have a rethink on this. Reviewed-by: Tim Hudson --- Summary of changes: ssl/record/rec_layer_s3.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c index aa148ba..46870c0 100644 --- a/ssl/record/rec_layer_s3.c +++ b/ssl/record/rec_layer_s3.c @@ -1351,15 +1351,9 @@ int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, goto f_err; } #ifdef SSL_AD_MISSING_SRP_USERNAME -else if (alert_descr == SSL_AD_MISSING_SRP_USERNAME) { -return 0; -} +else if (alert_descr == SSL_AD_MISSING_SRP_USERNAME) +return (0); #endif -else { -al = SSL_AD_HANDSHAKE_FAILURE; -SSLerr(SSL_F_SSL3_READ_BYTES, SSL_R_UNKNOWN_ALERT_TYPE); -goto f_err; -} } else if (alert_level == SSL3_AL_FATAL) { char tmp[16]; _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Build completed: openssl 1.0.1225
Build openssl 1.0.1225 completed Commit c1fedd8da3 by FdaSilvaYY on 9/15/2016 7:37 PM: Constify code about X509_VERIFY_PARAM Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Failed: FdaSilvaYY/openssl#1945 (oss-dead-code - 4403088)
Build Update for FdaSilvaYY/openssl - Build: #1945 Status: Failed Duration: 42 minutes and 14 seconds Commit: 4403088 (oss-dead-code) Author: FdaSilvaYY Message: Remove an useless definition. APP_INFO is currently a field of MEM struct. View the changeset: https://github.com/FdaSilvaYY/openssl/compare/44eeef3bbab8...440308828de5 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160259567 -- 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_1_0-stable update
The branch OpenSSL_1_1_0-stable has been updated via 2abbe94828351178220b7e284504cfb5eb1dabbb (commit) via 9b498c9f0fc4faf6314a8c48125aa0afac26c2ba (commit) via 34b3563243d49ba6f551adb39038695b9fb66b49 (commit) via 07ebdfab079d1efc2d65e15f9f541fa1861ed4ff (commit) via ae6e317e322451c7ecc4aacc75f9fb43fd73f764 (commit) from 03a8bf079c1b727d79230f0ffd2d0ff343c1fc9d (commit) - Log - commit 2abbe94828351178220b7e284504cfb5eb1dabbb Author: Richard LevitteDate: Wed Sep 14 23:40:27 2016 +0200 Finally, make sure vms_term_sock.c is built on VMS Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (cherry picked from commit d602c2b680aefd3e0d00d090783ef5f912caf06a) commit 9b498c9f0fc4faf6314a8c48125aa0afac26c2ba Author: Richard Levitte Date: Thu Sep 15 11:20:18 2016 +0200 Refactor to avoid unnecessary preprocessor logic Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (cherry picked from commit 51e5133d551b4c132f72fc2ff5bbe076f5a3e052) commit 34b3563243d49ba6f551adb39038695b9fb66b49 Author: Richard Levitte Date: Wed Sep 14 20:54:30 2016 +0200 Reformat to fit OpenSSL source code standards Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (cherry picked from commit c7bdb6a31ff0fcae66b451d3f80a684ad77f4966) commit 07ebdfab079d1efc2d65e15f9f541fa1861ed4ff Author: Richard Levitte Date: Wed Sep 14 20:52:03 2016 +0200 Add copyright and license on apps/vms_term_sock.[ch] Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (cherry picked from commit 0d0723e813870c2e7a009ec47e933668a1548531) commit ae6e317e322451c7ecc4aacc75f9fb43fd73f764 Author: Richard Levitte Date: Wed Aug 3 21:16:43 2016 +0200 VSI submission: redirect terminal input through socket This is needed, because on VMS, select() can only be used on sockets. being able to use select() on all kinds of file descriptors is unique to Unix. So, the solution for VMS is to create a layer that translates input from standard input to socket communication. Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (cherry picked from commit 0d3b65832c6fa94c1d1cfa2f99335f323e3227c1) --- Summary of changes: Configurations/10-main.conf | 2 +- apps/apps.c | 39 ++- apps/apps.h | 2 + apps/s_client.c | 18 +- apps/s_server.c | 10 +- apps/vms_term_sock.c| 590 apps/vms_term_sock.h| 30 +++ 7 files changed, 678 insertions(+), 13 deletions(-) create mode 100644 apps/vms_term_sock.c create mode 100644 apps/vms_term_sock.h diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index cde1bdb..96f5434 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1755,7 +1755,7 @@ sub vms_info { dso_scheme => "vms", thread_scheme=> "pthreads", -apps_aux_src => "vms_decc_init.c", +apps_aux_src => "vms_decc_init.c vms_term_sock.c", }, "vms-alpha" => { diff --git a/apps/apps.c b/apps/apps.c index 522db71..6ca0f2b 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2300,6 +2300,36 @@ int app_isdir(const char *name) #endif /* raw_read|write section */ +#if defined(__VMS) +# include "vms_term_sock.h" +static int stdin_sock = -1; + +static void close_stdin_sock(void) +{ +TerminalSocket (TERM_SOCK_DELETE, _sock); +} + +int fileno_stdin(void) +{ +if (stdin_sock == -1) { +TerminalSocket(TERM_SOCK_CREATE, _sock); +atexit(close_stdin_sock); +} + +return stdin_sock; +} +#else +int fileno_stdin(void) +{ +return fileno(stdin); +} +#endif + +int fileno_stdout(void) +{ +return fileno(stdout); +} + #if defined(_WIN32) && defined(STD_INPUT_HANDLE) int raw_read_stdin(void *buf, int siz) { @@ -2309,10 +2339,15 @@ int raw_read_stdin(void *buf, int siz) else return (-1); } +#elif defined(__VMS) +int raw_read_stdin(void *buf, int siz) +{ +return recv(fileno_stdin(), buf, siz, 0); +} #else int raw_read_stdin(void *buf, int siz) { -return read(fileno(stdin), buf, siz); +return read(fileno_stdin(), buf, siz); } #endif @@ -2328,7 +2363,7 @@ int raw_write_stdout(const void *buf, int siz) #else int raw_write_stdout(const void *buf, int siz) { -return write(fileno(stdout), buf, siz); +return write(fileno_stdout(), buf, siz); } #endif diff --git a/apps/apps.h b/apps/apps.h index
[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
The branch OpenSSL_1_0_2-stable has been updated via 15c088e4cf8411ffcb2f3187942aea178cc0919c (commit) via d6d04b64f5a98ebc07b3f529830724e4fb443708 (commit) via b50826727e77f2736fc2cf5b4a4f646ee0d67182 (commit) via a2d2120033dcee7f9697815cf4a36a3ef8f517bb (commit) via 45852545470b36cf1a4eef5b574fa29f9cd55bf4 (commit) via 1015609ac0eecb2914b15e8579917625ca43219d (commit) from d69247598991c61dfb68d4fe3b08346b02644812 (commit) - Log - commit 15c088e4cf8411ffcb2f3187942aea178cc0919c Author: Richard LevitteDate: Wed Sep 14 23:37:53 2016 +0200 Finally, make sure vms_term_sock.c is built Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit d6d04b64f5a98ebc07b3f529830724e4fb443708 Author: Richard Levitte Date: Thu Sep 15 09:45:57 2016 +0200 Refactor to avoid unnecessary preprocessor logic Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit b50826727e77f2736fc2cf5b4a4f646ee0d67182 Author: Richard Levitte Date: Wed Sep 14 20:54:30 2016 +0200 Reformat to fit OpenSSL source code standards Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit a2d2120033dcee7f9697815cf4a36a3ef8f517bb Author: Richard Levitte Date: Wed Sep 14 20:53:06 2016 +0200 Remove entirely unnecessary pointer size guards Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit 45852545470b36cf1a4eef5b574fa29f9cd55bf4 Author: Richard Levitte Date: Wed Sep 14 20:52:03 2016 +0200 Add copyright and license on apps/vms_term_sock.[ch] Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit 1015609ac0eecb2914b15e8579917625ca43219d Author: Richard Levitte Date: Wed Aug 3 21:16:43 2016 +0200 VSI submission: redirect terminal input through socket This is needed, because on VMS, select() can only be used on sockets. being able to use select() on all kinds of file descriptors is unique to Unix. So, the solution for VMS is to create a layer that translates input from standard input to socket communication. Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz --- Summary of changes: apps/apps.c | 39 +++- apps/apps.h | 2 + apps/makeapps.com| 2 +- apps/s_client.c | 23 +- apps/s_server.c | 18 +- apps/vms_term_sock.c | 590 +++ apps/vms_term_sock.h | 30 +++ 7 files changed, 685 insertions(+), 19 deletions(-) create mode 100755 apps/vms_term_sock.c create mode 100755 apps/vms_term_sock.h diff --git a/apps/apps.c b/apps/apps.c index 08ddbc4..44d8afa 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -3198,6 +3198,36 @@ int app_isdir(const char *name) #endif /* raw_read|write section */ +#if defined(__VMS) +# include "vms_term_sock.h" +static int stdin_sock = -1; + +static void close_stdin_sock(void) +{ +TerminalSocket (TERM_SOCK_DELETE, _sock); +} + +int fileno_stdin(void) +{ +if (stdin_sock == -1) { +TerminalSocket(TERM_SOCK_CREATE, _sock); +atexit(close_stdin_sock); +} + +return stdin_sock; +} +#else +int fileno_stdin(void) +{ +return fileno(stdin); +} +#endif + +int fileno_stdout(void) +{ +return fileno(stdout); +} + #if defined(_WIN32) && defined(STD_INPUT_HANDLE) int raw_read_stdin(void *buf, int siz) { @@ -3207,10 +3237,15 @@ int raw_read_stdin(void *buf, int siz) else return (-1); } +#elif defined(__VMS) +int raw_read_stdin(void *buf, int siz) +{ +return recv(fileno_stdin(), buf, siz, 0); +} #else int raw_read_stdin(void *buf, int siz) { -return read(fileno(stdin), buf, siz); +return read(fileno_stdin(), buf, siz); } #endif @@ -3226,6 +3261,6 @@ int raw_write_stdout(const void *buf, int siz) #else int raw_write_stdout(const void *buf, int siz) { -return write(fileno(stdout), buf, siz); +return write(fileno_stdout(), buf, siz); } #endif diff --git a/apps/apps.h b/apps/apps.h index 19bf5cc..c6c3881 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -375,6 +375,8 @@ void store_setup_crl_download(X509_STORE *st); # define SERIAL_RAND_BITS64 int app_isdir(const char *); +int fileno_stdin(void); +int fileno_stdout(void); int raw_read_stdin(void *, int); int raw_write_stdout(const void *, int); diff --git a/apps/makeapps.com b/apps/makeapps.com index 47457af..97dff41 100644 --- a/apps/makeapps.com +++ b/apps/makeapps.com @@ -186,7 +186,7 @@ $ LIB_OPENSSL =
[openssl-commits] [openssl] master update
The branch master has been updated via d602c2b680aefd3e0d00d090783ef5f912caf06a (commit) via 51e5133d551b4c132f72fc2ff5bbe076f5a3e052 (commit) via c7bdb6a31ff0fcae66b451d3f80a684ad77f4966 (commit) via 0d0723e813870c2e7a009ec47e933668a1548531 (commit) via 0d3b65832c6fa94c1d1cfa2f99335f323e3227c1 (commit) from 6f0ac0e2f27d9240516edb9a23b7863e7ad02898 (commit) - Log - commit d602c2b680aefd3e0d00d090783ef5f912caf06a Author: Richard LevitteDate: Wed Sep 14 23:40:27 2016 +0200 Finally, make sure vms_term_sock.c is built on VMS Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit 51e5133d551b4c132f72fc2ff5bbe076f5a3e052 Author: Richard Levitte Date: Thu Sep 15 11:20:18 2016 +0200 Refactor to avoid unnecessary preprocessor logic Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit c7bdb6a31ff0fcae66b451d3f80a684ad77f4966 Author: Richard Levitte Date: Wed Sep 14 20:54:30 2016 +0200 Reformat to fit OpenSSL source code standards Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit 0d0723e813870c2e7a009ec47e933668a1548531 Author: Richard Levitte Date: Wed Sep 14 20:52:03 2016 +0200 Add copyright and license on apps/vms_term_sock.[ch] Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz commit 0d3b65832c6fa94c1d1cfa2f99335f323e3227c1 Author: Richard Levitte Date: Wed Aug 3 21:16:43 2016 +0200 VSI submission: redirect terminal input through socket This is needed, because on VMS, select() can only be used on sockets. being able to use select() on all kinds of file descriptors is unique to Unix. So, the solution for VMS is to create a layer that translates input from standard input to socket communication. Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz --- Summary of changes: Configurations/10-main.conf | 2 +- apps/apps.c | 39 ++- apps/apps.h | 2 + apps/s_client.c | 18 +- apps/s_server.c | 10 +- apps/vms_term_sock.c| 590 apps/vms_term_sock.h| 30 +++ 7 files changed, 678 insertions(+), 13 deletions(-) create mode 100644 apps/vms_term_sock.c create mode 100644 apps/vms_term_sock.h diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 846a6c8..fc673a1 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1774,7 +1774,7 @@ sub vms_info { dso_scheme => "vms", thread_scheme=> "pthreads", -apps_aux_src => "vms_decc_init.c", +apps_aux_src => "vms_decc_init.c vms_term_sock.c", }, "vms-alpha" => { diff --git a/apps/apps.c b/apps/apps.c index 522db71..6ca0f2b 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2300,6 +2300,36 @@ int app_isdir(const char *name) #endif /* raw_read|write section */ +#if defined(__VMS) +# include "vms_term_sock.h" +static int stdin_sock = -1; + +static void close_stdin_sock(void) +{ +TerminalSocket (TERM_SOCK_DELETE, _sock); +} + +int fileno_stdin(void) +{ +if (stdin_sock == -1) { +TerminalSocket(TERM_SOCK_CREATE, _sock); +atexit(close_stdin_sock); +} + +return stdin_sock; +} +#else +int fileno_stdin(void) +{ +return fileno(stdin); +} +#endif + +int fileno_stdout(void) +{ +return fileno(stdout); +} + #if defined(_WIN32) && defined(STD_INPUT_HANDLE) int raw_read_stdin(void *buf, int siz) { @@ -2309,10 +2339,15 @@ int raw_read_stdin(void *buf, int siz) else return (-1); } +#elif defined(__VMS) +int raw_read_stdin(void *buf, int siz) +{ +return recv(fileno_stdin(), buf, siz, 0); +} #else int raw_read_stdin(void *buf, int siz) { -return read(fileno(stdin), buf, siz); +return read(fileno_stdin(), buf, siz); } #endif @@ -2328,7 +2363,7 @@ int raw_write_stdout(const void *buf, int siz) #else int raw_write_stdout(const void *buf, int siz) { -return write(fileno(stdout), buf, siz); +return write(fileno_stdout(), buf, siz); } #endif diff --git a/apps/apps.h b/apps/apps.h index 1761501..6083780 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -549,6 +549,8 @@ void store_setup_crl_download(X509_STORE *st); int app_isdir(const char *); int app_access(const char *, int flag); +int fileno_stdin(void); +int fileno_stdout(void); int raw_read_stdin(void *, int); int raw_write_stdout(const void *, int); diff --git a/apps/s_client.c b/apps/s_client.c index
[openssl-commits] Build failed: openssl 1.0.1224
Build openssl 1.0.1224 failed Commit 1bc9bbef8b by FdaSilvaYY on 9/15/2016 7:16 PM: Use PATH_MAX and NAME_MAX Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Still Failing: FdaSilvaYY/openssl#1942 (master - 5d0c0f1)
Build Update for FdaSilvaYY/openssl - Build: #1942 Status: Still Failing Duration: 25 minutes and 14 seconds Commit: 5d0c0f1 (master) Author: FdaSilvaYY Message: Clean whitespaces on line ending View the changeset: https://github.com/FdaSilvaYY/openssl/compare/6c5cccf143ec...5d0c0f11e8c3 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160254594 -- 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 completed: openssl 1.0.1223
Build openssl 1.0.1223 completed Commit 440308828d by FdaSilvaYY on 9/15/2016 7:06 PM: Remove an useless definition. Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Errored: FdaSilvaYY/openssl#1944 (oss-dead-code - 44eeef3)
Build Update for FdaSilvaYY/openssl - Build: #1944 Status: Errored Duration: 7 minutes and 43 seconds Commit: 44eeef3 (oss-dead-code) Author: FdaSilvaYY Message: Remove useless definition APP_INFO is currently a field of MEM struct View the changeset: https://github.com/FdaSilvaYY/openssl/compare/92e18ce42376...44eeef3bbab8 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160257024 -- 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: FdaSilvaYY/openssl#1941 (apps-speed-rework-n-clean - fb95974)
Build Update for FdaSilvaYY/openssl - Build: #1941 Status: Still Failing Duration: 44 minutes and 11 seconds Commit: fb95974 (apps-speed-rework-n-clean) Author: FdaSilvaYY Message: Remove some OPENSSL_NO_RSA guards in prog(.h|.pl) no-rsa is no longer an option since 7ec8de16fe23e207d3e1bbb95d53843dbc9c06c8 so remove some remaining OPENSSL_NO_RSA guards. View the changeset: https://github.com/FdaSilvaYY/openssl/compare/97c0bdb4f7a2...fb9597446b0c View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160254100 -- 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.1222
Build openssl 1.0.1222 failed Commit 44eeef3bba by FdaSilvaYY on 9/15/2016 6:57 PM: Remove useless definition Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] Failed: FdaSilvaYY/openssl#1940 (fix-install-typo - bdbd014)
Build Update for FdaSilvaYY/openssl - Build: #1940 Status: Failed Duration: 45 minutes and 47 seconds Commit: bdbd014 (fix-install-typo) Author: FdaSilvaYY Message: Update INSTALL about no-md5 removal Fix a typo View the changeset: https://github.com/FdaSilvaYY/openssl/compare/f5f062e2e4f0...bdbd014ed6bf View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160252568 -- 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#1938 (fix-install-typo - f5f062e)
Build Update for FdaSilvaYY/openssl - Build: #1938 Status: Errored Duration: 15 minutes and 39 seconds Commit: f5f062e (fix-install-typo) Author: FdaSilvaYY Message: Update INSTALL about no-md5 removal Fix a typo View the changeset: https://github.com/FdaSilvaYY/openssl/compare/69f3366ec80b^...f5f062e2e4f0 View the full build log and details: https://travis-ci.org/FdaSilvaYY/openssl/builds/160250147 -- 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.1216
Build openssl 1.0.1216 failed Commit f5f062e2e4 by FdaSilvaYY on 9/15/2016 6:29 PM: Update INSTALL about no-md5 removal Configure your notification preferences _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [web] master update
The branch master has been updated via 7257962abfb8d49deb3b9831fa6eeb7068284246 (commit) from 69149e8db98a2c3c41954009da75f8789a56139f (commit) - Log - commit 7257962abfb8d49deb3b9831fa6eeb7068284246 Author: Rich SalzDate: Thu Sep 15 10:56:21 2016 -0400 Update text about snapshots --- Summary of changes: source/index.html | 10 +- source/snapshot/README | 6 -- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/source/index.html b/source/index.html index 6fbdadc..d010f9e 100644 --- a/source/index.html +++ b/source/index.html @@ -54,11 +54,11 @@ Each day we make a snapshot of each development branch. They can be found at - ftp://ftp.openssl.org/snapshot/;>ftp://ftp.openssl.org/snapshot/. - These snapshots are provided for convenience only. Note that -keeping a local repository and updating it every 24 hours is -equivalent and will often be faster and more efficient. - + https://www.openssl.org/source/snapshot/;>https://www.openssl.org/source/snapshot/. +These daily snapshots of the source tree are provided for +convenience only and not even guaranteed to compile. Note that +keeping a git local repository and updating it every 24 hours +is equivalent and will often be faster and more efficient. diff --git a/source/snapshot/README b/source/snapshot/README index e32d608..c8fddfb 100644 --- a/source/snapshot/README +++ b/source/snapshot/README @@ -1,2 +1,4 @@ -These are daily snapshots of the source tree. They are provided -for convenience only and not even guaranteed to compile. +These daily snapshots of the source tree are provided for convenience +only and not even guaranteed to compile. Note that keeping a git local +repository and updating it every 24 hours is equivalent and will often be +faster and more efficient. _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits
[openssl-commits] [web] master update
The branch master has been updated via 69149e8db98a2c3c41954009da75f8789a56139f (commit) from 63c7d7cef9575202fb4afcf49c1b6234c5f29d40 (commit) - Log - commit 69149e8db98a2c3c41954009da75f8789a56139f Author: Richard LevitteDate: Thu Sep 15 15:09:29 2016 +0200 Redirect /snapshot to /source/snapshot --- Summary of changes: .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index 05912c5..717f682 100644 --- a/.htaccess +++ b/.htaccess @@ -11,6 +11,7 @@ Redirect permanent /licenses /policies/cla.html Redirect permanent /licenses/ /policies/cla.html Redirect permanent /.well-known/acme-challenge/MX5CvUJNvymcKf22SNORcfjGk4oGQyIWJiBc_johfYo http://dcv.akamai.com/.well-known/acme-challenge/MX5CvUJNvymcKf22SNORcfjGk4oGQyIWJiBc_johfYo +Redirect permanent /snapshot /source/snapshot ForceType application/binary _ 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 d69247598991c61dfb68d4fe3b08346b02644812 (commit) via ea060e026dd29ea0eaf66ad8686f966c8c81eb7f (commit) from b05f231cd97d80a2a46b6f4d0b145e84c729c39b (commit) - Log - commit d69247598991c61dfb68d4fe3b08346b02644812 Author: Dr. Stephen HensonDate: Wed Sep 14 23:42:55 2016 +0100 Fix memory leak on realloc error. Backport leak fix from master branch. Thanks to Shi Lei (Gear Team, Qihoo 360 Inc.) for reporting this bug. Reviewed-by: Rich Salz commit ea060e026dd29ea0eaf66ad8686f966c8c81eb7f Author: Dr. Stephen Henson Date: Wed Sep 14 23:54:12 2016 +0100 Fix memory leak on error. Thanks to Shi Lei (Gear Team, Qihoo 360 Inc.) for reporting this bug. Reviewed-by: Rich Salz --- Summary of changes: ssl/ssl_asn1.c | 3 +++ ssl/ssl_rsa.c | 9 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index 35cc27c..499f0e8 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -527,6 +527,9 @@ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, if (os.length > SSL_MAX_SID_CTX_LENGTH) { c.error = SSL_R_BAD_LENGTH; c.line = __LINE__; +OPENSSL_free(os.data); +os.data = NULL; +os.length = 0; goto err; } else { ret->sid_ctx_length = os.length; diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 8202247..f679801 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -912,6 +912,8 @@ static int serverinfo_process_buffer(const unsigned char *serverinfo, int SSL_CTX_use_serverinfo(SSL_CTX *ctx, const unsigned char *serverinfo, size_t serverinfo_length) { +unsigned char *new_serverinfo; + if (ctx == NULL || serverinfo == NULL || serverinfo_length == 0) { SSLerr(SSL_F_SSL_CTX_USE_SERVERINFO, ERR_R_PASSED_NULL_PARAMETER); return 0; @@ -928,12 +930,13 @@ int SSL_CTX_use_serverinfo(SSL_CTX *ctx, const unsigned char *serverinfo, SSLerr(SSL_F_SSL_CTX_USE_SERVERINFO, ERR_R_INTERNAL_ERROR); return 0; } -ctx->cert->key->serverinfo = OPENSSL_realloc(ctx->cert->key->serverinfo, - serverinfo_length); -if (ctx->cert->key->serverinfo == NULL) { +new_serverinfo = OPENSSL_realloc(ctx->cert->key->serverinfo, + serverinfo_length); +if (new_serverinfo == NULL) { SSLerr(SSL_F_SSL_CTX_USE_SERVERINFO, ERR_R_MALLOC_FAILURE); return 0; } +ctx->cert->key->serverinfo = new_serverinfo; memcpy(ctx->cert->key->serverinfo, serverinfo, serverinfo_length); ctx->cert->key->serverinfo_length = serverinfo_length; _ 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 b05f231cd97d80a2a46b6f4d0b145e84c729c39b (commit) from 68f11e82d9c19e104f34bd5186decc98566738ca (commit) - Log - commit b05f231cd97d80a2a46b6f4d0b145e84c729c39b Author: Richard LevitteDate: Tue Sep 6 17:39:35 2016 +0200 VMS: only use _realloc32 with /POINTER_SIZE=32 This fixes the following error when building with no particular pointer size is specified (implied 32 bit): static void *(*realloc_func) (void *, size_t) = realloc; ^ %CC-E-UNDECLARED, In the initializer for realloc_func, "_realloc32" is not declared. at line number 93 in file DEV:[OPENSSL102.crypto]mem.c;1 Reviewed-by: Andy Polyakov --- Summary of changes: crypto/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/mem.c b/crypto/mem.c index 9c45135..06c3960 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -85,7 +85,7 @@ static void *(*malloc_ex_func) (size_t, const char *file, int line) #ifdef OPENSSL_SYS_VMS # if __INITIAL_POINTER_SIZE == 64 # define realloc _realloc64 -# else +# elif __INITIAL_POINTER_SIZE == 32 # define realloc _realloc32 # endif #endif _ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits