Skip to content
Permalink
Browse files

Fix: LONGLINE

  • Loading branch information...
Zenju committed Oct 3, 2019
1 parent 92469df commit febf34552da1b62527dee66b06e9b08373aeb120
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/openssl.c
@@ -1837,7 +1837,8 @@ _libssh2_ed25519_new_private_frommemory(libssh2_ed25519_ctx ** ed_ctx,
_libssh2_init_if_needed();

if(read_private_key_from_memory((void **)&ctx,
(pem_read_bio_func)&PEM_read_bio_PrivateKey,
(pem_read_bio_func)
&PEM_read_bio_PrivateKey,
filedata, filedata_len, passphrase) == 0) {
if(EVP_PKEY_id(ctx) != EVP_PKEY_ED25519) {
_libssh2_ed25519_free(ctx);

0 comments on commit febf345

Please sign in to comment.
You can’t perform that action at this time.