mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-01 07:24:02 +08:00
Update Tools
This commit is contained in:
@@ -97,6 +97,10 @@ int pem_read(FILE *fp, const char *name, uint8_t *data, size_t *datalen, size_t
|
||||
|
||||
if (strcmp(line, begin_line) != 0) {
|
||||
// FIXME: 这里是不是应该容忍一些错误呢?
|
||||
|
||||
fprintf(stderr, "%s %d: %s\n", __FILE__, __LINE__, line);
|
||||
fprintf(stderr, "%s %d: %s\n", __FILE__, __LINE__, begin_line);
|
||||
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user