Skip to contentSkip to conversation

X509 TLS digest identifcation to plugin environment

PATCH RESEND In review David Sommerseth 1 participant 2 messages Jul 2, 2008 – Jul 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 X509 TLS digest identifcation to plugin environment

Hello!

My last attempt to send to this mailing list was rejected, so I'm just trying it once more.

kind regards,

David Sommerseth

-------- Original Message --------
Subject: X509 TLS digest identifcation to plugin environment
Date: Wed, 18 Jun 2008 16:35:23 +0200
From: David Sommerseth <[email protected]...>
To: [email protected]

Hello!

I posted the following patch to the SourceForge patch tracker almost 2 weeks ago. I do not see if it has been acted upon this patch at all

http://sourceforge.net/tracker/index.php?func=detail&aid=1986805&group_id=48978&atid=454721

Patch summary:
The patch implements another environment variable which is accessible for the plug-in interface. A tls_digest_%i variable will contain the certificate X509 digest in SHA1 format.

The patch compiles cleanly against the 2.0 branch. It complains with "hunk" fails when patching against the 2.1 branch, but it seems to me to be mainly that the ssl.c has received more attention lately, and the part of the code which I patch is being moved a little bit.

This patch only adds code, it do not change existing code.

Does anyone have a comment to this patch? Does it need some rework to be accepted? Some feedback would be appreciated.

kind regards,

David Sommerseth

#1 lore raw

Hello again!

I've gone through the code and made a patch which cleanly patches against 2.1rc7. The only difference is that the line numbers where different due to inclusion of more functions and code into ssl.c.

Has anyone tried this patch at all (the old 2.0)? Any comments would be appreciated.

kind regards,

David Sommerseth

Quoted 58 lines · David Sommerseth

Hello!

My last attempt to send to this mailing list was rejected, so I'm just trying it once more.

kind regards,

David Sommerseth

-------- Original Message --------
Subject: X509 TLS digest identifcation to plugin environment
Date: Wed, 18 Jun 2008 16:35:23 +0200
From: David Sommerseth <[email protected]...>
To: [email protected]

Hello!

I posted the following patch to the SourceForge patch tracker almost 2 weeks ago. I do not see if it has been acted upon this patch at all

http://sourceforge.net/tracker/index.php?func=detail&aid=1986805&group_id=48978&atid=454721

Patch summary:
The patch implements another environment variable which is accessible for the plug-in interface. A tls_digest_%i variable will contain the certificate X509 digest in SHA1 format.

The patch compiles cleanly against the 2.0 branch. It complains with "hunk" fails when patching against the 2.1 branch, but it seems to me to be mainly that the ssl.c has received more attention lately, and the part of the code which I patch is being moved a little bit.

This patch only adds code, it do not change existing code.

Does anyone have a comment to this patch? Does it need some rework to be accepted? Some feedback would be appreciated.

kind regards,

David Sommerseth

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel