Brent Cook
1c5591947a
Add an OpenSSL compatible ./config wrapper
...
This allows sofware expecting OpenSSL's config script, to a limited
extent, to continue building without changes.
Thanks to technion for pointing this out and providing the initial
patch.
2014-10-31 07:35:06 -05:00
Brent Cook
a2373f7007
wrap arc4random header
...
ok @doug
2014-10-30 19:15:20 -05:00
Brent Cook
a4cc953911
Improve and simplify function and header detection logic.
...
Simplify autoconf checks by using AC_CHECK_FUNCS/HEADERS.
Clarify some ambiguous dependencies around strnlen/strndup.
Unconditionally enable pidwraptest for all arc4random implementations.
Remove HAVE_VASPRINTF conditional, since asprintf requires vasprintf.
ok @doug
2014-10-30 19:15:11 -05:00
Brent Cook
727bccd093
use the correct HOST_OS for the Windows build
...
ok doug@
2014-10-30 10:55:30 -05:00
Brent Cook
72c1e56b38
enable -lcrypto -lssl with all test programs directly.
...
This removes the need to specify each one individually.
ok doug@
2014-10-30 10:55:30 -05:00
Brent Cook
ccaf9cdd9c
remove duplicate (and overlapping) .1 manpages
...
openssl.1 contains all of the information from the other application
manpages, and is the only one packaged in OpenBSD. So, remove the other
obsolete .1 manpages (and avoid overlapping system pages like passwd.1)
2014-10-26 09:23:03 -05:00
Brent Cook
8b695e534b
set various glibc flags that also are useful with mingw
...
for example, asprintf/vasprintf are unmasked with _GNU_SOURCE in mingw
2014-10-22 19:12:18 -05:00
Brent Cook
eb26e56ba8
undef LIBRESSL_INTERNAL for the pidwrap test.
2014-10-22 13:06:36 -05:00
kinichiro
a91d1013cf
update string.h for include strings.h for HPUX environment
2014-10-22 12:45:01 -05:00
Brent Cook
54259e50a5
include a proper check for memmem when configuring unit tests
...
This allows the proper compatibility header definition to be exposed.
2014-10-22 12:37:06 -05:00
Brent Cook
48520cf629
bump version
2014-10-22 11:16:39 -05:00
Brent Cook
04bb7a665d
update with 2.1.1 changes
...
ok beck@
2014-10-15 22:28:34 -05:00
Brent Cook
a007fb9d53
LibreSSL portable README update
...
Add more info on how to build from source, where to download it from.
2014-10-15 16:36:08 -05:00
Brent Cook
2408253191
add extended ChangeLog file
...
help people more easily find the code and changes
2014-10-14 22:25:16 -05:00
Brent Cook
6b729df5d8
update gitignore to see changelog
2014-10-14 22:23:16 -05:00
Brent Cook
9c8cf59362
add missing commas from man links
2014-10-14 21:54:37 -05:00
Brent Cook
67ec615a35
update man links
2014-10-14 20:55:04 -05:00
Brent Cook
3d3c24670a
don't fail to make dist on a clean repo
2014-10-14 20:54:42 -05:00
Brent Cook
cf1c1f350c
crank version
2014-10-14 20:44:55 -05:00
Brent Cook
0534fffefa
update to new converted SSL manpages
2014-10-14 20:43:30 -05:00
Brent Cook
5c23f25103
clear local manpage cache before generating a release tarball
...
Remove the possibility of having any bad or old manpages in releases
while still being able to cache for quick development tarballs.
2014-09-26 16:12:53 -05:00
Brent Cook
3f944e83ff
update for upstream move of the openssl app
2014-08-27 21:46:43 -05:00
Brent Cook
e7edc4a76f
ensure compatibility with posix shell
...
remove bash comparison, thanks kinichiro
2014-08-18 21:55:37 -05:00
Brent Cook
01726893f5
add --disable-asm flag for disabling inline asm
...
Surprisingly (or not), a lot of OpenSSL's inline assembly actually makes
things slower with a relatively modern compiler (read, gcc >= 4.x).
2014-08-17 07:58:32 -05:00
Brent Cook
2cef68f3ed
allow inline asm
...
use default of -std=gnu99 for it to be recognized
2014-08-16 14:16:01 -05:00
Brent Cook
2d719eb3d7
set _DEFAULT_SOURCE on linux hosts
...
this is the replacement for _BSD_SOURCE on newer glibc's
2014-08-16 08:17:32 -05:00
inoguchi
6dccbae663
update stdio.h for including stdarg.h
...
it seems that including stdarg.h is needed for defining va_list
environment is hpux 11.31(ia64) with gcc 4.7.1.
without stdarg.h, I got compilation error like this.
"error: 'va_list' undeclared (first use in this function)"
I checked with gcc -E, then I noticed that __va_list is defined but va_list is not.
"typedef __gnuc_va_list __va_list;"
with including stdarg.h, va_list is defined.
"typedef __gnuc_va_list va_list;"
2014-08-12 21:18:27 -05:00
Brent Cook
46b6df7cb0
remove configure.am.tpl, pull in VERSION directly
...
from wouter@
2014-08-12 21:17:41 -05:00
Brent Cook
d6a485d1a1
rebase on pull when updating the openbsd branch
...
this avoids inadvertent local merges
2014-08-08 07:32:38 -05:00
Brent Cook
00b51d5c25
conditionally build strnlen if needed.
...
it is only used by strndup
prodded by Sortie@
2014-08-02 21:59:36 -05:00
Brent Cook
c95574be92
tie master libressl branch to openbsd master
...
Added OPENBSD_BRANCH to set what branch update.sh should checkout.
2014-07-31 22:08:30 -05:00
Bob Beck
3e21619bcf
Crank version on HEAD to 2.1.0 2.0 cointinues on OPENBSD_5_6 branch
2014-07-31 18:53:48 -06:00
Brent Cook
105da446ba
define MAP_ANON for systems with MAP_ANONYMOUS
...
switch the sense of this check
2014-07-30 22:16:01 -05:00
Brent Cook
8d89fb071c
merge endian definitions between AIX/HP-UX/Solaris
2014-07-30 07:12:42 -05:00
inoguchi
ff58a2e3cb
update include/machine/endian.h for hpux portability.
...
ok bcook@
2014-07-30 07:12:36 -05:00
Brent Cook
b9ff0728e1
harmonize asprintf with OpenSSH
...
* use the original name for the file from OpenSSH (remove duplicate version)
* add va_copy/__va_copy checks to configure
* incorporate proposed fixes to openssh version:
+ include more system headers directly for various definitions
+ limit the scope of va_copy/va_end to their affected vsnprintf calls
+ simplify error handling, removing a dead assignment
2014-07-30 06:53:02 -05:00
Brent Cook
a07e337020
include comment on windows services
2014-07-29 18:21:58 -05:00
Brent Cook
af705b3f7d
add sys/mman.h shim to define MAP_ANON if needed
...
thanks to kinichiro for pointing this out
ok deraadt@ beck@
2014-07-29 11:17:48 -05:00
Brent Cook
983103b0db
stub win32 issetugid implementation
...
ok deraadt@ beck@
2014-07-29 11:17:44 -05:00
Brent Cook
46dd7aac40
added dist.sh script - generates tarball
...
ok deraadt@ beck@
2014-07-29 11:17:32 -05:00
Brent Cook
d328203f63
produce a error if platform has no arc4random hook
...
ok deraadt@ beck@
2014-07-29 11:17:27 -05:00
Brent Cook
35e2d8d048
add asprintf / vasprintf from OpenSSH portable
...
ok deraadt@ beck@
2014-07-29 11:17:22 -05:00
pgmassey
02ad0041c4
Update endian.h for AIX/IRIX
...
Added AIX/IRIX compatibility for endian detection.
ok bcook@ deraadt@ beck@
2014-07-29 11:17:18 -05:00
Brent Cook
981fc3618a
Guard individual compatibility header prototypes.
...
This is to avoid redefining prototypes from the libc headers. Also,
simplify the autoconf function checks and remove some copy/paste
errors checking for 'write'.
ok wouter@
2014-07-28 13:52:07 -05:00
Brent Cook
cd168d519b
split big line
2014-07-28 07:50:48 -05:00
Brent Cook
e48e4f0e69
prefer - over /dev/stdin for cmp test
2014-07-28 07:26:42 -05:00
Brent Cook
f8195c9c22
check link requirements for dl_iterate_phdr
...
Note that gcc chose to disable this rather than cause link issues with
older copies of Solaris 10:
https://gcc.gnu.org/ml/gcc-patches/2012-01/msg00816.html
If we want to support Solaris <10.10 (I'd rather support up-to-date
versions), getentropy_solaris would need to change.
2014-07-28 07:26:42 -05:00
Brent Cook
1b62d5e416
remove bash-isms from test scripts
2014-07-28 07:26:27 -05:00
Brent Cook
0a74a4d464
add strndup/strnlen compat functions from OpenBSD
2014-07-28 07:07:23 -05:00
Brent Cook
fb67b92eb2
include system headers for err.h compat macros
2014-07-28 07:07:23 -05:00