bcrypt-ECDHSecretAgreement: Also add a missing RESOLVE_FUNC for key_asymmetric_duplicate.

Spotted by Juuso Alasuutari <juuso.alasuutari@gmail.com>.
This commit is contained in:
Zebediah Figura 2020-10-27 10:42:57 -05:00
parent 3dc5147b28
commit db6b6282eb

View File

@ -1,4 +1,4 @@
From 6176e021f570d5b6ed95dd521450a60ef02d955c Mon Sep 17 00:00:00 2001
From ef218059ebea8a860dea6b12a7b28984c51d2777 Mon Sep 17 00:00:00 2001
From: Derek Lesho <dlesho@codeweavers.com>
Date: Fri, 2 Oct 2020 11:29:24 -0500
Subject: [PATCH] bcrypt: Allow multiple backends to coexist.
@ -9,8 +9,8 @@ Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
dlls/bcrypt/bcrypt_internal.h | 3 +
dlls/bcrypt/gnutls.c | 32 ++++--
dlls/bcrypt/macos.c | 18 +++-
dlls/bcrypt/unixlib.c | 193 ++++++++++++++++++++++++++++++++++
5 files changed, 234 insertions(+), 15 deletions(-)
dlls/bcrypt/unixlib.c | 194 ++++++++++++++++++++++++++++++++++
5 files changed, 235 insertions(+), 15 deletions(-)
create mode 100644 dlls/bcrypt/unixlib.c
diff --git a/dlls/bcrypt/Makefile.in b/dlls/bcrypt/Makefile.in
@ -126,10 +126,10 @@ index d8bba46ad5c..8df5ca8645f 100644
#endif
diff --git a/dlls/bcrypt/unixlib.c b/dlls/bcrypt/unixlib.c
new file mode 100644
index 00000000000..c122df63f0b
index 00000000000..a158ec1630a
--- /dev/null
+++ b/dlls/bcrypt/unixlib.c
@@ -0,0 +1,193 @@
@@ -0,0 +1,194 @@
+#if 0
+#pragma makedep unix
+#endif
@ -306,6 +306,7 @@ index 00000000000..c122df63f0b
+ RESOLVE_FUNC(symmetric_destroy)
+ RESOLVE_FUNC(asymmetric_init)
+ RESOLVE_FUNC(asymmetric_generate)
+ RESOLVE_FUNC(asymmetric_duplicate)
+ RESOLVE_FUNC(asymmetric_sign)
+ RESOLVE_FUNC(asymmetric_verify)
+ RESOLVE_FUNC(asymmetric_destroy)