r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; and
[abartlet/samba.git/.git] / source3 / libads / kerberos_verify.c
index 0ec03ef4bf2c54a2d0ac38f895d8bbfbee0ad4b8..ca36e6e4254b1f7f5d83502321f470f83874178b 100644 (file)
@@ -333,8 +333,8 @@ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
 
        *principal = NULL;
        *pac_data = NULL;
-       *ap_rep = data_blob(NULL,0);
-       *session_key = data_blob(NULL,0);
+       *ap_rep = data_blob_null;
+       *session_key = data_blob_null;
 
        initialize_krb5_error_table();
        ret = krb5_init_context(&context);