summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs/gcc-bounds/md-2.c
blob: 86fa059ac35983d6985aba56b9d78f30cd75f149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <md4.h>

const unsigned char data[] = "1234567890abcdefghijklmnopqrstuvwxyz";

int
main(int argc, char **argv)
{
	MD4_CTX ctx;
	char ret[33];

	MD4Init(&ctx);
	MD4Data(data, sizeof data - 1, ret);
	printf("%s\n", ret);
}