aboutsummaryrefslogtreecommitdiff
path: root/contrib/libfido2/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-09-19 17:06:12 +0000
committerEd Maste <emaste@FreeBSD.org>2023-09-19 17:06:12 +0000
commit2ccfa855b2fc331819953e3de1b1c15ce5b95a7e (patch)
tree31cac31e743da6bab841b55258a3e85e9743bb5e /contrib/libfido2/openbsd-compat/openbsd-compat.h
parent1843dfb05ed80149f5a412180af882e3cb8f451b (diff)
parent00db45a65823dc224f3630bc8185e789064fef6a (diff)
downloadsrc-2ccfa855b2fc331819953e3de1b1c15ce5b95a7e.tar.gz
src-2ccfa855b2fc331819953e3de1b1c15ce5b95a7e.zip
libfido2: update to 1.13.0
Some highlights from NEWS entries: ** Improved OpenSSL 3.0 compatibility. ** Support for hidraw(4) on FreeBSD; gh#597. ** Improved support for FIDO 2.1 authenticators. PR: 273596 Relnotes: Yes Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/libfido2/openbsd-compat/openbsd-compat.h')
-rw-r--r--contrib/libfido2/openbsd-compat/openbsd-compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/libfido2/openbsd-compat/openbsd-compat.h b/contrib/libfido2/openbsd-compat/openbsd-compat.h
index dc9acec4c0a8..9f1ea3e7cf51 100644
--- a/contrib/libfido2/openbsd-compat/openbsd-compat.h
+++ b/contrib/libfido2/openbsd-compat/openbsd-compat.h
@@ -2,6 +2,7 @@
* Copyright (c) 2018-2021 Yubico AB. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
+ * SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef _OPENBSD_COMPAT_H
@@ -115,4 +116,8 @@ ssize_t getline(char **, size_t *, FILE *);
#define IOCTL_REQ(x) ((int)(x))
#endif
+#if !defined(HAVE_ASPRINTF)
+int asprintf(char **, const char *, ...);
+#endif
+
#endif /* !_OPENBSD_COMPAT_H */