mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
16 lines
389 B
Diff
16 lines
389 B
Diff
--- a/spice-common/common/ssl_verify.c
|
|
+++ b/spice-common/common/ssl_verify.c
|
|
@@ -33,12 +33,10 @@
|
|
#include <string.h>
|
|
#include <gio/gio.h>
|
|
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000
|
|
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)
|
|
{
|