platform/upstream/freerdp.git
6 years agocore/nla: use RedirectionPassword if set in settings
KOVACS Krisztian [Wed, 6 Dec 2017 15:32:56 +0000 (16:32 +0100)]
core/nla: use RedirectionPassword if set in settings

Previously, the code prompted for the password even if a RedirectionPassword
was provided.

With this change the prompt is only shown if both settins->Password and
settings->RedirectionPassword is absent.

6 years agowinpr/sspi: add possibility to set auth identity with Unicode password
KOVACS Krisztian [Wed, 6 Dec 2017 15:30:57 +0000 (16:30 +0100)]
winpr/sspi: add possibility to set auth identity with Unicode password

To be able to avoid password conversion if the password is already unicode
this change adds the sspi_SetAuthIdentityWithUnicodePassword() function
that is identical to sspi_SetAuthIdentity() except that the password is
used without further conversions in the Unicode identity.

6 years agoRevert "core/connection: use redirection password when reconnecting"
KOVACS Krisztian [Wed, 6 Dec 2017 13:58:34 +0000 (14:58 +0100)]
Revert "core/connection: use redirection password when reconnecting"

This reverts commit 70c65e70d181a95ee5933df1703f08ac9e489374.

6 years agoMerge pull request #4297 from akallabeth/cmd_parser_hardening
Martin Fleisz [Tue, 5 Dec 2017 13:40:03 +0000 (14:40 +0100)]
Merge pull request #4297 from akallabeth/cmd_parser_hardening

Fix #4296: Hardened command line post filter.

6 years agoMerge pull request #4294 from akallabeth/shadow_fix
Martin Fleisz [Tue, 5 Dec 2017 10:19:59 +0000 (11:19 +0100)]
Merge pull request #4294 from akallabeth/shadow_fix

Shadow server crash fixes

6 years agoMerge pull request #4288 from hardening/disp_channel
Martin Fleisz [Tue, 5 Dec 2017 09:56:14 +0000 (10:56 +0100)]
Merge pull request #4288 from hardening/disp_channel

Disp channel changes and improvements

6 years agoMerge pull request #4298 from myfreeweb/libressl-fix-fips
Bernhard Miklautz [Sat, 2 Dec 2017 15:09:43 +0000 (16:09 +0100)]
Merge pull request #4298 from myfreeweb/libressl-fix-fips

Fix LibreSSL build

6 years agoFix LibreSSL build
Greg V [Fri, 1 Dec 2017 15:34:48 +0000 (18:34 +0300)]
Fix LibreSSL build

LibreSSL does not support FIPS mode.

6 years agodrdynvc: fix invalid check
David Fort [Tue, 28 Nov 2017 14:32:15 +0000 (15:32 +0100)]
drdynvc: fix invalid check

There were a copy'n paste error in the check of a malloc.

6 years agodisplay control channel: add a callback called when we receive capabilities
David Fort [Fri, 24 Nov 2017 13:53:39 +0000 (14:53 +0100)]
display control channel: add a callback called when we receive capabilities

We need a signal to know when the channel is ready and it's safe to send the
monitor layouts.

6 years agoFix #4296: Hardened command line post filter.
Armin Novak [Thu, 30 Nov 2017 15:56:45 +0000 (16:56 +0100)]
Fix #4296: Hardened command line post filter.

6 years agoMerge pull request #4275 from ondrejholy/big-endian-fixes
akallabeth [Fri, 1 Dec 2017 10:24:50 +0000 (11:24 +0100)]
Merge pull request #4275 from ondrejholy/big-endian-fixes

Big endian fixes

6 years agoMerge pull request #4292 from daixj-shterm/master
David Fort [Wed, 29 Nov 2017 14:28:37 +0000 (15:28 +0100)]
Merge pull request #4292 from daixj-shterm/master

Fix #4291: xfreerdp segfault when connecting freerdp-shadow-cli

6 years agoReset errno in X11 monitor enumeration
Armin Novak [Wed, 29 Nov 2017 13:17:27 +0000 (14:17 +0100)]
Reset errno in X11 monitor enumeration

XOpenDisplay may succeed but set errno,
reset at the end of the function.

6 years agoFixed /monitors argument checks.
Armin Novak [Wed, 29 Nov 2017 13:13:50 +0000 (14:13 +0100)]
Fixed /monitors argument checks.

6 years agoFix #4291: xfreerdp segfault when connecting freerdp-shadow-cli
daixj [Wed, 29 Nov 2017 10:12:40 +0000 (05:12 -0500)]
Fix #4291: xfreerdp segfault when connecting freerdp-shadow-cli

6 years agoxfreerdp: when available use xrandr to get display infos
David Fort [Fri, 24 Nov 2017 13:06:35 +0000 (14:06 +0100)]
xfreerdp: when available use xrandr to get display infos

6 years agoMerge pull request #4287 from bmiklautz/dev2
akallabeth [Tue, 28 Nov 2017 15:36:32 +0000 (16:36 +0100)]
Merge pull request #4287 from bmiklautz/dev2

2.0.0-dev2 - start rc2 development cycle

6 years agoclient/android: increase version
Bernhard Miklautz [Tue, 28 Nov 2017 14:33:03 +0000 (15:33 +0100)]
client/android: increase version

6 years ago2.0.0-dev2 - start rc2 development cycle
Bernhard Miklautz [Tue, 28 Nov 2017 14:29:17 +0000 (15:29 +0100)]
2.0.0-dev2 - start rc2 development cycle

6 years agoMerge pull request #4286 from bmiklautz/rc1 2.0.0-rc1
akallabeth [Tue, 28 Nov 2017 14:26:30 +0000 (15:26 +0100)]
Merge pull request #4286 from bmiklautz/rc1

Version 2.0.0-rc1

6 years agoVersion 2.0.0-rc1
Bernhard Miklautz [Tue, 28 Nov 2017 14:03:09 +0000 (15:03 +0100)]
Version 2.0.0-rc1

6 years agoMerge pull request #4282 from akallabeth/force_ipv6
David Fort [Tue, 28 Nov 2017 09:48:53 +0000 (10:48 +0100)]
Merge pull request #4282 from akallabeth/force_ipv6

Fix #4281: Added option to prefer IPv6 over IPv4

6 years agoMerge pull request #4284 from akallabeth/channel_count_fix_v2
Bernhard Miklautz [Tue, 28 Nov 2017 09:47:27 +0000 (10:47 +0100)]
Merge pull request #4284 from akallabeth/channel_count_fix_v2

Fixed channel count exceed checks

6 years agoFixed channel count exceed checks
Armin Novak [Tue, 28 Nov 2017 08:40:04 +0000 (09:40 +0100)]
Fixed channel count exceed checks

The check aborted on CHANNEL_MAX_COUNT - 1 instead
of correctly at CHANNEL_MAX_COUNT

6 years agoMerge pull request #4283 from bmiklautz/kfreebsd
akallabeth [Tue, 28 Nov 2017 08:19:58 +0000 (09:19 +0100)]
Merge pull request #4283 from bmiklautz/kfreebsd

fix build: GNU/kFreeBSD

6 years agoMerge pull request #4272 from akallabeth/static_channel_checks
David Fort [Mon, 27 Nov 2017 21:46:23 +0000 (22:46 +0100)]
Merge pull request #4272 from akallabeth/static_channel_checks

Fix #3378: 31 static channels are supported.

6 years agofix/build: handle GNU/kFreeBSD like other BSDs
Bernhard Miklautz [Mon, 23 Oct 2017 08:32:51 +0000 (10:32 +0200)]
fix/build: handle GNU/kFreeBSD like other BSDs

Based on a patch for Debian from
Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

6 years agofix/build: GNU/kFreeBSD is not FreeBSD
Mike Gabriel [Mon, 23 Oct 2017 08:31:55 +0000 (10:31 +0200)]
fix/build: GNU/kFreeBSD is not FreeBSD

6 years agoMerge pull request #3991 from akallabeth/stream_string_helper
Bernhard Miklautz [Mon, 27 Nov 2017 10:49:46 +0000 (11:49 +0100)]
Merge pull request #3991 from akallabeth/stream_string_helper

Stream convenience functions to read/write strings.

6 years agoMerge pull request #4261 from akallabeth/doc_ssl_store
Bernhard Miklautz [Mon, 27 Nov 2017 10:46:54 +0000 (11:46 +0100)]
Merge pull request #4261 from akallabeth/doc_ssl_store

Fix #3890: Point to OpenSSL doc for private CA

6 years agoFix #4281: Added option to prefer IPv6 over IPv4
Armin Novak [Mon, 27 Nov 2017 09:54:49 +0000 (10:54 +0100)]
Fix #4281: Added option to prefer IPv6 over IPv4

6 years agoMerge pull request #4220 from akallabeth/version_from_file_or_tag
Bernhard Miklautz [Mon, 27 Nov 2017 09:57:26 +0000 (10:57 +0100)]
Merge pull request #4220 from akallabeth/version_from_file_or_tag

Extract build version from file or git tag.

6 years agoMerge pull request #4273 from akallabeth/issue_template
Bernhard Miklautz [Mon, 27 Nov 2017 09:41:06 +0000 (10:41 +0100)]
Merge pull request #4273 from akallabeth/issue_template

Added issue template.

6 years agoMerge pull request #4270 from akallabeth/mac_clipboard_fix
Bernhard Miklautz [Mon, 27 Nov 2017 09:40:44 +0000 (10:40 +0100)]
Merge pull request #4270 from akallabeth/mac_clipboard_fix

Fixed #1536: Clipboard data size.

6 years agoMerge pull request #4280 from akallabeth/snd_parser_fix
Bernhard Miklautz [Mon, 27 Nov 2017 09:06:30 +0000 (10:06 +0100)]
Merge pull request #4280 from akallabeth/snd_parser_fix

Fix #4278: Fix nasty range check bug

6 years agoAdded mailing list address.
Armin Novak [Mon, 27 Nov 2017 09:03:49 +0000 (10:03 +0100)]
Added mailing list address.

6 years agoAdded reminder to delete template before submit
Armin Novak [Mon, 27 Nov 2017 08:06:31 +0000 (09:06 +0100)]
Added reminder to delete template before submit

6 years agoAdded pull request template.
Armin Novak [Thu, 23 Nov 2017 15:44:00 +0000 (16:44 +0100)]
Added pull request template.

6 years agoAdded issue template.
Armin Novak [Thu, 23 Nov 2017 15:34:17 +0000 (16:34 +0100)]
Added issue template.

6 years agoFix #4278: Fix nasty range check bug
Armin Novak [Sun, 26 Nov 2017 13:59:37 +0000 (14:59 +0100)]
Fix #4278: Fix nasty range check bug

6 years agoMerge pull request #4229 from akallabeth/from_stdin_args
David Fort [Fri, 24 Nov 2017 14:51:46 +0000 (15:51 +0100)]
Merge pull request #4229 from akallabeth/from_stdin_args

Option to force password prompt before connection

6 years agoMerge pull request #4268 from akallabeth/big_endian_fixes
Bernhard Miklautz [Fri, 24 Nov 2017 14:44:15 +0000 (15:44 +0100)]
Merge pull request #4268 from akallabeth/big_endian_fixes

Fix ZGfx decoder on big endian

6 years agoMerge pull request #4271 from akallabeth/surface_c
David Fort [Fri, 24 Nov 2017 10:14:17 +0000 (11:14 +0100)]
Merge pull request #4271 from akallabeth/surface_c

Fixed return value check for callbacks.

6 years agoMerge pull request #4274 from hardening/clipboard_checks
akallabeth [Fri, 24 Nov 2017 09:43:53 +0000 (10:43 +0100)]
Merge pull request #4274 from hardening/clipboard_checks

clipboard: add some checks for the message

6 years agoclient/common: Fix two memory leaks in RDP file processing
Ondrej Holy [Fri, 24 Nov 2017 09:24:47 +0000 (10:24 +0100)]
client/common: Fix two memory leaks in RDP file processing

FALSE is returned immediately in case of parsing error and thus buffer
copy is leaked. Let's release the memory properly.

6 years agowinpr/nt: Fix wide char string on big endian
Ondrej Holy [Thu, 23 Nov 2017 18:51:57 +0000 (19:51 +0100)]
winpr/nt: Fix wide char string on big endian

Wide char strings are always little endian encoded and thus
Data_Write_UINT16 has to be used in _RtlAnsiStringToUnicodeString.
It fixes TestIoDevice on big endian machines among others.

https://github.com/FreeRDP/FreeRDP/issues/4231

6 years agoclient/common: Fix RDP file processing on big endian
Ondrej Holy [Thu, 23 Nov 2017 17:22:48 +0000 (18:22 +0100)]
client/common: Fix RDP file processing on big endian

TestClientRdpFile fails on big endian machines due to some bug in
unicode processing. Let's drop all the unicode functions and convert
unicode input into ascii as soon as possible. This significantly
simplify RDP file processing and also fixes TestClientRdpFile on
big endian machines.

https://github.com/FreeRDP/FreeRDP/issues/4231

6 years agoclipboard: add some checks for the message
David Fort [Thu, 23 Nov 2017 16:37:55 +0000 (17:37 +0100)]
clipboard: add some checks for the message

6 years agoFix #3378: 31 static channels are supported.
Armin Novak [Thu, 23 Nov 2017 15:18:44 +0000 (16:18 +0100)]
Fix #3378: 31 static channels are supported.

6 years agoMerge pull request #4255 from akallabeth/rfx_fix
David Fort [Thu, 23 Nov 2017 14:35:52 +0000 (15:35 +0100)]
Merge pull request #4255 from akallabeth/rfx_fix

Fix #4253: Rfx decode tile width.

6 years agoFixed return value check for callbacks.
Armin Novak [Thu, 23 Nov 2017 14:10:42 +0000 (15:10 +0100)]
Fixed return value check for callbacks.

6 years agoFixed #1536: Clipboard data size.
Armin Novak [Thu, 23 Nov 2017 11:53:39 +0000 (12:53 +0100)]
Fixed #1536: Clipboard data size.

6 years agoMerge pull request #4267 from ondrejholy/autofips
akallabeth [Thu, 23 Nov 2017 09:49:15 +0000 (10:49 +0100)]
Merge pull request #4267 from ondrejholy/autofips

Enable FIPS mode automatically

6 years agoRemove unused variable
Ondrej Holy [Wed, 22 Nov 2017 18:41:35 +0000 (19:41 +0100)]
Remove unused variable

Unused variable was added together with FIPS mode support, let's remove it.

6 years agoEnable FIPS mode automatically
Ondrej Holy [Wed, 22 Nov 2017 18:25:32 +0000 (19:25 +0100)]
Enable FIPS mode automatically

FreeRDP aborts if OpenSSL operates in FIPS mode and +fipsmode is not
manually specified. Let's prevent the abortion and enable the necessary
options in that case automatically.

6 years agoFixed endianess issues of zgfx decoder.
Armin Novak [Tue, 21 Nov 2017 16:32:54 +0000 (17:32 +0100)]
Fixed endianess issues of zgfx decoder.

6 years agoMerge pull request #4251 from akallabeth/openssl_warn_fixes
David Fort [Thu, 23 Nov 2017 08:22:02 +0000 (09:22 +0100)]
Merge pull request #4251 from akallabeth/openssl_warn_fixes

Fix #4247: warnings introduced with #3904

6 years agoMerge pull request #4244 from akallabeth/drivestoredirect
Martin Fleisz [Wed, 22 Nov 2017 11:23:04 +0000 (12:23 +0100)]
Merge pull request #4244 from akallabeth/drivestoredirect

Fix parsing of drivestoredirect (#3267)

6 years agoMerge pull request #4258 from akallabeth/kbd_parse_fix
Martin Fleisz [Wed, 22 Nov 2017 11:06:55 +0000 (12:06 +0100)]
Merge pull request #4258 from akallabeth/kbd_parse_fix

Fix #4257: Proper error checks for /kbd argument

6 years agoExtract version from file or git tag.
Armin Novak [Wed, 8 Nov 2017 13:22:38 +0000 (14:22 +0100)]
Extract version from file or git tag.

6 years agoFix #4257: Proper error checks for /kbd argument
Armin Novak [Tue, 21 Nov 2017 07:46:29 +0000 (08:46 +0100)]
Fix #4257: Proper error checks for /kbd argument

6 years agoMerge pull request #4263 from akallabeth/rdp_parser_mem_corruption_fix
Martin Fleisz [Wed, 22 Nov 2017 08:24:16 +0000 (09:24 +0100)]
Merge pull request #4263 from akallabeth/rdp_parser_mem_corruption_fix

Fixed #4249: Corruption due to recursive parser

6 years agoTesting argument to end with file extension.
akallabeth [Tue, 21 Nov 2017 18:10:28 +0000 (19:10 +0100)]
Testing argument to end with file extension.

6 years agoMerge pull request #4264 from cedrozor/upstream-master
Martin Fleisz [Tue, 21 Nov 2017 16:25:25 +0000 (17:25 +0100)]
Merge pull request #4264 from cedrozor/upstream-master

Fixed NLA for Negotiate and NTLM authentication

6 years agoFixed NLA for Negotiate and NTLM authentication (regression due to the recent additio...
cedrozor [Tue, 21 Nov 2017 15:36:47 +0000 (16:36 +0100)]
Fixed NLA for Negotiate and NTLM authentication (regression due to the recent addition of kerberos support)

6 years agoFixed #4249: Corruption due to recursive parser
Armin Novak [Tue, 21 Nov 2017 12:47:28 +0000 (13:47 +0100)]
Fixed #4249: Corruption due to recursive parser

6 years agoFix #3890: Point to OpenSSL doc for private CA
Armin Novak [Tue, 21 Nov 2017 10:47:33 +0000 (11:47 +0100)]
Fix #3890: Point to OpenSSL doc for private CA

6 years agoDisabled ceritficate signature check.
Armin Novak [Tue, 21 Nov 2017 10:37:42 +0000 (11:37 +0100)]
Disabled ceritficate signature check.

6 years agoFixed X11 stride on screen update.
Armin Novak [Mon, 20 Nov 2017 13:02:41 +0000 (14:02 +0100)]
Fixed X11 stride on screen update.

6 years agoFix #4101: Rfx decode tile width.
Armin Novak [Mon, 20 Nov 2017 12:42:40 +0000 (13:42 +0100)]
Fix #4101: Rfx decode tile width.

6 years agoMerge pull request #4252 from akallabeth/mac_kbd_sync
Martin Fleisz [Tue, 21 Nov 2017 10:02:25 +0000 (11:02 +0100)]
Merge pull request #4252 from akallabeth/mac_kbd_sync

Mac kbd sync

6 years agoMerge pull request #4256 from akallabeth/15bpp_fix
Martin Fleisz [Tue, 21 Nov 2017 09:55:18 +0000 (10:55 +0100)]
Merge pull request #4256 from akallabeth/15bpp_fix

Fix #4111: 15bpp color handling for brush.

6 years agoFix parsing of drivestoredirect (#3267)
Armin Novak [Fri, 17 Nov 2017 13:03:57 +0000 (14:03 +0100)]
Fix parsing of drivestoredirect (#3267)

6 years agoMerge pull request #4254 from akallabeth/doc_update
Bernhard Miklautz [Mon, 20 Nov 2017 15:30:54 +0000 (16:30 +0100)]
Merge pull request #4254 from akallabeth/doc_update

Fix #3509: Added Ctrl+Alt+Enter description

6 years agoFix #4111: 15bpp color handling for brush.
Armin Novak [Mon, 20 Nov 2017 14:00:09 +0000 (15:00 +0100)]
Fix #4111: 15bpp color handling for brush.

6 years agoMerge pull request #4253 from akallabeth/win_return
Bernhard Miklautz [Mon, 20 Nov 2017 13:11:15 +0000 (14:11 +0100)]
Merge pull request #4253 from akallabeth/win_return

Win return code

6 years agoFix #3509: Added Ctrl+Alt+Enter description
Armin Novak [Mon, 20 Nov 2017 12:21:50 +0000 (13:21 +0100)]
Fix #3509: Added Ctrl+Alt+Enter description

6 years agoFix #3211: Return freerdp error from main.
Armin Novak [Mon, 20 Nov 2017 12:16:49 +0000 (13:16 +0100)]
Fix #3211: Return freerdp error from main.

6 years agoFixed keyboard state sync.
Armin Novak [Mon, 20 Nov 2017 10:46:32 +0000 (11:46 +0100)]
Fixed keyboard state sync.

6 years agoRemoved linux specific include.
Armin Novak [Mon, 20 Nov 2017 10:46:09 +0000 (11:46 +0100)]
Removed linux specific include.

6 years agoFix #4247: warnings introduced with #3904
Armin Novak [Mon, 20 Nov 2017 09:11:35 +0000 (10:11 +0100)]
Fix #4247: warnings introduced with #3904

6 years agoMerge pull request #4243 from akallabeth/man_fix
David Fort [Fri, 17 Nov 2017 14:23:24 +0000 (15:23 +0100)]
Merge pull request #4243 from akallabeth/man_fix

Better description for drive redirection (Fix #3513)

6 years agoBetter description for drive redirection (Fix #3513)
Armin Novak [Fri, 17 Nov 2017 12:44:56 +0000 (13:44 +0100)]
Better description for drive redirection (Fix #3513)

6 years agoMerge pull request #3904 from bjcollins/master
akallabeth [Fri, 17 Nov 2017 12:31:43 +0000 (13:31 +0100)]
Merge pull request #3904 from bjcollins/master

FIPS Mode support for xfreerdp

6 years agoMerge pull request #4236 from akallabeth/scan_fix_remastered
Martin Fleisz [Fri, 17 Nov 2017 12:02:46 +0000 (13:02 +0100)]
Merge pull request #4236 from akallabeth/scan_fix_remastered

Scanbuild warning fixes

6 years agoFixed formatting.
Armin Novak [Fri, 17 Nov 2017 11:41:18 +0000 (12:41 +0100)]
Fixed formatting.

6 years agoMake the new winpr_Digest*MD5_Allow_FIPS functions more generic to no longer be MD5...
Brent Collins [Wed, 12 Apr 2017 19:03:20 +0000 (14:03 -0500)]
Make the new winpr_Digest*MD5_Allow_FIPS functions more generic to no longer be MD5 specific in design. This way the FIPS override
could easily be extended to more digests in the future. For now, an attempt to use these functions with anything other than MD5 will
not work.

6 years agoInitialize SSL directly in the sample server, instead of relying on the SSL initializ...
Brent Collins [Tue, 11 Apr 2017 17:04:25 +0000 (12:04 -0500)]
Initialize SSL directly in the sample server, instead of relying on the SSL initialize logic
in the tls code as it was removed in a previous patch due to its redundancy.

6 years agoFix checks for openssl version numbers around fips changes, they were using an incorr...
Brent Collins [Tue, 11 Apr 2017 17:02:17 +0000 (12:02 -0500)]
Fix checks for openssl version numbers around fips changes, they were using an incorrect version matching 1.1.0 and not 1.0.1
Simplify the logic to enable openssl fips mode

6 years agoDo not initialize SSL in freerdp_context_new, it is too early to detect the fips...
Brent Collins [Tue, 11 Apr 2017 16:57:39 +0000 (11:57 -0500)]
Do not initialize SSL in freerdp_context_new, it is too early to detect the fips enabled flag
and is redundant since it is initialized later before actually using SSL.

6 years agoFix the return values of the winpr_Digest_Init functions which were accidentally...
Brent Collins [Mon, 10 Apr 2017 19:20:50 +0000 (14:20 -0500)]
Fix the return values of the winpr_Digest_Init functions which were accidentally removed
during rework in previous checkin.

6 years agoMove the disabling nla and setting the fips encryption mode based on fips
Brent Collins [Mon, 10 Apr 2017 19:19:43 +0000 (14:19 -0500)]
Move the disabling nla and setting the fips encryption mode based on fips
mode to happen after argument parsing to ensure it always enforced.

6 years agoFix logic error in reworked MD5 call for establishing keys, and fix some minor whites...
Brent Collins [Mon, 10 Apr 2017 19:03:39 +0000 (14:03 -0500)]
Fix logic error in reworked MD5 call for establishing keys, and fix some minor whitespace issues.

6 years agoFix variable definition placement to adhere to older C standard.
Brent Collins [Mon, 10 Apr 2017 18:33:37 +0000 (13:33 -0500)]
Fix variable definition placement to adhere to older C standard.

6 years agoFIPS_mode() and FIPS_mode_set() does not exist in OpenSSL versions before 1.0.1
Brent Collins [Mon, 10 Apr 2017 18:19:59 +0000 (13:19 -0500)]
FIPS_mode() and FIPS_mode_set() does not exist in OpenSSL versions before 1.0.1

6 years agoChange initialization of EVP_CIPHER_CTX to use API function instead of trying to...
Brent Collins [Mon, 10 Apr 2017 18:06:04 +0000 (13:06 -0500)]
Change initialization of EVP_CIPHER_CTX to use API function instead of trying to calloc().
Fix some warnings noted from build output.

6 years agoWorkaround for missing EVP_CIPH_FLAG_FIPS_NON_ALLOW flag in openssl 1.0.0.
Brent Collins [Mon, 10 Apr 2017 16:08:40 +0000 (11:08 -0500)]
Workaround for missing EVP_CIPH_FLAG_FIPS_NON_ALLOW flag in openssl 1.0.0.

6 years agoAdd new command-line option to force xfreerdp into a fips compliant mode.
Brent Collins [Fri, 7 Apr 2017 21:54:08 +0000 (16:54 -0500)]
Add new command-line option to force xfreerdp into a fips compliant mode.

This option will ensure that NLA is disabled(since NTLM uses weak crypto algorithms), FIPS
encryption is enabled, and ensure fips mode is enabled for openssl.

Selectively override specific uses of MD5/RC4 with new API calls specifically tailored to override FIPS.

Add comments on why overriding the use of these algorithms under FIPS is acceptable for the locations where overrides happen.

Remove check of server proprietary certificate which was already being ignore to avoid use of MD5.

Initialize winpr openssl earlier to ensure fips mode is set before starting using any crypto algorithms.

6 years agoMerge pull request #4242 from ccpp/afreerdp_versioncode_11
David Fort [Fri, 17 Nov 2017 08:36:50 +0000 (09:36 +0100)]
Merge pull request #4242 from ccpp/afreerdp_versioncode_11

Increase APK versionCode for aFreeRDP 2.0-rc1