dst_test.c revision 7c37bc1a67a80209e05f6b1c01fa7fde7d0dd200
/*
* Copyright (C) 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
* ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
* SOFTWARE.
*/
#include <config.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h> /* XXX */
#include <isc/assertions.h>
static void
char *data = "This is some data";
unsigned char sig[512];
/* Advance 1 byte for fun */
}
static void
if (ret != 0)
return;
if (ret != 0)
return;
}
static void
int alg = DST_ALG_DH;
if (ret != 0)
return;
if (ret != 0)
return;
if (ret != 0)
return;
if (ret != 0)
return;
if (ret != 0)
return;
if (ret != 0)
return;
{
int i;
printf("secrets don't match\n");
printf("\n");
printf("\n");
}
}
static void
if (alg != DST_ALG_DH)
}
static void
get_random() {
unsigned char data[25];
unsigned int i;
for (i = 0; i < sizeof data; i++)
printf("\n");
}
int
main() {
isc_mem_create(0, 0, &mctx);
get_random();
/* isc_mem_stats(mctx, stdout);*/
exit(0);
}