ispell (and minor modifications)
[openssl.git] / crypto / pkcs7 / pk7_mime.c
index 54d5f422ad7d1482ae46c219246b25dbc5e22fc3..734643be2874f5e013356505c9dba5407c8c9fb4 100644 (file)
@@ -597,7 +597,7 @@ static int mime_hdr_addparam(MIME_HEADER *mhdr, char *name, char *value)
                tmpval = BUF_strdup(value);
                if(!tmpval) return 0;
        } else tmpval = NULL;
-       /* Paramter values are case sensitive so leave as is */
+       /* Parameter values are case sensitive so leave as is */
        mparam = (MIME_PARAM *) Malloc(sizeof(MIME_PARAM));
        if(!mparam) return 0;
        mparam->param_name = tmpname;
@@ -643,14 +643,14 @@ static void mime_hdr_free(MIME_HEADER *hdr)
        if(hdr->name) Free(hdr->name);
        if(hdr->value) Free(hdr->value);
        if(hdr->params) sk_pop_free(hdr->params, mime_param_free);
-       Free((char *)hdr);
+       Free(hdr);
 }
 
 static void mime_param_free(MIME_PARAM *param)
 {
        if(param->param_name) Free(param->param_name);
        if(param->param_value) Free(param->param_value);
-       Free((char *)param);
+       Free(param);
 }
 
 /* Check for a multipart boundary. Returns: