patch-tls_openssl_openssl-module_c 658 B

123456789101112131415161718192021
  1. $OpenBSD: patch-tls_openssl_openssl-module_c,v 1.1 2017/04/30 10:36:43 ajacoutot Exp $
  2. From b8d66d389cc7817691a5b39dd1eaa10907453223 Mon Sep 17 00:00:00 2001
  3. From: Ignacio Casal Quinteiro <qignacio@amazon.com>
  4. Date: Sun, 16 Apr 2017 18:59:15 +0200
  5. Subject: Fix warnings pointed out by the new flags added to meson
  6. --- tls/openssl/openssl-module.c.orig
  7. +++ tls/openssl/openssl-module.c
  8. @@ -61,9 +61,5 @@ g_io_module_unload (GIOModule *module)
  9. gchar **
  10. g_io_module_query (void)
  11. {
  12. - gchar *eps[] = {
  13. - G_TLS_BACKEND_EXTENSION_POINT_NAME,
  14. - NULL
  15. - };
  16. - return g_strdupv (eps);
  17. + return g_strsplit (G_TLS_BACKEND_EXTENSION_POINT_NAME, "!", -1);
  18. }