dst_test.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 1999-2001, 2004, 2005, 2007, 2009, 2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: dst_test.c,v 1.46 2009/09/01 00:22:25 jinmei Exp $ */
#include <config.h>
#include <stdlib.h>
#include <unistd.h> /* XXX */
#include <dns/fixedname.h>
char *current;
const char *tmp = "/tmp";
static void
const char *data = "This is some data";
unsigned char sig[512];
/*
* Advance 1 byte for fun.
*/
if (ret != ISC_R_SUCCESS) {
return;
}
if (ret != ISC_R_SUCCESS) {
return;
}
if (ret != ISC_R_SUCCESS) {
return;
}
if (ret != ISC_R_SUCCESS) {
return;
}
}
static void
unsigned char buffer1[2048];
unsigned char buffer2[2048];
if (ret != ISC_R_SUCCESS)
return;
if (ret != ISC_R_SUCCESS)
return;
if (ret != ISC_R_SUCCESS)
return;
}
static void
if (ret != 0)
return;
if (ret != 0)
return;
dst_key_free(&key);
}
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");
}
dst_key_free(&key1);
dst_key_free(&key2);
}
static void
if (ret != ISC_R_SUCCESS)
return;
if (alg != DST_ALG_DH)
dst_key_free(&key);
}
int
main(void) {
isc_buffer_t b;
if (result != ISC_R_SUCCESS)
return (1);
return (1);
perror("getcwd");
return (1);
}
if (result != ISC_R_SUCCESS)
return (1);
if (result != ISC_R_SUCCESS)
return (1);
isc_buffer_add(&b, 5);
if (result != ISC_R_SUCCESS)
return (1);
mctx);
isc_buffer_add(&b, 3);
if (result != ISC_R_SUCCESS)
return (1);
/* isc_mem_stats(mctx, stdout);*/
return (0);
}