diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-31 10:58:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-31 10:58:51 +0000 |
commit | df4cd21dfeed39ef6ae39bf052bd57c4b196149b (patch) | |
tree | 7172145d4d752c89686d9eadcb6ede5da06a4996 | |
parent | 486d8730c12ea3b5610563e8fce373a8a5afca4a (diff) |
unifdef -UDOXYGEN and manually remove the few doxygen comments that are not
wrapped in #ifdef DOXYGEN...
Requested by miod@
-rw-r--r-- | lib/libssl/ssl_lib.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 1138ac5a699..55c6b4493a2 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -1,6 +1,3 @@ -/*! \file ssl/ssl_lib.c - * \brief Version independent SSL functions. - */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2957,12 +2954,6 @@ SSL_want(const SSL *s) return (s->rwstate); } -/*! - * \brief Set the callback for generating temporary RSA keys. - * \param ctx the SSL context. - * \param cb the callback - */ - void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export, @@ -2979,28 +2970,6 @@ int keylength)) SSL_callback_ctrl(ssl, SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb); } -#ifdef DOXYGEN -/*! - * \brief The RSA temporary key callback function. - * \param ssl the SSL session. - * \param is_export \c TRUE if the temp RSA key is for an export ciphersuite. - * \param keylength if \c is_export is \c TRUE, then \c keylength is the size - * of the required key in bits. - * \return the temporary RSA key. - * \sa SSL_CTX_set_tmp_rsa_callback, SSL_set_tmp_rsa_callback - */ - -RSA * -cb(SSL *ssl, int is_export, int keylength) -{} -#endif - -/*! - * \brief Set the callback for generating temporary DH keys. - * \param ctx the SSL context. - * \param dh the callback - */ - void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, DH *(*dh)(SSL *ssl, int is_export, int keylength)) |