diff options
Diffstat (limited to 'src/escrow/escrow_api.c')
-rw-r--r-- | src/escrow/escrow_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/escrow/escrow_api.c b/src/escrow/escrow_api.c index 3e3496ff1..10faed90b 100644 --- a/src/escrow/escrow_api.c +++ b/src/escrow/escrow_api.c | |||
@@ -559,6 +559,8 @@ GNUNET_ESCROW_anchor_data_to_string (const struct GNUNET_ESCROW_Anchor *anchor) | |||
559 | enum GNUNET_ESCROW_Key_Escrow_Method | 559 | enum GNUNET_ESCROW_Key_Escrow_Method |
560 | GNUNET_ESCROW_method_string_to_number (const char *methodString) | 560 | GNUNET_ESCROW_method_string_to_number (const char *methodString) |
561 | { | 561 | { |
562 | if (NULL == methodString) | ||
563 | return GNUNET_ESCROW_KEY_NONE; | ||
562 | if (!strcmp (plaintext_string, methodString)) | 564 | if (!strcmp (plaintext_string, methodString)) |
563 | return GNUNET_ESCROW_KEY_PLAINTEXT; | 565 | return GNUNET_ESCROW_KEY_PLAINTEXT; |
564 | else if (!strcmp (gns_string, methodString)) | 566 | else if (!strcmp (gns_string, methodString)) |