diff options
| author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-18 12:31:37 +0200 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-18 12:55:41 +0200 |
| commit | 12f99d327f6aeb92dc70356a9dddc67861c8d157 (patch) | |
| tree | fa4a32bd36d51a27884c337650174964972f2989 /client/cmd_line_parser.cpp | |
| parent | c2dbb45a20e1104e90048f82aff61a88c375c163 (diff) | |
| download | spice-12f99d327f6aeb92dc70356a9dddc67861c8d157.tar.gz spice-12f99d327f6aeb92dc70356a9dddc67861c8d157.tar.xz spice-12f99d327f6aeb92dc70356a9dddc67861c8d157.zip | |
client: skip spaces in --host-subject
This fixes fdo bug #32896:
"Subject in certificates is stored in following format (values separated by
comma and space):
grep Subject: server-cert.pem | awk -F": " '{print $2}'
O=REDHAT, CN=10.34.58.2
While spicec expects that values in host subject are separated only by comma:
spicec --host-subject "O=REDHAT,CN=10.34.58.2"
"
In this case, ignoring spaces make it much easier to directly copy and paste
the subject line from certificates.
Diffstat (limited to 'client/cmd_line_parser.cpp')
0 files changed, 0 insertions, 0 deletions
