summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_rsa.c
Commit message (Collapse)AuthorAgeFilesLines
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-656/+606
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* PR: 1411Dr. Stephen Henson2009-09-121-1/+1
| | | | | | Submitted by: steve@openssl.org Allow use of trusted certificates in SSL_CTX_use_chain_file()
* Reword comment to be much shorter to stop other people from complainingLutz Jänicke2008-05-261-5/+1
| | | | about "overcommenting"
* Clear error queue when starting SSL_CTX_use_certificate_chain_fileLutz Jänicke2008-05-231-0/+6
| | | | | PR: 1417, 1513 Submitted by: Erik de Castro Lopo <mle+openssl@mega-nerd.com>
* add support for DER encoded private keys to SSL_CTX_use_PrivateKey_file()Nils Larsch2005-04-081-0/+10
| | | | | | | | and SSL_use_PrivateKey_file() PR: 1035 Submitted by: Walter Goulet Reviewed by: Nils Larsch
* get rid of very buggy and very imcomplete DH cert supportNils Larsch2005-04-071-68/+18
| | | | Reviewed by: Bodo Moeller
* really clear the error queue hereNils Larsch2005-04-011-1/+1
| | | | PR: 860
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-7/+7
| | | | | | | | functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
* make sure no error is left in the queue that is intentionally ignoredBodo Möller2003-08-111-1/+3
|
* Reorder inclusion of header files:Lutz Jänicke2002-07-101-1/+1
| | | | | | | | | | | | | | | | | des_old.h redefines crypt: #define crypt(b,s)\ DES_crypt((b),(s)) This scheme leads to failure, if header files with the OS's true definition of crypt() are processed _after_ des_old.h was processed. This is e.g. the case on HP-UX with unistd.h. As evp.h now again includes des.h (which includes des_old.h), this problem only came up after this modification. Solution: move header files (indirectly) including e_os.h before the header files (indirectly) including evp.h. Submitted by: Reviewed by: PR:
* use ERR_peek_last_error() instead of ERR_peek_error()Bodo Möller2002-02-281-2/+2
|
* Rename recently introduced functions for improved code clarity:Bodo Möller2001-09-031-2/+2
| | | | [DR]SA_up => [DR]SA_up_ref
* Changes crypto/evp/ and ssl/ code from directly incrementing referenceGeoff Thorpe2001-08-251-2/+2
| | | | | counts in DH, DSA, and RSA structures. Instead they use the new "***_up()" functions that handle this.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-15/+15
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* The consequence of constification is that to pass the address to aRichard Levitte2000-11-061-2/+2
| | | | | pointer to a const double pointe parameter, the pointer must point to const data as well.
* typo while I poke around...Ralf S. Engelschall1999-08-051-1/+1
|
* Additional user data argument to pem_password_cb function typeBodo Möller1999-07-211-8/+8
| | | | | and to lots of PEM_... functions. Submitted by: Damien Miller <dmiller@ilogic.com.au>
* Create a duplicate of the SSL_CTX's CERT in SSL_new instead of copyingBodo Möller1999-05-091-9/+9
| | | | | | | pointers. The cert_st handling is changed by this in various ways. Submitted by: Reviewed by: PR:
* Use "const char *" instead of "char *" for filenames passed to functions.Bodo Möller1999-05-091-6/+6
| | | | | | Submitted by: Reviewed by: PR:
* New function SSL_CTX_use_certificate_chain_file.Bodo Möller1999-05-011-0/+78
| | | | | | Submitted by: Reviewed by: PR:
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-6/+0
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-5/+5
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-74/+21
|
* Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DHRalf S. Engelschall1999-02-251-83/+26
| | | | | | | | | | | | | | | | | | | | | | private keys and/or callback functions which directly correspond to their SSL_CTX_xxx() counterparts but work on a per-connection basis. This is needed for applications which have to configure certificates on a per-connection basis (e.g. Apache+mod_ssl) instead of a per-context basis (e.g. s_server). For the RSA certificate situation is makes no difference, but for the DSA certificate situation this fixes the "no shared cipher" problem where the OpenSSL cipher selection procedure failed because the temporary keys were not overtaken from the context and the API provided no way to reconfigure them. The new functions now let applications reconfigure the stuff and they are in detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh, SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback. Additionally a new non-public-API function ssl_cert_instantiate() is used as a helper function and also to reduce code redundancy inside ssl_rsa.c. Submitted by: Ralf S. Engelschall Reviewed by: Ben Laurie
* Updates to the new SSL compression codeMark J. Cox1999-02-161-2/+2
| | | | | | | | | | | | | | [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)] Fix so that the version number in the master secret, when passed via RSA, checks that if TLS was proposed, but we roll back to SSLv3 (because the server will not accept higher), that the version number is 0x03,0x01, not 0x03,0x00 [Eric A. Young, (from changes to C2Net SSLeay, integrated by Mark Cox)] Submitted by: Reviewed by: PR:
* Fix various memory leaks in SSL, apps and DSADr. Stephen Henson1999-02-151-2/+6
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-0/+18
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-40/+31
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+840