Blob Blame History Raw
#include <config.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <gnutls/crypto.h>

/* this tests whether including crypto.h is sufficient to use
 * its functionality */

int main(int argc, char **argv)
{
	char output[64];
	assert(gnutls_hash_fast(GNUTLS_DIG_SHA256, "abc", 3, output) >= 0);
	return 0;
}