|
globus_connect_gridftp_server
17.0~rc3
|
A standalone MD5 (RFC 1321) implementation, so the server can compute MD5 checksums without going through OpenSSL. OpenSSL refuses MD5 when the host is in FIPS mode. MD5 is used here just to verify that files match.
gfs_md5.h defines the interface for using our internal MD5. Its a small abstraction which allows us to hide some symbols that conflict with OpenSSL symbols, and allows us to change the implementation if we want to at somepoint.
openbsd_compat.h is added as a minor compatibility layer to the upstream code.
Uses OpenBSD's libc md5 implementation. This version was chosen because it is widely used (adapted to libmd), public domain, self-contained, and free of symbol collisions with libcrypto while following a the same call structure.
Applies the following minor patch to OpenBSD's libc:
md5.c – https://github.com/openbsd/src/blob/master/lib/libc/hash/md5.c $OpenBSD: md5.c,v 1.13 2025/04/14 18:32:24 claudio Exp $md5.h – https://github.com/openbsd/src/blob/master/include/md5.h +++ md5.c -#include <md5.h> +#include "md5.h"
+++ md5.h +/* ignore BSD-style attributes */ +#pragma GCC diagnostic ignored "-Wattributes"