1. 04 2月, 2016 6 次提交
    • R
      83be2778
    • R
      Refactoring BIO: Small adjustments · a5cc75d6
      Richard Levitte 提交于
      Because of the way bio_lcl.h is organised, we must not include
      internal/cryptlib.h before it.  As a matter of fact, bio_lcl.h
      includes internal/cryptlib.h on its own.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      a5cc75d6
    • 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
    • E
      RT4148 · ba2de73b
      Emilia Kasper 提交于
      Accept leading 0-byte in PKCS1 type 1 padding. Internally, the byte is
      stripped by BN_bn2bin but external callers may have other expectations.
      
      Reviewed-by: Kurt Roeckx<kurt@openssl.org>
      ba2de73b
    • M
      20a5819f
    • E
      RT3234: disable compression · dc5744cb
      Emilia Kasper 提交于
      CRIME protection: disable compression by default, even if OpenSSL is
      compiled with zlib enabled. Applications can still enable compression by
      calling SSL_CTX_clear_options(ctx, SSL_OP_NO_COMPRESSION), or by using
      the SSL_CONF library to configure compression. SSL_CONF continues to
      work as before:
      
      SSL_CONF_cmd(ctx, "Options", "Compression") enables compression.
      
      SSL_CONF_cmd(ctx, "Options", "-Compression") disables compression (now
      no-op by default).
      
      The command-line switch has changed from -no_comp to -comp.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      dc5744cb
  2. 03 2月, 2016 8 次提交
  3. 02 2月, 2016 2 次提交
  4. 01 2月, 2016 21 次提交
  5. 31 1月, 2016 3 次提交