summaryrefslogtreecommitdiff
path: root/app-emulation/spice/files/libressl.patch
blob: ddb22a8ac4f4f57bf06512c096e9efa0a6472d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/common/ssl_verify.c b/common/ssl_verify.c
index 27aa5d3..c4cafce 100644
--- a/spice-common/common/ssl_verify.c
+++ b/spice-common/common/ssl_verify.c
@@ -33,13 +33,6 @@
 #include <string.h>
 #include <gio/gio.h>
 
-#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER)
-static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1)
-{
-    return M_ASN1_STRING_data(asn1);
-}
-#endif
-
 static int verify_pubkey(X509* cert, const char *key, size_t key_size)
 {
     EVP_PKEY* cert_pubkey = NULL;