1. 18 5月, 2016 2 次提交
  2. 17 5月, 2016 1 次提交
  3. 09 5月, 2016 1 次提交
  4. 29 4月, 2016 2 次提交
  5. 14 4月, 2016 1 次提交
  6. 05 4月, 2016 2 次提交
  7. 31 3月, 2016 2 次提交
    • R
      Fix pointer size issues on VMS · fcd9c8c0
      Richard Levitte 提交于
      On VMS, the C compiler can work with 32-bit and 64-bit pointers, and
      the command line determines what the initial pointer size shall be.
      
      However, there is some functionality that only works with 32-bit
      pointers.  In this case, it's gethostbyname(), getservbyname() and
      accompanying structures, so we need to make sure that we define our
      own pointers as 32-bit ones.
      
      Furthermore, there seems to be a bug in VMS C netdb.h, where struct
      addrinfo is always defined with 32-bit pointers no matter what, but
      the functions handling it are adapted to the initial pointer size.
      This leads to pointer size warnings when compiling with
      /POINTER_SIZE=64.  The workaround is to force struct addrinfo to be
      the 64-bit variant if the initial pointer size is 64.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      fcd9c8c0
    • R
      Rearrange the use of 'proto' in BIO_lookup · 622c7e99
      Richard Levitte 提交于
      'proto' wasn't properly used as a fallback in all appropriate cases.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      622c7e99
  8. 08 3月, 2016 1 次提交
  9. 19 2月, 2016 1 次提交
  10. 18 2月, 2016 1 次提交
    • R
      RT4310: Fix varous no-XXX builds · 1288f26f
      Rich Salz 提交于
      When OPENSSL_NO_ASYNC is set, make ASYNC_{un,}block_pause() do nothing.
      This prevents md_rand.c from failing to build. Probably better to do it
      this way than to wrap every instance in an explicit #ifdef.
      
      A bunch of new socket code got added to a new file crypto/bio/b_addr.c.
      Make it all go away if OPENSSL_NO_SOCK is defined.
      
      Allow configuration with no-ripemd, no-ts, no-ui
      We use these for the UEFI build.
      
      Also remove the 'Really???' comment from no-err and no-locking. We use
      those too.
      
      We need to drop the crypto/engine directory from the build too, and also
      set OPENSSL_NO_ENGINE
      Signed-off-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      1288f26f
  11. 17 2月, 2016 1 次提交
  12. 13 2月, 2016 1 次提交
    • R
      Better workaround for VMS getnameinfo() bug · 6faffd0a
      Richard Levitte 提交于
      The actual bug with current getnameinfo() on VMS is not that it puts
      gibberish in the service buffer, but that it doesn't touch it at all.
      The gibberish we dealt with before was simply stuff that happened to
      be on the stack.
      
      It's better to initialise the service buffer properly (with the empty
      string) and check if it's still an empty string after the
      getnameinfo() call, and fill it with the direct numerical translation
      of the raw port if that's the case.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      6faffd0a
  13. 11 2月, 2016 1 次提交
  14. 10 2月, 2016 1 次提交
  15. 09 2月, 2016 2 次提交
  16. 08 2月, 2016 1 次提交
  17. 06 2月, 2016 1 次提交
  18. 05 2月, 2016 1 次提交
  19. 04 2月, 2016 3 次提交
    • K
      Use WSAGetLastError() on windows · c86d1f19
      Kurt Roeckx 提交于
      Windows doesn't have h_error or hstrerror()
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      
      MR: #1848
      c86d1f19
    • K
      Make fallback addresses static so that we can initialize it · 37e3daf4
      Kurt Roeckx 提交于
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      
      MR: #1841
      37e3daf4
    • R
      Refactoring BIO: add wrappers around sockaddr et al · 28a0841b
      Richard Levitte 提交于
      Because different platforms have different levels of support for IPv6,
      different kinds of sockaddr variants, and some have getaddrinfo et al
      while others don't, we could end up with a mess if ifdefs, duplicate
      code and other maintainance nightmares.
      
      Instead, we're introducing wrappers around the common form for socket
      communication:
      BIO_ADDR, closely related to struct sockaddr and some of its variants.
      BIO_ADDRINFO, closely related to struct addrinfo.
      
      With that comes support routines, both convenient creators and
      accessors, plus a few utility functions:
      
      BIO_parse_hostserv, takes a string of the form host:service and
      splits it into host and service.  It checks for * in both parts, and
      converts any [ipv6-address] syntax to ust the IPv6 address.
      
      BIO_lookup, looks up information on a host.
      
      All routines handle IPv4 (AF_INET) and IPv6 (AF_INET6) addresses, and
      there is support for local sockets (AF_UNIX) as well.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      28a0841b