opensc/src/libopensc
Doug Engert 93bdc8c826 Support OpenSSL when deprecated defines have been removed Fixes 1755
sc-ossl-compat.h will check if OpenSSL has been built with or without some
deprecated defines. OpenSSL will provide defines for some of these if
built to still support depreacted routines but not if built with
"no-depracted". .

This commit will define some of the needed defines if ther are not
defined by OpenSSL. Thus if a distro builds OpenSSL with "no-depracted"
it can still be used.

 On branch fix-1755
 Changes to be committed:
	modified:   src/libopensc/sc-ossl-compat.h
2019-07-31 20:12:22 +02:00
..
Makefile.am fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
Makefile.mak Address review comments and further reduce LOC 2019-05-02 11:51:02 +03:00
apdu.c don't force the max buffer size with Le=0 2019-01-15 07:31:20 +01:00
asn1.c fixed memory leak 2019-07-26 15:23:02 +02:00
asn1.h fixed memory leak 2019-07-26 15:23:02 +02:00
authentic.h libopensc: authentIC: use macros; use common CPLC data type 2011-05-13 12:57:18 +00:00
aux-data.c CI: integrate clang-tidy (disabled) 2019-05-21 19:34:46 +02:00
aux-data.h fix typos 2018-04-15 09:34:45 +02:00
base64.c make casting explicit 2015-11-01 13:18:39 +01:00
card-akis.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-asepcos.c fixed use of garbage value 2019-02-14 09:22:23 +01:00
card-atrust-acos.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
card-authentic.c fixed use of uninitialized values 2019-02-14 09:22:23 +01:00
card-belpic.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-cac-common.c Restore minimal CAC1 driver for legacy cards (#1502) 2018-10-30 17:27:28 +01:00
card-cac-common.h Restore minimal CAC1 driver for legacy cards (#1502) 2018-10-30 17:27:28 +01:00
card-cac.c cac: Avoid signed/unsigned casting reported by coverity 2019-04-23 14:49:45 +02:00
card-cac1.c fixed Null pointer argument in call to memcpy 2019-02-14 09:22:23 +01:00
card-cardos.c Remove postecert and infocamere support because no longer issued (#1584) 2019-01-30 22:01:24 +01:00
card-coolkey.c replaced SC_FUNC_RETURN with LOG_FUNC_RETURN 2018-12-06 09:26:42 +01:00
card-default.c honour HAVE_CONFIG_H 2015-04-22 23:55:33 +02:00
card-dnie.c removed untested use of SC_SEC_OPERATION_AUTHENTICATE 2019-03-13 21:17:54 +01:00
card-entersafe.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
card-epass2003.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
card-esteid2018.c Address review comments 2019-05-02 11:51:02 +03:00
card-flex.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-gemsafeV1.c gemsafeV1: remove redundant match card call to allow for opensc.conf match 2019-06-05 13:43:52 +02:00
card-gids.c fix overlapping memcpy 2019-03-18 23:33:24 +01:00
card-gids.h First support for GIDS card 2016-02-19 00:12:16 +01:00
card-gpk.c fixed use of garbage value 2019-02-14 09:22:23 +01:00
card-iasecc.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
card-incrypto34.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-isoApplet.c allow chaining for pkcs15-init --store-private-key EC keys 2019-07-24 01:25:49 +02:00
card-itacns.c removed untested use of SC_SEC_OPERATION_AUTHENTICATE 2019-03-13 21:17:54 +01:00
card-jcop.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-jpki.c Mark driver-specific global sc_atr_table structures as const 2018-08-22 22:50:30 +02:00
card-masktech.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-mcrd.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
card-miocos.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-muscle.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-myeid.c myeid: fix EC key upload, and avoid data copying 2019-06-17 15:19:08 +02:00
card-npa.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
card-npa.h allow compilation with --disable-shared 2018-11-01 00:17:22 +01:00
card-oberthur.c avoid allocation of 0 bytes 2019-02-14 09:22:23 +01:00
card-openpgp.c card-openpgp: Fix typo in the EC Key size 2019-06-17 12:49:11 +02:00
card-piv.c fixed https://github.com/OpenSC/OpenSC/issues/1581 2019-01-30 21:57:59 +01:00
card-rtecp.c Rutoken Lite (#1728) 2019-07-22 13:05:32 +02:00
card-rutoken.c card-rtecp,card-rutoken: Set specific card types 2019-07-02 12:13:57 +02:00
card-sc-hsm.c sc-hsm: Check the operation first 2019-06-17 12:49:11 +02:00
card-sc-hsm.h sc-hsm: require T=1 connection 2019-03-05 13:47:45 +01:00
card-setcos.c fixed unused assignments 2019-02-14 09:22:23 +01:00
card-starcos.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
card-tcos.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-westcos.c fixed memory leaks during card initialization 2019-01-30 21:57:59 +01:00
card.c Change u8 *data to const because sc_apdu unsigned char *data is const 2019-04-03 22:15:54 +02:00
cardctl.h CI: integrate clang-tidy (disabled) 2019-05-21 19:34:46 +02:00
cards.h Rutoken Lite (#1728) 2019-07-22 13:05:32 +02:00
ccid-types.h Added support for PIN commands via escape commands 2017-03-20 21:28:48 +01:00
compression.c fixed sc_decompress_zlib_alloc return code 2019-02-14 09:22:23 +01:00
compression.h First support for GIDS card 2016-02-19 00:12:16 +01:00
ctbcs.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
ctbcs.h fix typos 2018-04-15 09:34:45 +02:00
ctx.c Fix using environmental variables on WIN32. 2019-07-22 13:32:46 +02:00
cwa-dnie.c fix typos 2018-04-15 09:34:45 +02:00
cwa-dnie.h Add dnie_free_apdu_buffers into dnie_sm_free_wrapped_apdu. 2017-04-20 11:04:02 +02:00
cwa14890.c Always allocate resp buffer in DNIe. 2018-05-23 14:22:28 +02:00
cwa14890.h fix typos 2018-04-15 09:34:45 +02:00
dir.c Make sure card's strings are Nul terminated 2019-03-13 21:17:00 +01:00
ef-atr.c Fix log messages format and parameter issues flagged by GCC 2017-03-27 11:05:16 +02:00
ef-gdo.c fixed out of bounds reads 2018-08-14 15:50:13 +02:00
errors.c fixed typo 2018-08-23 10:14:25 +02:00
errors.h Added bounds checking to sc_simpletlv_read_tag() 2018-08-14 15:50:13 +02:00
gp.c Reuse gp_select_aid 2018-08-23 20:37:38 +02:00
gp.h Reuse gp_select_aid 2018-08-23 20:37:38 +02:00
iasecc-sdo.c fixed dead assignment 2019-02-14 09:22:23 +01:00
iasecc-sdo.h fix typos 2018-04-15 09:34:45 +02:00
iasecc-sm.c refactored sc_get_challenge 2018-05-23 14:20:28 +02:00
iasecc.h removed unused reference to sm_iasecc_rsa_generate 2013-09-29 18:52:38 +02:00
internal-winscard.h fixed compilation with XCode 10 2018-10-24 10:34:43 +02:00
internal.h OpenPGP Card v3 ECC support (#1506) 2019-01-30 22:00:36 +01:00
iso7816.c iso7816_read_binary: do not assume that 6282 is returned with data 2019-04-01 12:51:00 +02:00
iso7816.h parse Extended Length Information in EF.ATR/INFO 2016-07-19 14:30:38 +02:00
itacns.h New card driver: Italian CNS/CIE (eID) 2010-08-16 00:56:27 +00:00
jpki.h login state preservation for JPKI card 2017-02-06 14:22:14 +01:00
libopensc.exports fixed exports 2019-07-26 15:23:02 +02:00
log.c tools: fixed colors if -v is specified 2019-01-15 07:30:46 +01:00
log.h replace SC_FUNC_CALLED with LOG_FUNC_CALLED 2018-12-06 09:26:42 +01:00
muscle-filesystem.c fixed possible NULL pointer dereference 2019-02-14 09:22:23 +01:00
muscle-filesystem.h
muscle.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
muscle.h use size_t for a length instead of int 2015-10-14 22:56:53 +02:00
opensc.dll.manifest Windows: Added support for notifications 2017-08-02 19:03:16 +02:00
opensc.h opensc.h: Add missing raw ecdh algorithm 2019-06-17 12:49:11 +02:00
p15card-helper.c replaced SC_FUNC_RETURN with LOG_FUNC_RETURN 2018-12-06 09:26:42 +01:00
p15card-helper.h
pace.h Added (external) card driver for German ID card 2017-03-20 21:28:48 +01:00
padding.c padding: Do not set wrong flags if the raw capability is not available 2018-12-18 14:50:08 +01:00
pkcs15-actalis.c fixed 337490 Unchecked return value 2019-05-14 14:50:17 +02:00
pkcs15-algo.c don't debug pointers 2018-12-06 09:26:42 +01:00
pkcs15-atrust-acos.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-cac.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-cache.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-cert.c opensc.conf: Configure handling of private_certificate 2019-03-13 21:18:57 +01:00
pkcs15-coolkey.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-data.c Make sure card's strings are Nul terminated 2019-03-13 21:17:00 +01:00
pkcs15-din-66291.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-dnie.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-esinit.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-esteid.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-esteid2018.c Address review comments 2019-05-02 11:51:02 +03:00
pkcs15-gemsafeGPK.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-gemsafeV1.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-gids.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-iasecc.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-itacns.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-jpki.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-oberthur.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-openpgp.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-pin.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
pkcs15-piv.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
pkcs15-prkey.c fixed error handling 2019-03-13 21:17:00 +01:00
pkcs15-pteid.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-pubkey.c fixed issues reported by clang-analyzer 2019-05-21 19:34:46 +02:00
pkcs15-sc-hsm.c sc-hsm: Add missing secp384r1 curve parameter 2019-06-14 14:29:58 +02:00
pkcs15-sec.c use consistent parameters 2019-07-26 15:23:02 +02:00
pkcs15-skey.c Code cleanup and minor corrections according to review. pkcs15-lib: Extractable keys are now marked as native. Check return value of check_key_compatibility in more explicit way to avoid misunderstandings. 2018-10-31 10:36:41 +02:00
pkcs15-starcert.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-syn.c Address review comments and further reduce LOC 2019-05-02 11:51:02 +03:00
pkcs15-syn.h EstEID 2018+ driver 2019-05-02 11:47:31 +03:00
pkcs15-tccardos.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-tcos.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15-westcos.c Remove unused sc_pkcs15emu_opt_t structure 2019-05-02 10:08:46 +02:00
pkcs15.c fixed memory leak 2019-07-26 15:23:02 +02:00
pkcs15.h use consistent parameters 2019-07-26 15:23:02 +02:00
reader-cryptotokenkit.m always log APDUs with SC_LOG_DEBUG_NORMAL 2018-12-06 09:26:42 +01:00
reader-ctapi.c always log APDUs with SC_LOG_DEBUG_NORMAL 2018-12-06 09:26:42 +01:00
reader-openct.c always log APDUs with SC_LOG_DEBUG_NORMAL 2018-12-06 09:26:42 +01:00
reader-pcsc.c Remove readers when smart card service stops 2019-03-07 21:51:02 +02:00
reader-tr03119.c replace sc_debug with sc_log 2018-12-06 09:26:42 +01:00
reader-tr03119.h EAC: Clearify naming of functions and data 2018-02-20 22:16:51 +01:00
sc-ossl-compat.h Support OpenSSL when deprecated defines have been removed Fixes 1755 2019-07-31 20:12:22 +02:00
sc.c allow single character strings with sc_hex_to_bin 2019-05-31 14:15:37 +02:00
sec.c replace sc_debug with sc_log 2018-12-06 09:26:42 +01:00
simpletlv.c use const qualifier for sc_simpletlv_read/put_tag 2019-01-30 21:57:59 +01:00
simpletlv.h use const qualifier for sc_simpletlv_read/put_tag 2019-01-30 21:57:59 +01:00
sm.c Add ECC support and solve wrong Length status codes with SM card 2017-10-16 14:57:52 +02:00
sm.h fixed compilation without OpenSSL 2018-11-13 15:50:17 +01:00
types.h implemented sc_format_apdu_ex 2019-03-05 13:54:13 +01:00