summaryrefslogtreecommitdiff
path: root/lib/gnutls_x509.c
Commit message (Collapse)AuthorAgeFilesLines
* Move definitions in gnutls_auth_int.h to gnutls_auth.h and update callers.Simon Josefsson2008-09-011-1/+1
|
* Fix warnings.Simon Josefsson2008-08-291-3/+3
|
* Make disable-extra-pki work better.Simon Josefsson2008-08-281-3/+4
|
* Remove code to import PKCS#7 certificate chains.Simon Josefsson2008-08-281-161/+14
| | | | | The code hasn't worked since GnuTLS v0.9.0. Reported by Christian Grothoff <christian@grothoff.org>.
* initialize uninitialized variable.Nikos Mavrogiannopoulos2008-08-251-0/+3
|
* Indent code.Simon Josefsson2008-07-021-18/+19
|
* Doc markup for newly added APIs.Simon Josefsson2008-04-281-0/+6
|
* Doc fix, remove verbose 'This function ...'Simon Josefsson2008-03-061-1/+1
| | | | Improves looks in 'apropos' output.
* Optimize adding many trusted certificates.Simon Josefsson2008-02-271-34/+26
| | | | See <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
* Move mpi.h stuff to x509_int.h.Simon Josefsson2008-02-261-1/+0
|
* Move privkey.h stuff to x509_int.h.Simon Josefsson2008-02-261-1/+0
|
* Move verify.h stuff to x509_int.h.Simon Josefsson2008-02-261-1/+0
|
* Move pkcs7.h stuff to x509_int.h.Simon Josefsson2008-02-261-1/+0
|
* Rename lib/x509/x509.h to x509_int.h.Simon Josefsson2008-02-251-2/+2
| | | | Fixes name-space collision that confuses GTK-DOC with includes/gnutls/x509.h.
* Increased the default certificate verification chain limits and allowedNikos2008-02-171-2/+2
| | | | for checks without limitation.
* Doc fix.Simon Josefsson2007-11-141-16/+16
|
* Doc fix.Simon Josefsson2007-11-141-30/+27
|
* ** Added the --to-p8 option to certtool to convert private keysNikos Mavrogiannopoulos2007-11-111-0/+5
| | | | | | | | | to PKCS #8 keys. ** Introduced the GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR error code. ** gnutls_certificate_set_x509_key_* can now read PKCS #8 unencrypted private keys.
* Changed my name to my "official" name.Nikos Mavrogiannopoulos2007-10-301-1/+1
|
* Fix pointer mix for different sized variables.Simon Josefsson2007-08-161-1/+3
| | | | Tiny patch from <http://cvs.fedora.redhat.com/viewcvs/devel/gnutls/gnutls-1.6.3-incompat-pointers.patch?rev=1.1&view=auto>.
* Use *_t types consistently.Simon Josefsson2007-08-131-7/+7
|
* External signing callback interface.Simon Josefsson2007-08-101-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * includes/gnutls/gnutls.h.in (gnutls_sign_func): New type. (gnutls_sign_callback_set): New function. * includes/gnutls/x509.h (gnutls_x509_privkey_sign_hash): New function. * lib/gnutls_x509.c (gnutls_certificate_set_x509_key_mem): Handle NULL key. Doc fix. * lib/gnutls_sig.c (_gnutls_tls_sign_hdata): Pass session to _gnutls_tls_sign. (_gnutls_tls_sign_params): Likewise. (_gnutls_tls_sign): Add new parameter 'session'. Call sign callback if appropriate. (gnutls_sign_callback_set): New function. * lib/gnutls_x509.c (read_key_mem): Support a NULL key. * lib/gnutls_int.h (internals_st): Add sign_func, sign_func_userdata. * lib/auth_dhe.c (gen_dhe_server_kx): Use length of certificate list to decide wheter to sign, not presence of private key. * lib/auth_cert.c (_gnutls_gen_cert_client_cert_vrfy): Likewise. * lib/auth_rsa_export.c (gen_rsa_export_server_kx): Likewise. * lib/auth_cert.c(_gnutls_get_selected_cert): Don't require that private key is present. * lib/auth_rsa_export.c (gen_rsa_export_server_kx): Don't check key size when key is not present, assume it is > 512 bits. * lib/x509/privkey.c (gnutls_x509_privkey_sign_hash): New function. * tests/Makefile.am: Add x509signself.
* (parse_pem_ca_mem): Handle reads beyond first certificate properly.Simon Josefsson2007-05-271-3/+3
| | | | | Reported by Dennis Vshivkov <walrus@amur.ru> in <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333050>.
* Use new API.Simon Josefsson2007-05-241-5/+3
|
* (generate_rdn_seq): Store subject DN instead of issuer DN in theSimon Josefsson2006-12-271-4/+2
| | | | | | certificate authority list, to make sure server's send the proper list of expected CAs to the client. Reported by Max Kellermann <max@duempel.org>.
* (gnutls_certificate_set_x509_crl): Initialize before use, reported bySimon Josefsson2006-12-271-1/+8
| | | | Max Kellermann <max@duempel.org>.
* Use read_binary_file from gnulib instead of strfile stuff,Simon Josefsson2006-06-161-149/+26
| | | | to fix problem with binary files on mingw.
* some fixes for compilationNikos Mavrogiannopoulos2006-03-181-1/+0
|
* Corrected bugs in gnutls_certificate_set_x509_crl() and ↵Nikos Mavrogiannopoulos2006-02-011-5/+5
| | | | gnutls_certificate_set_x509_trust(), that caused memory corruption if more than one certificates were added. Report and patch by Max Kellermann <max@duempel.org>.
* Indent more.Simon Josefsson2005-12-151-19/+18
|
* Replace "uint" with "unsigned". Remove unused "sint".Simon Josefsson2005-12-091-11/+11
|
* Fix mem leak.Simon Josefsson2005-12-081-0/+1
|
* Support reading X.509 credentials from PKCS#12 files.Simon Josefsson2005-12-081-0/+278
|
* Tru64 UNIX 4.0D has mmap() but doesn't define MAP_FAILED, tiny patch from ↵Simon Josefsson2005-11-141-0/+3
| | | | Albert Chin <gnutls-dev@mlists.thewrittenword.com>
* some documentation updates.Nikos Mavrogiannopoulos2005-11-121-2/+2
|
* Use GNU coding style.Simon Josefsson2005-11-071-1004/+1135
|
* Don't include gnutls_random.h.Simon Josefsson2005-08-301-1/+0
|
* Doc fix.Simon Josefsson2005-08-241-15/+13
|
* eliminated some warnings.Nikos Mavrogiannopoulos2005-05-271-1/+2
|
* Update FSF office address in license.Simon Josefsson2005-05-261-1/+1
|
* Fix warning.Simon Josefsson2005-04-141-11/+9
|
* Clean up #include situation, merge from gnutls_1_2_1_with_include_fixes.Simon Josefsson2005-04-141-1/+1
| | | | | | Now lib/gnutls_int.h start by including gnutls/gnutls.h, to check prototypes during compile time. More cleanups are expected.
* *** empty log message ***Nikos Mavrogiannopoulos2005-03-041-1/+1
|
* Clean up license templates.Simon Josefsson2005-01-221-14/+16
|
* Fix warning.Simon Josefsson2005-01-181-2/+2
|
* Corrected bugs found by Marcin Garski <mgarski@post.pl>Nikos Mavrogiannopoulos2004-12-151-2/+2
|
* Doc fix.Simon Josefsson2004-10-281-10/+10
|
* Indent.Simon Josefsson2004-10-281-23/+29
|
* some minor fixes.Nikos Mavrogiannopoulos2004-10-261-7/+11
|
* (gnutls_certificate_set_x509_trust): Fix memory bug, tiny patch bySimon Josefsson2004-10-241-2/+3
| | | | Aleix Conchillo Flaque <aleix@member.fsf.org>.