Add GOST parameter set OIDs.
[openssl.git] / apps / ts.c
index 0083f9a1e14b069422af814a1afb3b317c971546..f0923360a7bfbd7978fd86bd2f795cf6744a2f80 100644 (file)
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -1041,6 +1041,8 @@ static TS_VERIFY_CTX *create_verify_ctx(char *data, char *digest,
                if (!(request = d2i_TS_REQ_bio(input, NULL))) goto err;
                if (!(ctx = TS_REQ_to_TS_VERIFY_CTX(request, NULL))) goto err;
                }
+       else
+               return NULL;
 
        /* Add the signature verification flag and arguments. */
        ctx->flags |= TS_VFY_SIGNATURE;