Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL
[openssl.git] / test / testutil.h
index 3a5c4866dad1edfa363168ac1f3a244d28a5143f..f7d00dc813998fd76affaae0931c8d118aaf1026 100644 (file)
@@ -537,4 +537,15 @@ void test_clearstanza(STANZA *s);
  */
 char *glue_strings(const char *list[], size_t *out_len);
 
+/*
+ * Pseudo random number generator of low quality but having repeatability
+ * across platforms.  The two calls are replacements for random(3) and
+ * srandom(3).
+ */
+uint32_t test_random(void);
+void test_random_seed(uint32_t sd);
+
+/* Create a file path from a directory and a filename */
+char *test_mk_file_path(const char *dir, const char *file);
+
 #endif                          /* HEADER_TESTUTIL_H */