From 4ebb342fcd90562bce999dcc0915b16f816fbbf2 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Sun, 14 Aug 2005 21:48:33 +0000 Subject: 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. --- apps/ciphers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/ciphers.c') diff --git a/apps/ciphers.c b/apps/ciphers.c index 43f0ac594a..f5e8700a01 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; -- cgit v1.2.3