sig_24.c revision 0e8cf9a887c70f96ac448b06c069d90b830215cc
/*
* 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.
*/
/* $Id: sig_24.c,v 1.7 1999/02/16 22:42:29 marka Exp $ */
/* RFC 2065 */
#ifndef RDATA_GENERIC_SIG_24_H
#define RDATA_GENERIC_SIG_24_H
static dns_result_t
{
unsigned char c;
char *e;
/* type covered */
if (*e != 0)
return (result);
}
/* algorithm */
return (DNS_R_RANGE);
/* labels */
return (DNS_R_RANGE);
/* original ttl */
/* signature expiration */
/* time signed */
/* key footprint */
/* signer */
/* sig */
}
static dns_result_t
char buf[sizeof "4294967295"];
unsigned long ttl;
unsigned long when;
unsigned long exp;
unsigned long foot;
/* type covered */
/* algorithm */
/* labels */
/* ttl */
/* sig exp */
/* time signed */
/* footprint */
/* signer */
/* sig */
}
static dns_result_t
{
/*
* type covered: 2
* algorithm: 1
* labels: 1
* original ttl: 4
* signature expiration: 4
* time signed: 4
* key footprint: 2
*/
return (DNS_R_UNEXPECTEDEND);
/* signer */
/* sig */
}
static dns_result_t
/*
* type covered: 2
* algorithm: 1
* labels: 1
* original ttl: 4
* signature expiration: 4
* time signed: 4
* key footprint: 2
*/
/* signer */
/* signature */
}
static int
int result;
if (result != 0)
return (result);
if (result != 0)
return (result);
}
static dns_result_t
{
return (DNS_R_NOTIMPLEMENTED);
}
static dns_result_t
return (DNS_R_NOTIMPLEMENTED);
}
#endif /* RDATA_GENERIC_SIG_24_H */