Created attachment 202125 [details] Fixed mosquitto_internal.h patch which defines HAVE_OPENSSL_OPAQUE_STRUCTS OpenSSL fixes from bug #232168 break mosquitto_passwd. The problem was originally mentioned here: https://github.com/eclipse/mosquitto/issues/1032 The patches reference HAVE_OPENSSL_OPAQUE_STRUCTS, but that is not defined anywhere. Also, #ifdef in mosquitto_passwd.c patch should be #ifndef.
Created attachment 202126 [details] Fixed mosquitto_passwd.c patch with correct #ifndef.
Created attachment 202127 [details] new patch for mosquitto_passwd.c Fix was actually simpler. No need to modify patch-lib_mosquitto__internal.h.
PS: The utility is broken on 11.2-RELEASE. See the updated version here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236459