summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs/gcc-bounds/md-4.c
blob: 06fb2e18fde0ccc49e81f1f0076e269fbbd8e39c (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 <md5.h>

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

int
main(int argc, char **argv)
{
	MD5_CTX ctx;
	char ret[10];

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