]> git.ipfire.org Git - thirdparty/openvpn.git/commit
plugin: Export base64 encode and decode functions
authorDavid Sommerseth <davids@openvpn.net>
Fri, 5 May 2017 21:46:23 +0000 (23:46 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 5 Aug 2018 20:23:58 +0000 (22:23 +0200)
commit6690769f78bbfb889fef2a54088d979896c87d51
treeceaefe79ca728bf8cabedea1216a756bf1bc814b
parentae950fac832e688a7572d7614e5ad028bdcb1f75
plugin: Export base64 encode and decode functions

This patch builds on the "Export secure_memzero() to plug-ins" patch and
adds export of openvpn_base64_encode() and openvpn_base64_decode()

This also ships with a very simple plug-in which demonstrates how to use
the new exported functions.

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20170505214624.11675-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14558.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
include/openvpn-plugin.h.in
sample/sample-plugins/simple/base64.c [new file with mode: 0644]
src/openvpn/plugin.c