You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Moenich <mo...@us.ibm.com> on 1998/10/12 18:31:03 UTC

[PATCH] TPF util_md5.c

Type cast for TPF

Index: util_md5.c
===================================================================
RCS file: /apache/apache/src/main/util_md5.c,v
retrieving revision 1.1.1.1
diff -a -b -C3 -r1.1.1.1 util_md5.c
*** util_md5.c  1998/10/12 09:15:42     1.1.1.1
--- util_md5.c  1998/10/12 09:18:10
***************
*** 111,117 ****
--- 111,121 ----

  API_EXPORT(char *) ap_md5(pool *p, const unsigned char *string)
  {
+ #ifdef TPF
+     return ap_md5_binary(p, string, strlen((const char *) string));
+ #else
      return ap_md5_binary(p, string, strlen(string));
+ #endif /* TPF */
  }

  /* these portions extracted from mpack, John G. Myers - jgm+@cmu.edu */


Joe Moenich
moenich@us.ibm.com
303 773-5483
tie-line 656-7487