summaryrefslogtreecommitdiffstats
path: root/util
AgeCommit message (Collapse)Author
2015-04-08Have mkerr.pl treat already existing multiline string defs properlyRichard Levitte
Since source reformat, we ended up with some error reason string definitions that spanned two lines. That in itself is fine, but we sometimes edited them to provide better strings than what could be automatically determined from the reason macro, for example: {ERR_REASON(SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER), "Peer haven't sent GOST certificate, required for selected ciphersuite"}, However, mkerr.pl didn't treat those two-line definitions right, and they ended up being retranslated to whatever the macro name would indicate, for example: {ERR_REASON(SSL_R_NO_GOST_CERTIFICATE_SENT_BY_PEER), "No gost certificate sent by peer"}, Clearly not what we wanted. This change fixes this problem. Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 2cfdfe0918f03f8323c9523a2beb2b363ae86ca7) Conflicts: util/mkerr.pl
2015-03-06Update mkerr.pl for new formatMatt Caswell
Make the output from mkerr.pl consistent with the newly reformatted code. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-03-02Fix format script.Dr. Stephen Henson
The format script didn't correctly recognise some ASN.1 macros and didn't reformat some files as a result. Fix script and reformat affected files. Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 437b14b533fe7f7408e3ebca6d5569f1d3347b1a) Conflicts: crypto/asn1/x_long.c
2015-01-22Delete trailing whitespace from output.Dr. Stephen Henson
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Add -d debug option to save preprocessed files.Dr. Stephen Henson
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Test option -ncDr. Stephen Henson
Add option -nc which sets COMMENTS=true but disables all indent comment reformatting options. Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Add ecp_nistz256.c to list of files skipped by openssl-format-sourceMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Manually reformat aes_x86core.c and add it to the list of files skipped byMatt Caswell
openssl-format-source Conflicts: crypto/aes/aes_x86core.c Conflicts: crypto/aes/aes_x86core.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Amend openssl-format-source so that it give more repeatable outputMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Manually reformat aes_core.cMatt Caswell
Add aes_core.c to the list of files not processed by openssl-format-source Conflicts: crypto/aes/aes_core.c Conflicts: crypto/aes/aes_core.c Conflicts: crypto/aes/aes_core.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Add obj_dat.h to the list of files that will not be processed byMatt Caswell
openssl-format-source Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Fix logic to check for indent.proMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Fix make errorsMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Make the script a little more location agnosticRichard Levitte
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Provide script for filtering data initialisers for structs/unions. indent ↵Matt Caswell
just can't handle it. Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Script fixes.Dr. Stephen Henson
Don't use double newline for headers. Don't interpret ASN1_PCTX as start of an ASN.1 module. Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Run expand before perl, to make sure things are properly alignedRichard Levitte
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Force the use of our indent profileRichard Levitte
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Provide source reformating script. Requires GNU indent to beTim Hudson
available. Script written by Tim Hudson, with amendments by Steve Henson, Rich Salz and Matt Caswell Reviewed-by: Matt Caswell <matt@openssl.org>
2015-01-05Update ordinals.Dr. Stephen Henson
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2014-10-20no-ssl2 with no-ssl3 does not mean drop the ssl libTim Hudson
Reviewed-by: Geoff Thorpe <geoff@openssl.org>
2014-07-02util/mkerr.pl: fix perl warningGeoff Thorpe
Gets rid of this; defined(@array) is deprecated at ../util/mkerr.pl line 792. (Maybe you should just omit the defined()?) defined(@array) is deprecated at ../util/mkerr.pl line 800. (Maybe you should just omit the defined()?) Signed-off-by: Geoff Thorpe <geoff@openssl.org> (cherry picked from commit 647f360e2e86818cee1f2d0429e071d14814e0b5)
2014-03-27Update ordinals.Dr. Stephen Henson
Use a previously unused value as we will be updating multiple released branches. (cherry picked from commit 0737acd2a8cc688902b5151cab5dc6737b82fb96)
2013-11-21Fixes for no-static-engine and Windows builds.Dr. Stephen Henson
2013-02-05Add ordinal for CRYPTO_memcmp: since this will affect multipleDr. Stephen Henson
branches it needs to be in a "gap".
2012-04-15use /fixed argument when linking FIPS targets to disable address space ↵Dr. Stephen Henson
layout randomization
2012-01-04stop warningDr. Stephen Henson
2011-06-22PR: 2471Dr. Stephen Henson
Submitted by: Corinna Vinschen util/cygwin.sh: maintainer's update [from HEAD].
2011-05-19update dateDr. Stephen Henson
2011-02-08OCSP stapling fix (OpenSSL 0.9.8r/1.0.0d)OpenSSL_0_9_8rBodo Möller
Submitted by: Neel Mehta, Adam Langley, Bodo Moeller
2011-01-20PR: 2434Richard Levitte
Under Windows, there seems to be a problem relinking fips_premain_dso because that file is locked. Changing from backtick op to using system() with redirection and reading the hash from the output file seems to fix the problem. In an ideal world, there should be no difference, as a command in a backtick op should terminate before the backtick returns, same as it does with system(). We suspect, though, that the loaded binary is cached by Windows for a little while, and that reading the output from a file provides enough delay for the lock to drop before we try to relink.
2010-05-27PR: 2245Dr. Stephen Henson
Submitted By: Mounir IDRASSI <mounir.idrassi@idrix.net> Add /Zi to WIN32 debug builds in 0.9.8 tree.
2010-05-06Use /MD in FIPS mode for WIN64 too.Dr. Stephen Henson
2010-03-25PR: 2202 (partial)Dr. Stephen Henson
Submitted by: Steven M. Schweda <sms@antinode.info> Make some declarations conditional on FIPS/ENGINE. Make pqueue_print non-VAX.
2010-02-09update yearDr. Stephen Henson
2010-02-04Only use bufferoverflowu.lib when neededDr. Stephen Henson
2010-01-20Support -L options in VC++ link.Dr. Stephen Henson
2010-01-07util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed [from HEAD].Andy Polyakov
PR: 2086
2010-01-05PR: 2132Dr. Stephen Henson
Submitted by: steve Fix bundled pod2man.pl to handle alternative comment formats.
2009-10-28PR: 2085Dr. Stephen Henson
Submitted by: Mike Frysinger <vapier@gentoo.org> Approved by: steve@openssl.org Change domd test to match 1.0.0+ version: check $MAKEDEPEND ends in "gcc" to support cross compilers.
2009-09-20Ooops, missing close quoteDr. Stephen Henson
2009-09-20add version info for VC-WIN64I tooDr. Stephen Henson
2009-09-19PR: 2048Dr. Stephen Henson
Submitted by: john blair <mailtome200420032002@yahoo.com> Approved by: steve@openssl.org Add version info in VC-WIN64A too.
2009-07-24Update ordinals and add NETWARE platform to handle renamed asc2uni functions.Dr. Stephen Henson
2009-06-02PR: 1939Dr. Stephen Henson
Submitted by: Sean Boudreau <seanb@qnx.com> Reviewed by: steve@openssl.org Better QNX6 support.
2009-05-28Update ordinals.Dr. Stephen Henson
2009-05-15make updateRichard Levitte
2009-05-15Have mkdef.pl also handle VAX and Non-VAX differences for VMSRichard Levitte
2009-04-22Update from 1.0.0-stable.Dr. Stephen Henson
2009-03-09PR: 1860Dr. Stephen Henson
Submitted by: Jurko Gospodneti <jurko.gospodnetic@docte.hr> Reviewed by: steve@openss.org Make Windows build more silent.