version 1.14, 2005/10/17 13:45:05 |
version 1.15, 2005/10/17 14:01:28 |
|
|
#include "includes.h" |
#include "includes.h" |
|
|
#include <openssl/bn.h> |
#include <openssl/bn.h> |
#ifdef LWRES |
|
#include <lwres/netdb.h> |
|
#include <dns/result.h> |
|
#else /* LWRES */ |
|
#include <netdb.h> |
#include <netdb.h> |
#endif /* LWRES */ |
|
|
|
#include "xmalloc.h" |
#include "xmalloc.h" |
#include "key.h" |
#include "key.h" |
|
|
|
|
RCSID("$OpenBSD$"); |
RCSID("$OpenBSD$"); |
|
|
#ifndef LWRES |
|
static const char *errset_text[] = { |
static const char *errset_text[] = { |
"success", /* 0 ERRSET_SUCCESS */ |
"success", /* 0 ERRSET_SUCCESS */ |
"out of memory", /* 1 ERRSET_NOMEMORY */ |
"out of memory", /* 1 ERRSET_NOMEMORY */ |
|
|
return "unknown error"; |
return "unknown error"; |
} |
} |
} |
} |
#endif /* LWRES */ |
|
|
|
|
|
/* |
/* |
* Read SSHFP parameters from key buffer. |
* Read SSHFP parameters from key buffer. |