92 Commits

Author SHA1 Message Date
kinichiro
1ba03da236 Add x509_issuer_cache.c x509_issuer_cache.h 2020-09-13 21:56:34 +09:00
kinichiro
6410eee15a Add x509_constraints.c x509_internal.h 2020-09-13 19:55:43 +09:00
kinichiro
8238636e22 Remove cms_lcl.h from crypto/CMakeLists.txt 2020-07-22 22:50:40 +09:00
kinichiro
61a1f6a57b Move crypto/x509v3/ files to crypto/x509/ 2020-06-10 20:50:04 +09:00
kinichiro
740488d89e Fix cmake build to enable masm with VS2019
To specify architecture Visual Studio 16 2019 requires -A option,
and it is stored in variable CMAKE_GENERATOR_PLATFORM.
Until Visual Studio 15 2017, architecture was indicated as part of
generator string (e.g. "Visual Studio 15 2017 Win64")
2020-05-09 20:24:27 +09:00
Brent Cook
79f2a52a39 avoid exporting a sleep() symbol from libcrypto
Since it seems only MSVC lacks sleep(), and it's only used by apps, lets
special-case that and make it available as a static inline function
instead.
2020-04-14 22:29:37 -05:00
Dan Nestor
8fdc5252cc
Crypto target properties when building static libs 2020-03-02 11:44:40 +01:00
Brent Cook
3c51ff271e add cms to portable build 2019-11-03 06:24:47 -06:00
Brent Cook
b43bee6451 update portable for latest build changes 2019-09-09 22:00:57 -05:00
Brent Cook
b3e2e71310 default to a directory that is not world-creatable 2019-06-12 09:08:17 -05:00
Brent Cook
5ed7cf2553 sigh, add back the quotes for C 2019-06-10 07:07:44 -05:00
Brent Cook
6e2192618a use something else by default for Windows builds (match dist-win.sh) 2019-06-10 07:04:01 -05:00
Brent Cook
83012fe34a let cmake handle quoting itself 2019-06-10 06:49:34 -05:00
kinichiro
bbb662b69c Fix masm build
- Fix masm operators and comments
- Add -DOPENSSL_NO_ASM only if not 64 bit build
- Add -DCMAKE_INSTALL_PREFIX to avoid build error
2019-06-10 06:49:34 -05:00
Stephan Vedder
c6f8ca2bc6 Enable masm compilation under windows 2019-06-10 06:49:34 -05:00
Daniel Wyatt
23fa9a51d8 Add portable scaffold for SM4 2019-03-04 08:53:22 -05:00
Brent Cook
40c848316e add unimpl fallback for getprogname 2019-02-03 18:50:14 -06:00
Brent Cook
7f59976700 export getuid for libtls 2019-02-01 05:44:31 -06:00
Brent Cook
5269dbb279 update cmake 2019-01-31 13:56:56 -06:00
Brent Cook
495a1b6316 more masm fixes, but disable for now 2019-01-21 20:15:30 -06:00
Brent Cook
1b2e3576e0 a couple of fixes to get MSVC Win64 going again 2019-01-21 15:26:32 -06:00
Brent Cook
64d9c5d678 fixes to build asm on MSVS 2019-01-21 05:24:11 -06:00
Brent Cook
cc08f8eae0 adjust asm exclusions 2019-01-20 23:38:22 -06:00
Brent Cook
73b371073e remove xcode annotations for windows 2019-01-20 23:37:44 -06:00
Brent Cook
f553a9fe63 consider masm/mingw assembly flavors from cmake 2019-01-20 21:18:34 -06:00
Brent Cook
7c4d13138a fix build 2019-01-19 05:09:13 -06:00
Brent Cook
0f0bec5a76 build crypto_lock_win.c in-place 2019-01-01 15:44:11 -06:00
Brent Cook
a256df7fe9 build lock functions with CMake 2018-11-11 11:05:21 -06:00
Brent Cook
1cb05b51c1 Land #439, Add portable scaffold for SM3 2018-11-11 09:14:41 -06:00
Brent Cook
9c6e9f0995 initial 32-bit arm assembly optimization support 2018-11-11 00:24:35 -06:00
bobsayshilol
34394e7ee0 Misc fixes to bring portable in line with upstream. 2018-11-07 23:45:17 +00:00
kinichiro
0b8343ace3 Fix cmake to generate proper Libs.private in .pc files 2018-10-05 22:59:44 +09:00
kinichiro
f819a2bce7 Fix cmake linking libraries 2018-10-03 20:35:36 +09:00
Jack Lloyd
d4803f134f Add portable scaffold for SM3 2018-08-14 15:16:36 -04:00
Bi11
981cbcc2a2
Fix build with cmake -G Xcode 2018-07-06 02:58:23 +08:00
Brent Cook
64b6951576 make headers under include/compat private again 2018-06-14 04:48:59 -05:00
Brent Cook
4fcfc82d83 scope private/public headers when embedding into other projects
thanks to Cameron Palmer
2018-05-29 05:46:54 -05:00
Don
26bebfc564 Use BUILD_SHARED_LIBS to specify library type 2018-03-21 10:24:52 -07:00
Brent Cook
366071c2cf add new init functions 2018-03-18 10:43:16 -05:00
Brent Cook
1b84f79f4c Land #402, Remove CMAKE_HOST_ references 2018-03-18 09:53:37 -05:00
Brent Cook
c9c8e32fbe Land #400, Use groups in CMake install command for libraries 2018-03-18 09:52:27 -05:00
Don
09590953d0 Remove CMAKE_HOST_ references
CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake.
2018-03-16 14:59:53 -07:00
Don
5fb488de9f Use groups in CMake install command for libraries
On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
2018-03-16 13:59:26 -07:00
Don
3625c50f44 Use binary directory for symbol exports generation
Currently the CMake files generate symbols into the source tree when they should go into the build tree.
2018-03-16 12:15:30 -07:00
Brent Cook
3fb9e63b90 bump base requirement to Windows Vista, use builtin inet_ntop/pton 2018-03-14 07:29:04 -05:00
kinichiro
413956f494 Add bio_meth.c 2018-02-26 22:49:46 +09:00
kinichiro
f4d2b810cb Remove rsa/rsa_ssl.c 2017-09-01 23:37:09 +09:00
Brent Cook
94e4224f5f don't build empty object files 2017-08-12 10:05:30 -05:00
d3x0r
a4d80ca56a Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
Fix merge conflicts from GNUInstallDirs merge to master.
2017-07-06 23:11:11 -07:00
d3x0r
2557dd7439 Add option LIBRESSL_SKIP_INSTALL
Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled.  defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules.
This is useful if another project includes and links to this statically.
I chose to add a prefix to avoid potential name collision because the options are cached globally.

If the installation is skipped, maybe it should also disable building apps?  I didn't do that.
2017-07-06 02:09:44 -07:00