Replace plaintext password in ovf-env.xml with the hash.
This commit is contained in:
parent
db607f0e55
commit
01e02ae0aa
2 changed files with 18 additions and 1 deletions
|
|
@ -239,8 +239,10 @@ xml_end_element(void *data, const char *el)
|
|||
fatal("missing element");
|
||||
if (strcmp(xe->xe_tag, el) != 0)
|
||||
fatal("unexpected closing tag: %s <> %s", el, xe->xe_tag);
|
||||
if (xe->xe_data == NULL)
|
||||
if (xe->xe_data == NULL) {
|
||||
xe->xe_data = strdup("");
|
||||
xe->xe_datalen = 0;
|
||||
}
|
||||
|
||||
env->ox_cur = xe->xe_parent;
|
||||
env->ox_depth--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue