diff options
Diffstat (limited to 'src/openvpn/base64.h')
-rw-r--r-- | src/openvpn/base64.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/openvpn/base64.h b/src/openvpn/base64.h index 92a195a..5679bc9 100644 --- a/src/openvpn/base64.h +++ b/src/openvpn/base64.h @@ -2,22 +2,22 @@ * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * + * * 3. Neither the name of the Institute nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -35,6 +35,7 @@ #define _BASE64_H_ int openvpn_base64_encode(const void *data, int size, char **str); + int openvpn_base64_decode(const char *str, void *data, int size); #endif |