summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-20Fix warnings installing pod filesRainer Jung
Fixes some links in the pod files Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-20Configurations: fix typo in 50-masm.conf.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-20evp/aes_aes.c: engage Fujitsu SPARC64 X AES support.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-20sparcv9cap.c: add Fujitsu SPARC64 X AES capability detection.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-20Add AES assembly module for Fujitsu SPARC64 X/X+.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-20Configuration: add unsupported masm target.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-20perlasm/x86_64-xlate.pl: make latest ml64 work.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-20poly1305/asm/poly1305-x86_64.pl: not all assemblers manage << in constants.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-19Typo, asoutflag -> perlasm_schemeRichard Levitte
Reviewed-by: Tim Hudson <tjh@openssl.org>
2016-04-19Only allow Microsoft assembler with no-asm on WindowsRichard Levitte
This also restores the possibility to have ml used with VC-WIN32 with no-asm, which was lost during the mk1mf -> unified transition. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-04-19Build: Make 'test' depend on 'tests'Richard Levitte
Because we have a directory 'test', the target 'test' may be confusing to make. However, if we make it depend on 'tests', which doesn't exist, make should never fail to run the actions. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-04-19Prepare for 1.1.0-pre6-devMatt Caswell
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-19Prepare for 1.1.0-pre5 releaseOpenSSL_1_1_0-pre5Matt Caswell
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-18Unsigned chars can't be negativeMatt Caswell
Fix a problem where an unsigned char was being checked to see if it was negative. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-18Fix PKCS7 memory leakMatt Caswell
Commit f0e0fd51f was a bit over-zealous in removing a call to X509_STORE_CTX_cleanup(). The call in question was in a loop and was required to cleanup resources used on each iteration of the loop. Removing this resulted in a memory leak. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-18Make string_to_hex/hex_to_string publicRich Salz
Give the API new names, document it. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-18Rename some lowercase API'sRich Salz
Make OBJ_name_cmp internal Rename idea_xxx to IDEA_xxx Rename get_rfc_xxx to BN_get_rfc_xxx Rename v3_addr and v3_asid functions to X509v3_... Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-18NOTES files will contain more requirements, make that explicitRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-18Haiku x86-64 doesn't need RC4_CHAR.Jérôme Duval
* add a comment about Haiku being built with no-asm. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-18Free methods on destroy.Ben Laurie
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-18Free engine on error.Ben Laurie
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-18Opacity.Ben Laurie
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-18Signed/unsigned compare.Ben Laurie
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-17Restore OCSP_basic_verify() error return semanticsRichard Levitte
Recently, OCSP_basic_verify() was changed to always return 0 on error, when it would previously return 0 on error and < 0 on fatal error. This restores the previous semantics back. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-17Remove declaration of function that isn't implementedRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-16Add X509_STORE_CTX_set0_untrusted function.Dr. Stephen Henson
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-16Small OCSP fixupRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org>
2016-04-15Make many X509_xxx types opaque.Rich Salz
Make X509_OBJECT, X509_STORE_CTX, X509_STORE, X509_LOOKUP, and X509_LOOKUP_METHOD opaque. Remove unused X509_CERT_FILE_CTX Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
2016-04-15Don't use a default for --with-zlib-lib on Windows with option 'zlib'Richard Levitte
To begin with, the default should have been the import library, not the DLL itself. However, we don't know what directory it's installed in either way, so we may as well demand the full path from the user Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-15ex_libs settings have to be added to, not overriden, on Windows tooRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-14Update Travis and Appveyor for change to shared by defaultMatt Caswell
Update the Travis and Appveyor builds to explicitly state no-shared where applicable. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Make "shared" builds the defaultMatt Caswell
In most cases we expect that people will be using shared libraries not static ones, therefore we make that the default. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Fix ex_data locks issueMatt Caswell
Travis identified a problem with freeing the ex_data locks which wasn't quite right in ff2344052. Trying to fix it identified a further problem: the ex_data locks are cleaned up by OPENSSL_cleanup(), which is called explicitly by CRYPTO_mem_leaks(), but then later the BIO passed to CRYPTO_mem_leaks() is freed. An attempt is then made to use the ex_data lock already freed. Reviewed-by: Tim Hudson <tjh@openssl.org>
2016-04-14Add Haiku support.Jérôme Duval
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-14Fix installation on VMS for no-stdio and no-autoalginitRichard Levitte
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-14Fix installation for no-stdio and no-autoalginitRichard Levitte
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-14Fix no-stdio and no-autoalginitMatt Caswell
no-stdio does not work with the apps. Since the tests also need the apps it doesn't support that either. Therefore we disable building of both. no-autoalginit is not compatible with the apps because it requires explicit loading of the algorithms, and the apps don't do that. Therefore we disable building the apps for this option. Similarly the tests depend on the apps so we also disable the tests. Finally the whole point about no-autoalginit is to avoid excessive executable sizes when doing static linking. Therefore we disable "shared" if this option is selected. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14The err_cleanup() funtion is internal so shouldn't be exportedMatt Caswell
Running a "make update" wanted to add err_cleanup to libcrypto.num which is wrong. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Write POD page.Rich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Add SSL_SESSION_get0_hostname()Lyon Chen
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-14Ensure all locks are properly cleaned upMatt Caswell
Some locks were not being properly cleaned up during close down. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Fix the spelling of "implement".Shlomi Fish
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-14Fix AFALG kernel and headers mismatch problemMatt Caswell
During Configure we attempt to check the kernel version of this platform to see whether we can compile the AFALG engine. If the kernel version looks recent enough then we enable AFALG. However when we compile e_afalg.c we check the version of the linux headers. If there is a mismatch between the linux headers and the currently running kernel then we don't compile the AFLAG engine and continue. This was causing a link error. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Bugfix: in asn1parse avoid erroneous len after a sub-sequenceViktor Dukhovni
Introduced in: commit 79c7f74d6cefd5d32fa20e69195ad3de834ce065 Author: Ben Laurie <ben@links.org> Date: Tue Mar 29 19:37:57 2016 +0100 Fix buffer overrun in ASN1_parse(). Problem input: https://tools.ietf.org/html/draft-ietf-curdle-pkix-eddsa-00#section-8.1 -----BEGIN PUBLIC KEY----- MC0wCAYDK2VkCgECAyEAGb9ECWmEzf6FQbrBZ9w7lshQhqowtrbLDFw4rXAxZuE= -----END PUBLIC KEY----- Previously: 0:d=0 hl=2 l= 45 cons: SEQUENCE 2:d=1 hl=2 l= 8 cons: SEQUENCE 4:d=2 hl=2 l= 3 prim: OBJECT :1.3.101.100 9:d=2 hl=2 l= 1 prim: ENUMERATED :02 Error in encoding 140735164989440:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:../openssl/crypto/asn1/asn1_lib.c:148: Now: 0:d=0 hl=2 l= 45 cons: SEQUENCE 2:d=1 hl=2 l= 8 cons: SEQUENCE 4:d=2 hl=2 l= 3 prim: OBJECT :1.3.101.100 9:d=2 hl=2 l= 1 prim: ENUMERATED :02 12:d=1 hl=2 l= 33 prim: BIT STRING 0000 - 00 19 bf 44 09 69 84 cd-fe 85 41 ba c1 67 dc 3b ...D.i....A..g.; 0010 - 96 c8 50 86 aa 30 b6 b6-cb 0c 5c 38 ad 70 31 66 ..P..0....\8.p1f 0020 - e1 . Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-14Don't use deprecated CONF_modules_free() in testsViktor Dukhovni
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-13make updateMatt Caswell
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-13Add a CHANGES entry for removal of Configure optionsMatt Caswell
Document removal of no-aes, no-hmac, no-rsa, no-sha and no-md5. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-13Update INSTALL file based on feedbackMatt Caswell
Update the config options documentation based on feedback. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-13Update the INSTALL instructions with lots of optionsMatt Caswell
There were a lot of options missing from INSTALL. This adds descriptions for them. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-13Remove OPENSSL_NO_HMACMatt Caswell
no-hmac is no longer an option so remove OPENSSL_NO_HMAC guards. Reviewed-by: Richard Levitte <levitte@openssl.org>