BIO_new_dgram() called in apps/s_server.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reposting because I sent it to the "mta" address:



I am building OpenSSL 1.0.2a with no-dgram and no-dtls1.  When I do so, I get a linker error that BIO_new_dgram() is undefined.



The following appears to fix the issue:



====cut here====

--- s_server.c.orig     2015-03-19 17:17:53 -0700

+++ s_server.c  2015-04-20 11:27:30 -0700

@@ -2183,6 +2183,7 @@

# endif

#endif



+#ifndef OPENSSL_NO_DGRAM

     if (stype == SOCK_DGRAM) {



         sbio = BIO_new_dgram(s, BIO_NOCLOSE); @@ -2220,6 +2221,9 @@

         SSL_set_options(con, SSL_OP_COOKIE_EXCHANGE);

     } else

         sbio = BIO_new_socket(s, BIO_NOCLOSE);

+#else

+        sbio = BIO_new_socket(s, BIO_NOCLOSE);

+#endif



     if (s_nbio_test) {

         BIO *test;

====cut here====



Does this fix make sense?




---
Scott Neugroschl | XYPRO Technology Corporation
4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150421/b38c857c/attachment.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux