summaryrefslogtreecommitdiff
path: root/src/test_libFLAC/md5.h
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-03-15 18:25:22 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-03-15 18:31:00 +1100
commitcf55fc7bd7e53b0b15b241b5f9b894b9a051bb99 (patch)
treecb4e2f5eba2c17b92d120a4fdaa3e5b2da6cdcff /src/test_libFLAC/md5.h
parent9863998c995ad239aa2e712f8ee84e4813af5211 (diff)
downloadflac-cf55fc7bd7e53b0b15b241b5f9b894b9a051bb99.tar.gz
Add a test to validate that FLAC__MD5Final clears the MD5Context.
Closes: https://sourceforge.net/p/flac/bugs/407/
Diffstat (limited to 'src/test_libFLAC/md5.h')
-rw-r--r--src/test_libFLAC/md5.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/test_libFLAC/md5.h b/src/test_libFLAC/md5.h
new file mode 100644
index 00000000..b7ed057f
--- /dev/null
+++ b/src/test_libFLAC/md5.h
@@ -0,0 +1,26 @@
+/* test_libFLAC - Unit tester for libFLAC
+ * Copyright (C) 2014 Xiph.Org Foundation
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef FLAC__TEST_LIBFLAC_MD5_H
+#define FLAC__TEST_LIBFLAC_MD5_H
+
+#include "FLAC/ordinals.h"
+
+FLAC__bool test_md5(void);
+
+#endif