diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-01 06:47:48 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-01 06:47:48 +0000 |
commit | 529d11f93dc27dac180d5726c2f78b45351b1960 (patch) | |
tree | 5508968a188888a7abc14949957f54ebe47acc33 /src/rfc2015.c | |
parent | c50e4617756ae3f57b349bd149740669d94cf767 (diff) |
guard against null verify result.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1559 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/rfc2015.c')
-rw-r--r-- | src/rfc2015.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rfc2015.c b/src/rfc2015.c index 4f050d3b..48d178e3 100644 --- a/src/rfc2015.c +++ b/src/rfc2015.c @@ -168,6 +168,8 @@ static gchar *sig_status_full(gpgme_ctx_t ctx, gpgme_verify_result_t result) gchar *ctime_str_utf8; gchar *retval; + g_return_val_if_fail(result != NULL, NULL); + str = g_string_new(""); sig = result->signatures; |