summaryrefslogtreecommitdiff
path: root/apps/ciphers.c
diff options
context:
space:
mode:
authornils <nils>2005-08-14 21:48:30 +0000
committernils <nils>2005-08-14 21:48:30 +0000
commitd0c1ced5538dad2a5e57fc7e24b7e1ed176ca7f6 (patch)
tree2b541fbcbfad7ecb2ccda77df7a187be4fb6243d /apps/ciphers.c
parentba226e243c068c0a6ed9519fd7cc4dd3558f4890 (diff)
downloadopenssl-d0c1ced5538dad2a5e57fc7e24b7e1ed176ca7f6.tar.gz
Let the TLSv1_method() etc. functions return a const SSL_METHOD
pointer and make the SSL_METHOD parameter in SSL_CTX_new, SSL_CTX_set_ssl_version and SSL_set_ssl_method const.
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r--apps/ciphers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c
index 43f0ac594..f5e8700a0 100644
--- a/apps/ciphers.c
+++ b/apps/ciphers.c
@@ -90,7 +90,7 @@ int MAIN(int argc, char **argv)
SSL_CTX *ctx=NULL;
SSL *ssl=NULL;
char *ciphers=NULL;
- SSL_METHOD *meth=NULL;
+ const SSL_METHOD *meth=NULL;
STACK_OF(SSL_CIPHER) *sk;
char buf[512];
BIO *STDout=NULL;