[BACK]Return to tsig-openssl.h CVS log [TXT][DIR] Up to [local] / src / usr.sbin / nsd

File: [local] / src / usr.sbin / nsd / tsig-openssl.h (download)

Revision 1.2, Thu Jun 29 19:38:50 2023 UTC (11 months, 1 week ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.1: +6 -6 lines

Update to nsd 4.7.0

OK tb

/*
 * tsig-openssl.h -- Interface to OpenSSL for TSIG support.
 *
 * Copyright (c) 2001-2006, NLnet Labs. All rights reserved.
 *
 * See LICENSE for the license.
 *
 */

#ifndef TSIG_OPENSSL_H
#define TSIG_OPENSSL_H

#if defined(HAVE_SSL)

#include "region-allocator.h"

#include <openssl/hmac.h>
#include <openssl/sha.h>

/*
 * Initialize OpenSSL support for TSIG.
 */
int tsig_openssl_init(region_type *region);

void tsig_openssl_finalize(void);

#endif /* defined(HAVE_SSL) */

#endif /* TSIG_OPENSSL_H */