Skip to content

Commit ca0e3d9

Browse files
committed
Changed the vas_id_alloc to use the principal that can be supplied from the command line, otherwise it remains NULL
1 parent 81136b1 commit ca0e3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/http-get/get.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ get_nego(urlarg, principal)
682682
#if VAS_API_VERSION_MAJOR >= 4
683683
if (vas_ctx_alloc(&vas))
684684
errx(1, "vas_ctx_alloc");
685-
if (vas_id_alloc(vas, NULL, &vasid))
685+
if (vas_id_alloc(vas, principal, &vasid))
686686
errx(1, "vas_id_alloc: %s",
687687
vas_err_get_string(vas, 1));
688688
if (debug) {

0 commit comments

Comments
 (0)