X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fecies.cpp;h=3f8eaf721b45123f68abfa822fe6d322a38da22f;hb=refs%2Fpull%2F288%2Fhead;hp=4d72bfd7100f866103b197e8f70dd86c709f6f6f;hpb=15e9a03687e99d6b1a7a90e56e69a37faa6bb9b8;p=novacoin.git diff --git a/src/ecies.cpp b/src/ecies.cpp index 4d72bfd..3f8eaf7 100644 --- a/src/ecies.cpp +++ b/src/ecies.cpp @@ -567,6 +567,7 @@ ies_ctx_t *create_context(EC_KEY *user_key) } catch (const std::bad_alloc& e) { printf("Error: %s in %s:%d\n", e.what(), __FILE__, __LINE__); +// TODO: add checking to NULL where necessary return NULL; } -} +} \ No newline at end of file