Richard Levitte
5ea564f154
Code health: Quick note in changes and the OPENSSL_GLOBAL et al changes
...
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2785 )
2017-02-28 20:23:07 +01:00
Richard Levitte
9c5e87bf34
Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too
...
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2785 )
2017-02-28 20:23:07 +01:00
Richard Levitte
6cef8015e8
Code health: Remove another VAX C-ism, globaldef and globalref
...
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2785 )
2017-02-28 20:23:07 +01:00
Richard Levitte
77baccd7fa
Code health: make update
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2793 )
2017-02-28 20:16:56 +01:00
Richard Levitte
96bc5d03b8
Code health: Remove VAX exceptions in util/mkdef.pl
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2793 )
2017-02-28 20:16:56 +01:00
Richard Levitte
38a322a5f2
Code health: Remove unused VAX transfer vector for engines
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2793 )
2017-02-28 20:16:56 +01:00
Rich Salz
629192c1b9
Exdata test was never enabled.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2787 )
2017-02-28 13:50:40 -05:00
Emilia Kasper
d5aa14dde5
Remove memcpy unrolling in bn_lib.c
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
2017-02-28 19:47:36 +01:00
Emilia Kasper
c26f655fdd
Remove support for HMAC_TEST_PRIVATE_KEY_FORMAT
...
This is a bogus, undocumented format that was intended for testing; I
don't think anyone is using it.
Reviewed-by: Richard Levitte <levitte@openssl.org>
2017-02-28 19:46:01 +01:00
Rich Salz
a2b22cd6a8
Remove GENCB_TEST compile flag
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2790 )
2017-02-28 12:59:22 -05:00
Matt Caswell
4d118fe007
Fix test_ssl_new when compiled with no-tls1_2 or no-dtls1_2
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2788 )
2017-02-28 16:26:13 +00:00
Matt Caswell
e9ee653671
Fix sslapitest when compiled with no-tls1_2
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2788 )
2017-02-28 16:26:13 +00:00
Dr. Stephen Henson
c5055adf35
Revert rc4test removal, it performs additional tests not in evptests.txt
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2789 )
2017-02-28 16:08:42 +00:00
Matt Caswell
a633f2675e
Remove some commented out code in the tests
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2774 )
2017-02-28 16:04:15 +00:00
Matt Caswell
38f2837b1b
Remove some commented out code in libssl
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2774 )
2017-02-28 16:02:11 +00:00
Matt Caswell
7f517c2676
Remove some commented out code in libcrypto
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2774 )
2017-02-28 16:02:11 +00:00
Matt Caswell
9fa36f5f4b
Remove some commented out code in the apps
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2774 )
2017-02-28 16:02:11 +00:00
Dr. Stephen Henson
816060d212
Remove more redundant tests: md4, md5, rmd, rc4, p5_crpt2
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2784 )
2017-02-28 15:30:12 +00:00
Matt Caswell
a7ab9755da
Remove a pointless "#ifndef" from bf_enc.c
...
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2778 )
2017-02-28 15:17:46 +00:00
Matt Caswell
6bb900698d
Remove bf_cbc.c
...
It is never built and the code is duplicated in bf_enc.c.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2778 )
2017-02-28 15:17:46 +00:00
Rich Salz
6faa345632
Update year, wording tweak
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2755 )
2017-02-28 10:13:32 -05:00
Matt Caswell
cec7dfc6a3
Remove the file r160test.c
...
It is empty and is not compiled
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2777 )
2017-02-28 15:07:41 +00:00
Dr. Stephen Henson
a2121e1425
Remove wp_test.c: exactly the same tests are in evptests.txt
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2783 )
2017-02-28 14:52:28 +00:00
Matt Caswell
1fef2f8050
Remove dead code in bn
...
There are a number of symbols in bn which are internal only and never used
by anything. They should be removed.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2766 )
2017-02-28 14:46:24 +00:00
Todd Short
2722ff506d
Remove some #if 0 code in ssl, crypto/bio
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2781 )
2017-02-28 09:32:41 -05:00
Richard Levitte
14097b6a92
Code health: Stop using timeb.h / ftime() (VMS only)
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2775 )
2017-02-28 15:32:01 +01:00
Richard Levitte
e627a13cd5
Code health: Remove obvious VAX C fixups
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2775 )
2017-02-28 15:32:01 +01:00
Emilia Kasper
8a05d6bb26
More Configure cleanup. Remove
...
- util/incore
- util/fipslink.pl
- the unused "baseaddr" configure switch
Reviewed-by: Stephen Henson <steve@openssl.org>
2017-02-28 15:26:56 +01:00
Emilia Kasper
b53338cbf8
Clean up references to FIPS
...
This removes the fips configure option. This option is broken as the
required FIPS code is not available.
FIPS_mode() and FIPS_mode_set() are retained for compatibility, but
FIPS_mode() always returns 0, and FIPS_mode_set() can only be used to
turn FIPS mode off.
Reviewed-by: Stephen Henson <steve@openssl.org>
2017-02-28 15:26:25 +01:00
Emilia Kasper
223a90cc9a
Remove BN_DEBUG_TRIX
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-28 15:24:30 +01:00
Emilia Kasper
e546e2cc8c
Remove debugging leftovers in apps/opt.c
...
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-28 15:23:40 +01:00
Pauli
533b178db6
Avoid buffer underflow in evp_test.
...
The second loop in the remove_space function doesn't check for walking
back off of the start of the string while setting white space to 0.
This fix exits this loop once the pointer is before the (updated) beginning
of the string.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2752 )
2017-02-28 09:14:50 -05:00
Bernd Edlinger
fa7e9ed3d1
Remove unnecessary memset after PR #2583 avoids accessing
...
the uninitialized session_id now.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2608 )
2017-02-28 09:03:54 -05:00
Richard Levitte
44e2d45ffd
Move the CHIL engine to demos/engines
...
Moving out of the way, Makefile to be added
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2780 )
2017-02-28 15:03:06 +01:00
Matt Caswell
df15c84901
Remove some dead code from libssl
...
There are a small number of functions in libssl that are internal only
and never used by anything.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2770 )
2017-02-28 12:54:52 +00:00
Richard Levitte
9d70ac97d9
Code cleanup: remove the VMS specific reimplementation of gmtime
...
This reimplementation was necessary before VMS C V7.1. Since that's
the minimum version we support in this OpenSSL version, the
reimplementation is no longer needed.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2762 )
2017-02-28 13:18:15 +01:00
Emilia Kasper
5c2ee53f71
Remove dead code in crypto/pkcs7
...
Reviewed-by: Stephen Henson <steve@openssl.org>
2017-02-28 12:58:26 +01:00
Emilia Kasper
ebc354a085
Remove methtest.c
...
This file tests code that doesn't exist.
Reviewed-by: Stephen Henson <steve@openssl.org>
2017-02-28 12:57:45 +01:00
Dr. Stephen Henson
d86f2f26c8
Remove ancient demoCA directory
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2760 )
2017-02-28 10:50:32 +00:00
Richard Levitte
9664512726
Renumber to avoid a error code clash
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2758 )
2017-02-27 23:34:29 +01:00
Dr. Stephen Henson
fa64210a88
Trace support for TLS 1.3 certificate request message
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2728 )
2017-02-27 18:23:18 +00:00
Dr. Stephen Henson
03f44b974b
Initial incomplete TLS 1.3 certificate request support.
...
This adds partial support for TLS 1.3 certificate request message.
The request context and extensions are currently ignored on receive
and set to zero length on send.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2728 )
2017-02-27 18:23:18 +00:00
Adrian Vollmer
013bc44867
Adjust the default value of the private key size
...
...in the man page to reflect the actual default (2048 instead of 512)
CLA: trivial
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2754 )
2017-02-27 11:34:34 -05:00
Andy Polyakov
e052083cc7
poly1305/asm/poly1305-x86_64.pl: minor AVX512 optimization.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-26 21:27:54 +01:00
Andy Polyakov
5e32cfb2b6
crypto/x86_64cpuid.pl: add CFI annotations.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-26 21:26:27 +01:00
Andy Polyakov
fa62bc4661
whrlpool/asm/wp-x86_64.pl: add CFI annotations.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-26 21:26:24 +01:00
Andy Polyakov
49508b23ce
camellia/asm/cmll-x86_64.pl: add CFI annotations.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-26 21:26:09 +01:00
Andy Polyakov
1c47e8836f
poly1305/asm/poly1305-x86_64.pl: add CFI annotations.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-26 21:26:07 +01:00
Andy Polyakov
f17652e5f9
chacha/asm/chacha-x86_64.pl: add CFI annotations.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-02-26 21:26:06 +01:00
Dr. Stephen Henson
26a556e778
Add missing blank lines and cosmetic improvements
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2747 )
2017-02-26 18:26:09 +00:00