Looked at the code, did client tests on 3.0.1, added a few spaces in code like "if(nid == NID_undef)" :-)
As for the actual digest / encoding parts, no idea what that does, but the code looks safe wrt memcpy(), length of things, etc. Your patch has been applied to the master branch. commit cf704eef472515e3d6469bd5377065a1378eb5c2 Author: Selva Nair Date: Tue Dec 14 11:59:18 2021 -0500 Add a function to encode digests with PKCS1 DigestInfo wrapper Signed-off-by: Selva Nair <selva.n...@gmail.com> Acked-by: Arne Schwabe <a...@rfc2549.org> Message-Id: <20211214165928.30676-9-selva.n...@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23433.html Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel