This commit is contained in:
parent
c7d66ea6a7
commit
4c8e7b8513
@ -1,22 +0,0 @@
|
||||
Index: yaz-5.22.0/client/client.c
|
||||
===================================================================
|
||||
--- yaz-5.22.0.orig/client/client.c
|
||||
+++ yaz-5.22.0/client/client.c
|
||||
@@ -2549,6 +2549,7 @@ static int cmd_xmles(const char *arg)
|
||||
int noread = 0;
|
||||
Odr_oid *oid;
|
||||
char oid_str[51];
|
||||
+ union { unsigned char **ucp; char **cp; }pun;
|
||||
Z_APDU *apdu = zget_APDU(out, Z_APDU_extendedServicesRequest);
|
||||
Z_ExtendedServicesRequest *req = apdu->u.extendedServicesRequest;
|
||||
|
||||
@@ -2568,7 +2569,8 @@ static int cmd_xmles(const char *arg)
|
||||
return 0;
|
||||
}
|
||||
arg += noread;
|
||||
- if (parse_cmd_doc(&arg, out, &asn_buf,
|
||||
+ pun.ucp = &ext->u.single_ASN1_type->buf;
|
||||
+ if (parse_cmd_doc(&arg, out, pun.ucp,
|
||||
&ext->u.single_ASN1_type->len) == 0)
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user