diff options
author | 2014-05-31 10:58:50 +0000 | |
---|---|---|
committer | 2014-05-31 10:58:50 +0000 | |
commit | 3f1a54b16e8c63a5105b78a2e454045a31d418c7 (patch) | |
tree | 75d612936186639f26ceb3876f320574d10c7e89 /lib/libssl/ssl_lib.c | |
parent | ECDH and ECDSA will not work overly well if there is no EC, so unifdef (diff) | |
download | wireguard-openbsd-3f1a54b16e8c63a5105b78a2e454045a31d418c7.tar.xz wireguard-openbsd-3f1a54b16e8c63a5105b78a2e454045a31d418c7.zip |
unifdef -UDOXYGEN and manually remove the few doxygen comments that are not
wrapped in #ifdef DOXYGEN...
Requested by miod@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-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)) |