]> 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:26:01 +0000 (22:26 +0200)
commit6c26116759ddf1e9327a9239e14f8c94c98ec638
tree820b11abbe4e26c9a7a0519c07f80b1fa660c492
parent4c38e382fd6e91a587e7a59eff9cfa3d472c887b
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>
(cherry picked from commit 6690769f78bbfb889fef2a54088d979896c87d51)
include/openvpn-plugin.h.in
sample/sample-plugins/simple/base64.c [new file with mode: 0644]
src/openvpn/plugin.c