• David Woodhouse's avatar
    Document SHA1 buffer requirements more clearly · ce8df71d
    David Woodhouse authored
    There's an inconsistency here; openconnect_set_xmlsha1() takes a redundant
    'len' arg which serves no purpose except to check that the caller knows
    how big a SHA1 is. If it's not 41, we bail.
    
    Next time the soname is getting bumped, I'll add a similar redundant
    check to openconnect_get_cert_sha1() too. I should have done that when
    it was first converted from an internal function to a public-facing one
    in commit 20840ab0. But I didn't, and it's not worth bumping the soname
    again right now *just* for that.
    Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
    ce8df71d
Name
Last commit
Last update
.tx Loading commit data...
po Loading commit data...
www Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
Android.mk Loading commit data...
COPYING.LGPL Loading commit data...
Makefile.am Loading commit data...
README.DTLS Loading commit data...
README.SecurID Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
auth.c Loading commit data...
autogen.sh Loading commit data...
compat.c Loading commit data...
configure.ac Loading commit data...
cstp.c Loading commit data...
dtls.c Loading commit data...
gnutls.c Loading commit data...
gnutls_pkcs12.c Loading commit data...
http.c Loading commit data...
libopenconnect.map.in Loading commit data...
library.c Loading commit data...
main.c Loading commit data...
mainloop.c Loading commit data...
openconnect-internal.h Loading commit data...
openconnect.8.in Loading commit data...
openconnect.h Loading commit data...
openconnect.pc.in Loading commit data...
openssl.c Loading commit data...
ssl.c Loading commit data...
ssl_ui.c Loading commit data...
tun.c Loading commit data...
version.sh Loading commit data...
xml.c Loading commit data...