pem.c: fix mixed line-endings introduced with 8670f5da24
This commit is contained in:
parent
8670f5da24
commit
22204c4e2e
@ -102,7 +102,7 @@ _libssh2_pem_parse(LIBSSH2_SESSION * session,
|
|||||||
} while (strcmp(line, headerend) != 0);
|
} while (strcmp(line, headerend) != 0);
|
||||||
|
|
||||||
if (!b64data) {
|
if (!b64data) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (libssh2_base64_decode(session, (char**) data, datalen,
|
if (libssh2_base64_decode(session, (char**) data, datalen,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user