Switch to unified view
a/libupnpp/md5.cxx | b/libupnpp/md5.cxx | ||
---|---|---|---|
... |
... |
||
30 | #include "config.h" |
30 | #include "config.h" |
31 | 31 | ||
32 | #include <stdio.h> |
32 | #include <stdio.h> |
33 | #include <string.h> |
33 | #include <string.h> |
34 | 34 | ||
35 | #include <string> |
||
36 | using namespace std; |
||
37 | |||
35 | #include "md5.hxx" |
38 | #include "md5.hxx" |
39 | |||
40 | namespace UPnPP { |
||
36 | 41 | ||
37 | typedef unsigned int md5uint32; |
42 | typedef unsigned int md5uint32; |
38 | 43 | ||
39 | static void MD5Transform(md5uint32 [4], const unsigned char [64]); |
44 | static void MD5Transform(md5uint32 [4], const unsigned char [64]); |
40 | 45 | ||
... |
... |
||
362 | } |
367 | } |
363 | digest.append(1, (unsigned char)val); |
368 | digest.append(1, (unsigned char)val); |
364 | } |
369 | } |
365 | return digest; |
370 | return digest; |
366 | } |
371 | } |
372 | |||
373 | } |