update to pre-4.87 master
[exim.git] / src / src / pdkim / polarssl / base64.h
similarity index 94%
rename from src/src/pdkim/base64.h
rename to src/src/pdkim/polarssl/base64.h
index a3fd3954736fb8b1f2c2e0c24aae0741d9946b8a..2ae416920053058530524eeba4262d5269f1077d 100644 (file)
@@ -22,7 +22,6 @@
  *  with this program; if not, write to the Free Software Foundation, Inc.,
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-
 #ifndef POLARSSL_BASE64_H
 #define POLARSSL_BASE64_H
 
@@ -70,6 +69,13 @@ int base64_encode( unsigned char *dst, int *dlen,
 int base64_decode( unsigned char *dst, int *dlen,
                    const unsigned char *src, int  slen );
 
+/**
+ * \brief          Checkup routine
+ *
+ * \return         0 if successful, or 1 if the test failed
+ */
+int base64_self_test( int verbose );
+
 #ifdef __cplusplus
 }
 #endif