pem.c: fix mixed line-endings introduced with 8670f5da24

This commit is contained in:
Marc Hoersken 2014-12-26 13:39:18 +01:00
parent 8670f5da24
commit 22204c4e2e

View File

@ -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,