** Description changed:

  When I try to build on Lucid, I get the following compiler errors:
  
-   CC     openconnect-dtls.o
+   CC     openconnect-dtls.o
  dtls.c: In function ‘dtls_try_handshake’:
  dtls.c:310: error: ‘struct dtls1_state_st’ has no member named ‘next_timeout’
  dtls.c:311: error: ‘struct dtls1_state_st’ has no member named ‘next_timeout’
  dtls.c:312: error: ‘struct dtls1_state_st’ has no member named 
‘timeout_duration’
  dtls.c:314: error: ‘BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT’ undeclared (first use in 
this function)
  dtls.c:314: error: (Each undeclared identifier is reported only once
  dtls.c:314: error: for each function it appears in.)
  dtls.c:315: error: ‘struct dtls1_state_st’ has no member named ‘next_timeout’
  
  The corresponding source is as follows:
  
-               /* Debian restricts visibility of dtls1_stop_timer()
-                  so do it manually. Thankfully this *should* work,
-                  from 0.9.8m to 1.0.0d inclusive, and we don't have
-                  to worry about future changes because we don't do
-                  this for 1.0.0e and above anyway */
-               memset (&(vpninfo->dtls_ssl->d1->next_timeout), 0,
-                       sizeof((vpninfo->dtls_ssl->d1->next_timeout)));
-               vpninfo->dtls_ssl->d1->timeout_duration = 1;
-               BIO_ctrl(SSL_get_rbio(vpninfo->dtls_ssl),
-                        BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT, 0,
-                        &(vpninfo->dtls_ssl->d1->next_timeout));
+   /* Debian restricts visibility of dtls1_stop_timer()
+      so do it manually. Thankfully this *should* work,
+      from 0.9.8m to 1.0.0d inclusive, and we don't have
+      to worry about future changes because we don't do
+      this for 1.0.0e and above anyway */
+   memset (&(vpninfo->dtls_ssl->d1->next_timeout), 0,
+    sizeof((vpninfo->dtls_ssl->d1->next_timeout)));
+   vpninfo->dtls_ssl->d1->timeout_duration = 1;
+   BIO_ctrl(SSL_get_rbio(vpninfo->dtls_ssl),
+     BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT, 0,
+     &(vpninfo->dtls_ssl->d1->next_timeout));
  
  This seems to indicate that building should require OpenSSL 0.9.8m or
  greater, while the build dependencies only ask for libssl-dev (>=
  0.9.8g-14).
+ 
+ The corresponding commit message in
+ 269a2e16a2686b0d416e4b78f6ecd4b44b6b3e1e says the same thing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/955371

Title:
  Build deps don't reflect failure of simple backport on Lucid's openssl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/955371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to