[prev in list] [next in list] [prev in thread] [next in thread] 

List:       stunnel-users
Subject:    [stunnel-users] SSL_get_peer_tmp_key fail
From:       stunnel () paapnet ! nl
Date:       2021-03-28 22:27:51
Message-ID: 161697047145.1913.1263736759715897961 () linode ! mirt ! net
[Download RAW message or body]

Hai,

I just tried compiling stunnel 5.58 but it bails out:

  CC       stunnel-client.o
client.c: In function 'print_tmp_key':
client.c:670:10: warning: implicit declaration of function 'SSL_get_peer_tmp_key'; \
did you mean 'SSL_get_server_tmp_key'? [-Wimplicit-function-declaration]  if \
(!SSL_get_peer_tmp_key(s, &key)) {  ^~~~~~~~~~~~~~~~~~~~
          SSL_get_server_tmp_key
  CCLD     stunnel
stunnel-client.o: In function `print_tmp_key':
/try/stunnel-5.58/src/client.c:670: undefined reference to `SSL_get_peer_tmp_key'

Running Ubuntu Ubuntu 18.04.5 LTS
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
OpenSSL 1.1.1  11 Sep 2018

Version 5.49 compiles ok no issues there

Am I missing something here ?
Changing it into 'SSL_get_server_tmp_key works' or remming it out probably causes \
issues... bt it compiles well.

Would be great if someone can point me in the right direction.

Cheers...
_______________________________________________
stunnel-users mailing list -- stunnel-users@stunnel.org
To unsubscribe send an email to stunnel-users-leave@stunnel.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic