Hi,

On an older server I had freerdp-1.1.0_beta1_p20150312 workng fine with 
Guacamole.

However, I'm in the process of moving to a more recent server, and that same 
freerdp version does not compile properly.

Scanning dependencies of target winpr-sspi
[ 32%] Building C object 
winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/NTLM/ntlm_av_pairs.c.o
[ 32%] Building C object 
winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/NTLM/ntlm_compute.c.o
/home/work/freerdp-1.1.0_beta1_p20150312/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:
 In function 'ntlm_compute_message_integrity_check':
/home/work/freerdp-1.1.0_beta1_p20150312/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:649:11:
 error: storage size of 'hmac_ctx' isn't known
  649 |  HMAC_CTX hmac_ctx;
      |           ^~~~~~~~
/home/work/freerdp-1.1.0_beta1_p20150312/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:656:2:
 warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 
'HMAC_CTX_new'? [-Wimplicit-function-declaration]
  656 |  HMAC_CTX_init(&hmac_ctx);
      |  ^~~~~~~~~~~~~
      |  HMAC_CTX_new
/home/work/freerdp-1.1.0_beta1_p20150312/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:662:2:
 warning: implicit declaration of function 'HMAC_CTX_cleanup' 
[-Wimplicit-function-declaration]
  662 |  HMAC_CTX_cleanup(&hmac_ctx);
      |  ^~~~~~~~~~~~~~~~
/home/work/freerdp-1.1.0_beta1_p20150312/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:649:11:
 warning: unused variable 'hmac_ctx' [-Wunused-variable]
  649 |  HMAC_CTX hmac_ctx;
      |           ^~~~~~~~
gmake[2]: *** [winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/build.make:76: 
winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/NTLM/ntlm_compute.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1425: 
winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/all] Error 2
gmake: *** [Makefile:152: all] Error 2

It seems to be an OpenSSL compatibility issue.
The older server runs openssl-1.0.2k, but the new one has openssl-1.1.1d (I 
can't downgrade).

Has anyone come across this?
Which freerdp version do you use on "recent systems"?

A link to the source tarball would be most appreciated.

I also tried getting the source from 
https://github.com/FreeRDP/FreeRDP/tree/stable-1.1, but the compilation process 
aborted with the same error message:

[ 32%] Building C object 
winpr/libwinpr/sspi/CMakeFiles/winpr-sspi.dir/NTLM/ntlm_compute.c.o
/home/work/freerdp-stable-1.1/winpr/libwinpr/sspi/NTLM/ntlm_compute.c: In 
function 'ntlm_compute_message_integrity_check':
/home/work/freerdp-stable-1.1/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:649:11: 
error: storage size of 'hmac_ctx' isn't known
  649 |  HMAC_CTX hmac_ctx;
      |           ^~~~~~~~
/

A patch for that source would be fine, too...

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to