]> git.ipfire.org Git - people/ms/dma.git/commitdiff
In OpenSSL 1.0, TLSv1_client_method() returns a const pointer.
authorPeter Pentchev <roam@ringlet.net>
Tue, 5 Jul 2011 12:41:27 +0000 (15:41 +0300)
committerPeter Pentchev <roam@ringlet.net>
Tue, 5 Jul 2011 12:41:27 +0000 (15:41 +0300)
crypto.c

index 8e2d33483bcafeb79f6101ad5439b805576a1ef2..60837b194b90d4e2bc00e57bd83786e6f3d3f671 100644 (file)
--- a/crypto.c
+++ b/crypto.c
@@ -80,7 +80,7 @@ int
 smtp_init_crypto(int fd, int feature)
 {
        SSL_CTX *ctx = NULL;
-       SSL_METHOD *meth = NULL;
+       const SSL_METHOD *meth = NULL;
        X509 *cert;
        int error;