Make these weak as Matthias Drochner pointed out.
This commit is contained in:
parent
d02011e188
commit
e9b01fa061
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: hmac_md5.c,v 1.1 2005/09/24 19:04:52 elad Exp $ */
|
/* $NetBSD: hmac_md5.c,v 1.2 2006/06/23 17:15:18 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hmac_md5 - using HMAC from RFC 2104
|
* hmac_md5 - using HMAC from RFC 2104
|
||||||
|
@ -8,6 +8,8 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <md5.h> /* XXX */
|
#include <md5.h> /* XXX */
|
||||||
|
|
||||||
|
__weak_alias(hmac_md5,_hmac_md5)
|
||||||
|
|
||||||
#define HMAC_HASH MD5
|
#define HMAC_HASH MD5
|
||||||
#define HMAC_FUNC hmac_md5
|
#define HMAC_FUNC hmac_md5
|
||||||
#define HMAC_KAT hmac_kat_md5
|
#define HMAC_KAT hmac_kat_md5
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: hmac_sha1.c,v 1.1 2005/09/24 19:04:52 elad Exp $ */
|
/* $NetBSD: hmac_sha1.c,v 1.2 2006/06/23 17:15:18 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hmac_sha1 - using HMAC from RFC 2104
|
* hmac_sha1 - using HMAC from RFC 2104
|
||||||
|
@ -7,6 +7,8 @@
|
||||||
#include "namespace.h"
|
#include "namespace.h"
|
||||||
#include <sha1.h> /* XXX */
|
#include <sha1.h> /* XXX */
|
||||||
|
|
||||||
|
__weak_alias(hmac_sha1,_hmac_sha1)
|
||||||
|
|
||||||
#define HMAC_HASH SHA1
|
#define HMAC_HASH SHA1
|
||||||
#define HMAC_FUNC hmac_sha1
|
#define HMAC_FUNC hmac_sha1
|
||||||
#define HMAC_KAT hmac_kat_sha1
|
#define HMAC_KAT hmac_kat_sha1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: namespace.h,v 1.116 2006/05/05 00:03:21 rpaulo Exp $ */
|
/* $NetBSD: namespace.h,v 1.117 2006/06/23 17:15:18 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
|
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
|
||||||
|
@ -346,6 +346,8 @@
|
||||||
#define hesiod_init _hesiod_init
|
#define hesiod_init _hesiod_init
|
||||||
#define hesiod_resolve _hesiod_resolve
|
#define hesiod_resolve _hesiod_resolve
|
||||||
#define hesiod_to_bind _hesiod_to_bind
|
#define hesiod_to_bind _hesiod_to_bind
|
||||||
|
#define hmac_md5 _hmac_md5
|
||||||
|
#define hmac_sha1 _hmac_sha1
|
||||||
#define iconv _iconv
|
#define iconv _iconv
|
||||||
#define iconv_open _iconv_open
|
#define iconv_open _iconv_open
|
||||||
#define iconv_close _iconv_close
|
#define iconv_close _iconv_close
|
||||||
|
|
Loading…
Reference in New Issue