Displaying 1 50 of 510,011 commits (0.023s)

OpenBSD — lib/libssl/src/crypto/bio bio.h

    tag some functions with bounded. idea and ok djm
Delta File
+6 -3 lib/libssl/src/crypto/bio/bio.h
+6 -3 1 file

OpenBSD — usr.bin/ssh ssh-agent.1

    remove the identity files from this manpage - ssh-agent doesn't deal
    with them at all and the same information is duplicated in ssh-add.1
    (which does deal with them); prodded by deraadt@
Delta File
+16 -37 usr.bin/ssh/ssh-agent.1
+16 -37 1 file

OpenBSD — usr.bin/ssh bufaux.c

    skip leading zero bytes in buffer_put_bignum2_from_string();
    reported by jan AT mojzis.com; ok markus@
Delta File
+4 -1 usr.bin/ssh/bufaux.c
+4 -1 1 file

OpenBSD — usr.bin/tmux procname.c grid.c

    Memory leak in error path and unnecessary assignment, from clang.
Delta File
+2 -2 usr.bin/tmux/procname.c
+2 -2 usr.bin/tmux/grid.c
+1 -2 usr.bin/tmux/cmd-save-buffer.c
+5 -6 3 files

OpenBSD — sys/lib/libsa ufs2.c ufs2.h

    Add ufs2 support and get one step closer to making ffs2 bootable. This work was done 
by Pedro Martelletto for bitrig. One small tweak to make it buildable with -Werror. 
"Please commit" miod@
Delta File
+712 -0 sys/lib/libsa/ufs2.c
+38 -0 sys/lib/libsa/ufs2.h
+750 -0 2 files

OpenBSD — distrib/sets/lists/base md.luna88k md.armish, distrib/sets/lists/comp mi

    sync
Delta File
+26 -38 distrib/sets/lists/comp/mi
+0 -4 distrib/sets/lists/base/md.luna88k
+0 -4 distrib/sets/lists/base/md.armish
+0 -4 distrib/sets/lists/base/md.armv7
+0 -4 distrib/sets/lists/base/md.aviion
+0 -4 distrib/sets/lists/base/md.hppa
+1 -56 15 files not shown
+27 -114 21 files

OpenBSD — usr.bin/mandoc mansearch.c mandocdb.c

    Rename the mpages.id column to mpages.pageid.  There is no good reason
    to call this kid by a different name here than in all other tables.
    Easier to polish this now than after enabling.
Delta File
+18 -18 usr.bin/mandoc/mansearch.c
+12 -12 usr.bin/mandoc/mandocdb.c
+30 -30 2 files

OpenBSD — lib/libssl/src/ssl s3_both.c ssl_lib.c, lib/libssl/ssl Makefile

    TANSTAAFL - delete the buf freelist code. if you need a better malloc, get
    a better malloc. ok beck deraadt
Delta File
+4 -74 lib/libssl/src/ssl/s3_both.c
+0 -37 lib/libssl/src/ssl/ssl_lib.c
+0 -12 lib/libssl/src/ssl/ssl_locl.h
+0 -6 lib/libssl/src/ssl/ssl.h
+1 -2 lib/libssl/ssl/Makefile
+5 -131 5 files

OpenBSD — usr.bin/tmux tmux.h

    Remove a leftover prototype and fix some spacing.
Delta File
+5 -4 usr.bin/tmux/tmux.h
+5 -4 1 file

OpenBSD — usr.bin/tmux cmd-choose-list.c tmux.1

    Remove the choose-list command to prepare for some later choose-* work.
Delta File
+0 -97 usr.bin/tmux/cmd-choose-list.c
+1 -27 usr.bin/tmux/tmux.1
+1 -2 usr.bin/tmux/cmd.c
+1 -2 usr.bin/tmux/Makefile
+1 -2 usr.bin/tmux/tmux.h
+4 -130 5 files

OpenBSD — lib/libssl/src/ssl tls_srp.c s3_lib.c, lib/libssl/ssl Makefile

    add back SRP. i was being too greedy.
Delta File
+511 -0 lib/libssl/src/ssl/tls_srp.c
+209 -0 lib/libssl/src/ssl/s3_lib.c
+122 -0 lib/libssl/src/ssl/s3_srvr.c
+106 -0 lib/libssl/src/ssl/s3_clnt.c
+83 -0 lib/libssl/src/ssl/ssltest.c
+63 -0 lib/libssl/src/ssl/ssl.h
+106 -2 7 files not shown
+1,200 -2 13 files

OpenBSD — lib/libssl/src/crypto/bio bss_log.c, lib/libssl/src/crypto/err err.c

    Clean up dangerous strncpy use. This included a use where the resulting
    string was potentially not nul terminated and a place where malloc return
    was unchecked.
    while we're at it remove dummytest.c
    ok miod@
Delta File
+0 -48 lib/libssl/src/test/dummytest.c
+5 -9 lib/libssl/src/crypto/ts/ts_rsp_verify.c
+6 -4 lib/libssl/src/crypto/x509v3/v3_alt.c
+1 -3 lib/libssl/src/crypto/x509/by_dir.c
+1 -3 lib/libssl/src/crypto/bio/bss_log.c
+1 -2 lib/libssl/src/crypto/err/err.c
+3 -6 3 files not shown
+17 -75 9 files

OpenBSD — lib/libssl/src/crypto cryptlib.h, lib/libssl/src/crypto/bio bss_file.c bss_fd.c

    - Why do we hide from the OpenSSL police, dad?
    - Because they're not like us, son. They use macros to wrap stdio routines,
      for an undocumented (OPENSSL_USE_APPLINK) use case, which only serves to
      obfuscate the code.
    
    ok tedu@
Delta File
+13 -55 lib/libssl/src/crypto/bio/bss_file.c
+8 -20 lib/libssl/src/crypto/bio/bss_fd.c
+0 -27 lib/libssl/src/crypto/bio/bio_lcl.h
+0 -5 lib/libssl/src/crypto/bio/bio.h
+0 -5 lib/libssl/src/crypto/cryptlib.h
+2 -2 lib/libssl/src/crypto/bio/b_dump.c
+23 -114 6 files

OpenBSD — lib/libssl/src/crypto/bio b_sock.c bss_log.c

    > As I walk through the valley of the shadow of death
    > I take a look at my life and realize there's nothin' left
    > Cause I've been blasting and laughing so long,
    > That even my mama thinks that my mind is gone
    Remove even more unspeakable evil being perpetuated in the name of VMS.
    (and lesser evils done in the name of others.)
    ok miod
Delta File
+2 -267 lib/libssl/src/crypto/bio/b_sock.c
+1 -198 lib/libssl/src/crypto/bio/bss_log.c
+0 -87 lib/libssl/src/crypto/bio/bss_file.c
+0 -10 lib/libssl/src/crypto/bio/bss_dgram.c
+0 -10 lib/libssl/src/crypto/bio/bss_conn.c
+0 -9 lib/libssl/src/crypto/bio/bss_acpt.c
+1 -25 4 files not shown
+4 -606 10 files

OpenBSD — lib/libssl/src/apps apps.c speed.c

    lots of ifdef cleanup
Delta File
+1 -356 lib/libssl/src/apps/apps.c
+0 -40 lib/libssl/src/apps/speed.c
+0 -4 lib/libssl/src/apps/ca.c
+1 -400 3 files

OpenBSD — lib/libssl/src/apps apps.c

    repair knf
Delta File
+1 -1 lib/libssl/src/apps/apps.c
+1 -1 1 file

OpenBSD — libexec/rshd rshd.c

    Remove ifdef'd out KerberosIV and stream encryption support.  While
    here, sort arguments.
    
    ok tedu miod (who had the same diff with an additional bit of clean-up)
Delta File
+26 -273 libexec/rshd/rshd.c
+26 -273 1 file

OpenBSD — lib/libcrypto/crypto Makefile

    No need to define ANSI_SOURCE and NO_ERR. TERMIOS kept until ui/ui_openssl.c
    gets a second trim.
Delta File
+2 -2 lib/libcrypto/crypto/Makefile
+2 -2 1 file

OpenBSD — libexec/rshd rshd.c

    add missing parens so that errorhost gets properly initialized.
    
    ok tedu miod (who had the same diff)
Delta File
+3 -3 libexec/rshd/rshd.c
+3 -3 1 file

OpenBSD — usr.bin/mandoc mandocdb.c

    Give the mlinks and keys tables a pageid index,
    as suggested by jeremy@ and espie@.
    
    The mlinks index speeds up basic apropos(1) searches by around 30%
    because it speeds up the final SELECT FROM mlinks query by about 95%.
    For large result sets, the overall speedup gets even larger, in the
    extreme case of "apropos Nd~." by more than 90%.
    The keys index finally makes the apropos(1) -O option usable: It no longer
    incurs relevant extra cost, while in the past it was embarrassingly slow.
    
    This comes at a cost:  Total database build times grow by about 5%,
    and each index adds about 10% database size with -Q.  I consider that
    acceptable in view of the huge apropos(1) performance gains.
    The -Q database for /usr/share/man still remains below 1 MB.
Delta File
+4 -2 usr.bin/mandoc/mandocdb.c
+4 -2 1 file

OpenBSD — lib/libcrypto/crypto Makefile

    No need to build with -DOPENSSL_NO_CAPIENG and -DOPENSSL_NO_HW_xxx for all
    now removed engines.
Delta File
+1 -10 lib/libcrypto/crypto/Makefile
+1 -10 1 file

OpenBSD — sbin/dhclient dhclient.c

    Make dhclient -q even quieter. Make it immediately effective rather
    than possibly emitting a couple of random memory allocation error
    messages first.
    
    ok guenther@
Delta File
+3 -6 sbin/dhclient/dhclient.c
+3 -6 1 file

OpenBSD — lib/libssl/src/demos b64.c selfsign.c, lib/libssl/src/demos/asn1 ocsp.c README.ASN1

    quoth the readme:
    NOTE: Don't expect any of these programs to work with current
    OpenSSL releases, or even with later SSLeay releases.
    ok miod
Delta File
+0 -1,739 lib/libssl/src/demos/engines/zencod/hw_zencod.c
+0 -1,240 lib/libssl/src/demos/easy_tls/easy-tls.c
+0 -1,109 lib/libssl/src/demos/tunala/tunala.c
+0 -920 lib/libssl/src/demos/engines/ibmca/hw_ibmca.c
+0 -721 lib/libssl/src/demos/engines/cluster_labs/hw_cluster_labs.c
+0 -685 lib/libssl/src/demos/engines/rsaref/rsaref.c
+0 -10,388 122 files not shown
+0 -16,802 128 files

OpenBSD — lib/libssl/src/crypto mem_dbg.c

    delete a few leftovers
Delta File
+1 -5 lib/libssl/src/crypto/mem_dbg.c
+1 -5 1 file

OpenBSD — lib/libssl/src/apps s_server.c, lib/libssl/src/crypto/asn1 asn1_gen.c asn1_par.c

    fix a few bugs observed on http://www.viva64.com/en/b/0250/
    ok krw miod
Delta File
+1 -1 lib/libssl/src/apps/s_server.c
+1 -1 lib/libssl/src/crypto/asn1/asn1_gen.c
+1 -1 lib/libssl/src/crypto/asn1/asn1_par.c
+0 -1 lib/libssl/src/ssl/d1_both.c
+3 -4 4 files

OpenBSD — lib/libssl/src/ssl t1_lib.c s3_srvr.c

    Thanks to the knobs in http://tools.ietf.org/html/rfc5746, we have a knob
    to say "allow this connection to negotiate insecurely". de-fang the code
    that respects this option to ignore it.
    ok miod@
Delta File
+2 -4 lib/libssl/src/ssl/t1_lib.c
+1 -3 lib/libssl/src/ssl/s3_srvr.c
+3 -7 2 files

OpenBSD — lib/libssl/src/ssl tls_srp.c s3_lib.c, lib/libssl/ssl Makefile

    disentangle SRP code from TLS
Delta File
+0 -511 lib/libssl/src/ssl/tls_srp.c
+0 -209 lib/libssl/src/ssl/s3_lib.c
+0 -122 lib/libssl/src/ssl/s3_srvr.c
+0 -106 lib/libssl/src/ssl/s3_clnt.c
+0 -83 lib/libssl/src/ssl/ssltest.c
+0 -63 lib/libssl/src/ssl/ssl.h
+2 -106 7 files not shown
+2 -1,200 13 files

OpenBSD — lib/libssl/src/crypto/ui ui_openssl.c

    whack the ifdef pinata:
    OPENSSL_SYSNAME_VXWORKS
    OPENSSL_SYS_VMS
    OPENSSL_SYS_MSDOS
    OPENSSL_UNISTD
    OPENSSL_SYS_WIN16
    WIN_CONSOLE_BUG
    OPENSSL_SYS_WINCE
    SGTTY
    OPENSSL_SYS_MACINTOSH_CLASSIC
    MAC_OS_GUSI_SOURCE
    OPENSSL_SYS_NETWARE
    OPENSSL_SYS_SUNOS
    __DJGPP__
    OPENSSL_SYS_BEOS
    OPENSSL_SYS_WIN32
Delta File
+5 -260 lib/libssl/src/crypto/ui/ui_openssl.c
+5 -260 1 file

OpenBSD — lib/libssl/src/apps ocsp.c s_time.c

    SSLv3_client_method() doesn't support TLSv1.*; use SSLv23_client_method()
    the for anything where version negotiation would be useful.
    Also, constipate a couple formatting strings to make compilers and
    linkers happier.
    
    ok tedu@
Delta File
+2 -2 lib/libssl/src/apps/ocsp.c
+2 -2 lib/libssl/src/apps/s_time.c
+4 -4 2 files

OpenBSD — lib/libssl/src/crypto/ts ts_rsp_sign.c

    Zero-pad usec format to handle values less than 100,000 correctly
    
    ok matthew@ tedu@
Delta File
+1 -1 lib/libssl/src/crypto/ts/ts_rsp_sign.c
+1 -1 1 file

OpenBSD — lib/libssl/src/apps dgst.c dsaparam.c

    Initial KNF.
Delta File
+241 -297 lib/libssl/src/apps/dgst.c
+230 -254 lib/libssl/src/apps/dsaparam.c
+224 -250 lib/libssl/src/apps/dhparam.c
+157 -172 lib/libssl/src/apps/dsa.c
+154 -170 lib/libssl/src/apps/dh.c
+1,006 -1,143 5 files

OpenBSD — lib/libssl/src/apps cms.c crl.c

    Initial KNF.
Delta File
+362 -534 lib/libssl/src/apps/cms.c
+220 -244 lib/libssl/src/apps/crl.c
+157 -168 lib/libssl/src/apps/crl2p7.c
+86 -89 lib/libssl/src/apps/ciphers.c
+825 -1,035 4 files

OpenBSD — lib/libssl/src/crypto/ts ts_rsp_sign.c

    Mandatory Surgeon Guenther's Warning: This code could not possibly be
    correct because it doesn't zerofill the front of usecs, but that's the
    way I found it.
    a more thorough emulation of the old code, but with fewer whacky snprintf
    pointer arithmetic antics. ok beck guenther
Delta File
+24 -24 lib/libssl/src/crypto/ts/ts_rsp_sign.c
+24 -24 1 file

OpenBSD — lib/libssl/src/apps ca.c asn1pars.c

    Initial KNF.
Delta File
+1,467 -1,687 lib/libssl/src/apps/ca.c
+195 -216 lib/libssl/src/apps/asn1pars.c
+1,662 -1,903 2 files

OpenBSD — lib/libssl/src/apps app_rand.c apps.c

    More KNF.
Delta File
+62 -60 lib/libssl/src/apps/app_rand.c
+57 -40 lib/libssl/src/apps/apps.c
+119 -100 2 files

OpenBSD — lib/libssl/src/apps apps.c apps.h

    First pass for KNF.
Delta File
+1,193 -1,248 lib/libssl/src/apps/apps.c
+42 -46 lib/libssl/src/apps/apps.h
+1,235 -1,294 2 files

OpenBSD — lib/libssl/src/crypto/ts ts_rsp_sign.c

    revert. the full horror has only now revealed itself.
Delta File
+21 -26 lib/libssl/src/crypto/ts/ts_rsp_sign.c
+21 -26 1 file

OpenBSD — lib/libssl/src/crypto/ts ts_rsp_sign.c

    replace some bio_snprintf crazy with regular snprintf.
    beck had a diff to convert to strftime, but it's easier to verify this
    is functionally the same. ok beck.
Delta File
+26 -21 lib/libssl/src/crypto/ts/ts_rsp_sign.c
+26 -21 1 file

OpenBSD — lib/libssl/src/ssl s23_clnt.c ssl_lib.c

    Kill the bogus "send an SSLv3/TLS hello in SSLv2 format" crap from
    the SSLv23_* client code.  The server continues to accept it.  It
    also kills the bits for SSL2 SESSIONs; even when the server gets
    an SSLv2-style compat handshake, the session that it creates has
    the correct version internally.
    
    ok tedu@ beck@
Delta File
+109 -174 lib/libssl/src/ssl/s23_clnt.c
+32 -52 lib/libssl/src/ssl/ssl_lib.c
+13 -27 lib/libssl/src/ssl/ssl_sess.c
+1 -38 lib/libssl/src/ssl/ssl_locl.h
+5 -24 lib/libssl/src/ssl/ssl_asn1.c
+12 -7 lib/libssl/src/ssl/s23_srvr.c
+1 -3 lib/libssl/src/ssl/ssl_txt.c
+173 -325 7 files

OpenBSD — lib/libssl/src/crypto/bio bio_lib.c bio_cb.c

    More KNF.
Delta File
+20 -18 lib/libssl/src/crypto/bio/bio_lib.c
+7 -7 lib/libssl/src/crypto/bio/bio_cb.c
+3 -3 lib/libssl/src/crypto/bio/bio_err.c
+30 -28 3 files

OpenBSD — lib/libssl/src/crypto/bio b_sock.c b_print.c

    More KNF.
Delta File
+31 -28 lib/libssl/src/crypto/bio/b_sock.c
+11 -11 lib/libssl/src/crypto/bio/b_print.c
+11 -11 lib/libssl/src/crypto/bio/bf_buff.c
+7 -7 lib/libssl/src/crypto/bio/b_dump.c
+7 -7 lib/libssl/src/crypto/bio/bf_lbuf.c
+6 -6 lib/libssl/src/crypto/bio/bf_nbio.c
+6 -6 lib/libssl/src/crypto/bio/bf_null.c
+79 -76 7 files

OpenBSD — usr.sbin/slowcgi slowcgi.c

    My previous attempt to chdir(2) to the directory containing the cgi
    script was not quite right. slowcgi would try to chdir("") with a
    SCRIPT_NAME of /foo.cgi; chdir("/") in that case.
    I'm not sure how one would configure nginx/slowcgi to get to that
    point though.
    OK benno@
Delta File
+10 -5 usr.sbin/slowcgi/slowcgi.c
+10 -5 1 file

OpenBSD — usr.bin/libtool/LT Library.pm, usr.bin/libtool/LT/Mode Link.pm Compile.pm

    Whitespace tweaks before further tweaks; no objections from ajacoutot@.
Delta File
+8 -8 usr.bin/libtool/LT/Library.pm
+8 -8 usr.bin/libtool/LT/Mode/Link.pm
+2 -2 usr.bin/libtool/LT/Mode/Compile.pm
+2 -2 usr.bin/libtool/LT/Mode/Link/Library.pm
+2 -2 usr.bin/libtool/LT/Mode/Link/Program.pm
+22 -22 5 files

OpenBSD — lib/libssl/src/crypto mem_dbg.c

    Make this byzantine horror a shell of it's former self by stubbing the
    functions. The ability to set the debug mem functions died with mem.c,
    but some of the rest of this is still exposed API so we can't delete it..
    yet...
    ok tedu@
Delta File
+17 -660 lib/libssl/src/crypto/mem_dbg.c
+17 -660 1 file

OpenBSD — sbin/dhclient dhclient.c

    OpenSSL is not the only place with bloated code! Remove unused
    function 'option_as_string()'.
Delta File
+2 -41 sbin/dhclient/dhclient.c
+2 -41 1 file

OpenBSD — lib/libssl/src/crypto/rand rc4_rand.c

    Some software expects RAND_status() to return 1 for success, so always
    return 1 in the arc4random backend because there is no possible error
    condition.  Unbreaks lynx, git and friends.
    
    ok miod@ dcoppa@
Delta File
+10 -2 lib/libssl/src/crypto/rand/rc4_rand.c
+10 -2 1 file

OpenBSD — distrib/miniroot install.sub

    Tweak network interface configuration so that after 1st attempted
    (rather than first successfull) configuration, the default selection
    becomes [done]. This allows one to <cr> past network configuration.
    e.g. when dhcp is not working.
    
    Requested by deraadt@. ok halex@.
Delta File
+2 -2 distrib/miniroot/install.sub
+2 -2 1 file

OpenBSD — sys/netinet in_pcb.c udp_usrreq.c, sys/netinet6 udp6_output.c in6_pcb.c

    Merge in_fixaddr() into in_selectsrc() in order to prepare for
    IP_SENDSRCADDR support.  This reduces the differences with the
    IPv6 version and kill some comments that are no longer true.
    
    ok jca@, chrisz@, mikeb@
Delta File
+47 -64 sys/netinet/in_pcb.c
+23 -7 sys/netinet/udp_usrreq.c
+5 -15 sys/netinet6/udp6_output.c
+4 -5 sys/netinet/in_pcb.h
+4 -2 sys/netinet6/in6_pcb.c
+83 -93 5 files

OpenBSD — lib/libssl/src/crypto/bio bss_sock.c bss_fd.c

    Clean up non-fatal error handling - we know which error numbers we have
    defined.
    
    ok miod@ beck@
Delta File
+0 -43 lib/libssl/src/crypto/bio/bss_sock.c
+0 -32 lib/libssl/src/crypto/bio/bss_fd.c
+0 -30 lib/libssl/src/crypto/bio/bss_dgram.c
+0 -105 3 files

OpenBSD — lib/libcrypto/man Makefile

    unbreak install; /usr/share/man/man3/EVP_PKEY_print_private.3 should link to
    /usr/share/man/man3/EVP_PKEY_print_public.3 not itself, from deraadt
Delta File
+2 -2 lib/libcrypto/man/Makefile
+2 -2 1 file