=== modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2018-02-22 14:34:19 +0000 +++ plugins.d/mandos-client.c 2018-04-01 19:27:30 +0000 @@ -420,8 +420,10 @@ if(result == NULL){ fprintf_plus(stderr, "gpgme_op_decrypt_result failed\n"); } else { - fprintf_plus(stderr, "Unsupported algorithm: %s\n", - result->unsupported_algorithm); + if(result->unsupported_algorithm != NULL) { + fprintf_plus(stderr, "Unsupported algorithm: %s\n", + result->unsupported_algorithm); + } fprintf_plus(stderr, "Wrong key usage: %u\n", result->wrong_key_usage); if(result->file_name != NULL){