Nick Child c448c94fe3 pkcs7: pkcs7_get_content_info_type should reset *p on error
The function `pkcs7_asn1_get_tag` should return an update pointer only
on success. Currently, the pointer is being updated on a failure case.
This commit resets *p to start if the first call to
mbedtls_asn1_get_tag fails.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Nick Child <nick.child@ibm.com>
2022-09-01 19:45:41 -05:00
..
2022-06-29 16:17:50 +01:00
2021-06-28 09:24:07 +01:00
2022-08-22 11:19:10 +01:00
2022-08-22 11:19:10 +01:00
2022-08-22 09:08:04 +01:00
2022-08-22 09:08:04 +01:00
2022-08-19 13:11:22 +01:00
2022-08-19 13:11:22 +01:00
2022-08-19 13:11:22 +01:00
2021-08-19 09:55:41 +01:00
2022-08-23 05:26:02 -04:00
2022-05-06 10:55:10 +02:00
2022-09-01 19:45:41 -05:00
2022-08-22 09:08:04 +01:00
2021-06-17 21:46:29 +02:00
2021-09-27 16:22:08 +02:00
2022-07-27 14:43:38 +01:00
2022-07-28 10:31:16 +01:00
2022-08-11 12:50:06 +02:00
2022-09-01 19:45:33 -05:00
2021-08-19 09:31:55 +01:00
2021-06-28 09:24:07 +01:00
2021-04-07 12:45:35 +01:00
2021-06-28 09:24:07 +01:00
2022-08-19 10:36:57 +02:00
2021-04-15 11:19:47 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2021-09-08 22:04:13 +05:30
2021-12-06 07:50:27 +01:00
2021-08-19 09:31:55 +01:00
2022-08-11 12:50:06 +02:00
2021-08-19 09:31:55 +01:00
2022-08-23 05:26:02 -04:00
2022-07-20 11:07:29 +08:00
2022-08-25 11:09:35 +08:00
2022-08-23 17:53:43 +08:00
2022-03-29 17:43:56 +02:00