summaryrefslogtreecommitdiffstats
path: root/src/dcmtk-2-const-correctness.patch
blob: 63b089d104e6ea70f119e126e90bc1ea7cdcc703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This file is part of mingw-cross-env.
See doc/index.html for further information.

This patch has been taken from:
http://git.dcmtk.org/web?p=dcmtk.git;a=commitdiff;h=9ae9f56c4d40ebc7408fcbf84a7521d1d1341f5e

--- dcmtk-3.5.4.orig/dcmtls/libsrc/tlslayer.cc	2005-12-08 16:48:28.000000000 +0100
+++ dcmtk-3.5.4/dcmtls/libsrc/tlslayer.cc	2010-06-16 06:25:12.279931390 +0200
@@ -188,7 +188,7 @@
    SSLeay_add_all_algorithms();
    seedPRNG(randFile);
 
-   SSL_METHOD *method = NULL;
+   const SSL_METHOD *method = NULL;
    switch (networkRole)
    {
      case DICOM_APPLICATION_ACCEPTOR: