diff options
Diffstat (limited to 'src/stkutil.h')
-rw-r--r-- | src/stkutil.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stkutil.h b/src/stkutil.h index cc5801c9..7dd0d6c1 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -1176,6 +1176,5 @@ struct stk_command *stk_command_new_from_pdu(const unsigned char *pdu, unsigned int len); void stk_command_free(struct stk_command *command); -/* Returns # of bytes written or zero on error */ -unsigned int stk_pdu_from_response(const struct stk_response *response, - unsigned char *pdu, unsigned int size); +const unsigned char *stk_pdu_from_response(const struct stk_response *response, + unsigned int *out_length); |