pidgin/ljfisher-ssl-client-auth

media: Fix a NULL pointer deref crash, and add diagnostic logging.

I'm not entirely sure that just short-circuiting error handling in this
case is correct (in fact I suspect it's not), but it's certainly better
than a crash, and now there's detail on the actual error.

Closes #14033
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
datarootdir=@datarootdir@
datadir=@datadir@
sysconfdir=@sysconfdir@
Name: Pidgin (Gaim compatibility)
Description: Pidgin is a GTK2-based instant messenger application.
Version: @VERSION@
Requires: glib-2.0
Cflags: -I${pc_top_builddir}/${pcfiledir}/libpurple -I${pc_top_builddir}/${pcfiledir}/pidgin
Libs: ${pc_top_builddir}/${pcfiledir}/libpurple/libpurple.la