aboutsummaryrefslogtreecommitdiff
path: root/ssl/ssl_rsa.c
AgeCommit message (Collapse)AuthorFilesLines
2005-04-08add support for DER encoded private keys to SSL_CTX_use_PrivateKey_file()Nils Larsch1-0/+10
and SSL_use_PrivateKey_file() PR: 1035 Submitted by: Walter Goulet Reviewed by: Nils Larsch
2005-04-07get rid of very buggy and very imcomplete DH cert supportNils Larsch1-68/+18
Reviewed by: Bodo Moeller
2005-04-01really clear the error queue hereNils Larsch1-1/+1
PR: 860
2004-03-15Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte1-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.
2003-08-11make sure no error is left in the queue that is intentionally ignoredBodo Möller1-1/+3
2002-07-10Reorder inclusion of header files:Lutz Jänicke1-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:
2002-02-28use ERR_peek_last_error() instead of ERR_peek_error()Bodo Möller1-2/+2
2001-09-03Rename recently introduced functions for improved code clarity:Bodo Möller1-2/+2
[DR]SA_up => [DR]SA_up_ref
2001-08-25Changes crypto/evp/ and ssl/ code from directly incrementing referenceGeoff Thorpe1-2/+2
counts in DH, DSA, and RSA structures. Instead they use the new "***_up()" functions that handle this.
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte1-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.
2000-11-06The consequence of constification is that to pass the address to aRichard Levitte1-2/+2
pointer to a const double pointe parameter, the pointer must point to const data as well.
1999-08-05typo while I poke around...Ralf S. Engelschall1-1/+1
1999-07-21Additional user data argument to pem_password_cb function typeBodo Möller1-8/+8
and to lots of PEM_... functions. Submitted by: Damien Miller <dmiller@ilogic.com.au>
1999-05-09Create a duplicate of the SSL_CTX's CERT in SSL_new instead of copyingBodo Möller1-9/+9
pointers. The cert_st handling is changed by this in various ways. Submitted by: Reviewed by: PR:
1999-05-09Use "const char *" instead of "char *" for filenames passed to functions.Bodo Möller1-6/+6
Submitted by: Reviewed by: PR:
1999-05-01New function SSL_CTX_use_certificate_chain_file.Bodo Möller1-0/+78
Submitted by: Reviewed by: PR:
1999-04-26Remove NOPROTO definitions and error code comments.Ulf Möller1-6/+0
1999-04-23Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1-5/+5
Submitted by: Reviewed by: PR:
1999-04-19Change functions to ANSI C.Ulf Möller1-74/+21
1999-02-25Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DHRalf S. Engelschall1-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
1999-02-16Updates to the new SSL compression codeMark J. Cox1-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:
1999-02-15Fix various memory leaks in SSL, apps and DSADr. Stephen Henson1-2/+6
1998-12-21Import of old SSLeay release: SSLeay 0.9.1b (unreleased)SSLeayRalf S. Engelschall1-0/+18
1998-12-21Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1-40/+31
1998-12-21Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1-0/+840