Subject: | [PATCH] Quiet some warinings in Crypt-SSLeay |
The patch below quiets some warnings in Perls compiled with gcc's using -Wwrite-strings.
--- SSLeay.xs.old 2007-12-26 19:47:42.000000000 -0600
+++ SSLeay.xs 2007-12-26 19:47:49.000000000 -0600
@@ -42,7 +42,7 @@
static void InfoCallback(const SSL *s,int where,int ret)
{
- char *str;
+ const char *str;
int w;
w = where & ~SSL_ST_MASK;