Select Git revision
-
Martin Stjernholm authored
Rev: src/bignum.h:1.30 Rev: src/compilation.h:1.32 Rev: src/dmalloc.h:1.59 Rev: src/dynamic_buffer.c:1.26 Rev: src/dynamic_buffer.h:1.21 Rev: src/fdlib.h:1.56 Rev: src/gc.c:1.276 Rev: src/object.h:1.92 Rev: src/pike_threadlib.h:1.59
Martin Stjernholm authoredRev: src/bignum.h:1.30 Rev: src/compilation.h:1.32 Rev: src/dmalloc.h:1.59 Rev: src/dynamic_buffer.c:1.26 Rev: src/dynamic_buffer.h:1.21 Rev: src/fdlib.h:1.56 Rev: src/gc.c:1.276 Rev: src/object.h:1.92 Rev: src/pike_threadlib.h:1.59
bf_test.c 383 B
/* bf_test.c
*
* $Id$
* Test the blow fish implementation. */
#include "blowfish.h"
#include <stdio.h>
#include <stdlib.h>
int main (int argc UNUSED, char **argv UNUSED)
{
if (bf_selftest())
{
fprintf(stderr, "Blowfish works.\n");
return EXIT_SUCCESS;
}
else
{
fprintf(stderr, "ERROR: Blowfish failed.\n");
return EXIT_FAILURE;
}
}