aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-01-11 10:51:28 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-01-11 10:51:28 +0000
commit7ff1619df0d9c4fc58119bd23e8e6904679db8b6 (patch)
tree40990bea5032b5330125ece444a854efa5ac1f56 /socket.c
parentfa8953f9f0852d1bc9baaee927500a98998fb97b (diff)
downloadfetchmail-7ff1619df0d9c4fc58119bd23e8e6904679db8b6.tar.gz
fetchmail-7ff1619df0d9c4fc58119bd23e8e6904679db8b6.tar.bz2
fetchmail-7ff1619df0d9c4fc58119bd23e8e6904679db8b6.zip
Fix a few compiler warnings through casts.
Make MD5Update argument const. svn path=/branches/BRANCH_6-3/; revision=4621
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 4c3c17d3..7a62ffc1 100644
--- a/socket.c
+++ b/socket.c
@@ -659,7 +659,7 @@ static int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict )
for (i = 0, r = sk_GENERAL_NAME_num(gens); i < r; ++i) {
const GENERAL_NAME *gn = sk_GENERAL_NAME_value(gens, i);
if (gn->type == GEN_DNS) {
- char *p1 = gn->d.ia5->data;
+ char *p1 = (char *)gn->d.ia5->data;
char *p2 = _ssl_server_cname;
if (outlevel >= O_VERBOSE)
report(stderr, "Subject Alternative Name: %s\n", p1);