diff options
| author | Mikhail Teterin <mi@FreeBSD.org> | 2012-02-15 03:40:32 +0000 |
|---|---|---|
| committer | Mikhail Teterin <mi@FreeBSD.org> | 2012-02-15 03:40:32 +0000 |
| commit | 60c027a58886dd76883911a750ae669477cd51e3 (patch) | |
| tree | 954842acc6d4f1eae64a16494d936a4cbd5de7c4 /net/udt/files/patch-md5 | |
| parent | Perl module to test many params as one test (diff) | |
UDP-based Data Transfer
The UDT software is a C++ library containing the UDT API implementation
and programming examples.
WWW: http://udt.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=291401
Diffstat (limited to 'net/udt/files/patch-md5')
| -rw-r--r-- | net/udt/files/patch-md5 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/udt/files/patch-md5 b/net/udt/files/patch-md5 new file mode 100644 index 000000000000..cb72fe2b5dc4 --- /dev/null +++ b/net/udt/files/patch-md5 @@ -0,0 +1,24 @@ +Use OpenSSL's md5-implementation instead of UDT's own. + +Rejected by author because of concerns for Windows computers +and mobile devices. + +--- src/common.cpp 2011-12-26 12:09:11.000000000 -0500 ++++ src/common.cpp 2012-01-26 17:48:01.000000000 -0500 +@@ -56,5 +56,5 @@ + + #include <cmath> +-#include "md5.h" ++#include <openssl/md5.h> + #include "common.h" + +@@ -742,8 +742,4 @@ + void CMD5::compute(const char* input, unsigned char result[16]) + { +- md5_state_t state; +- +- md5_init(&state); +- md5_append(&state, (const md5_byte_t *)input, strlen(input)); +- md5_finish(&state, result); ++ MD5((const unsigned char *)input, strlen(input), result); + } |
