Add Ctrl keyword to KDF test in evp_test
authorDr. Stephen Henson <steve@openssl.org>
Tue, 1 Mar 2016 15:08:18 +0000 (15:08 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 2 Mar 2016 20:57:32 +0000 (20:57 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/evp_test.c

index 6bc3a8a..fca8107 100644 (file)
@@ -1812,7 +1812,8 @@ static int kdf_test_parse(struct evp_test *t,
         return kdf_ctrl(kdata->ctx, EVP_PKEY_CTRL_TLS_SECRET, value);
     } else if (strncmp("Seed", keyword, 4) == 0) {
         return kdf_ctrl(kdata->ctx, EVP_PKEY_CTRL_TLS_SEED, value);
-    }
+    } else if (strncmp(keyword, "Ctrl", 4) == 0)
+        return pkey_test_ctrl(kdata->ctx, value);
     return 0;
 }