├── vendor ├── libssh2 │ ├── ChangeLog │ ├── win32 │ │ ├── msvcproj.foot │ │ ├── libssh2.rc │ │ └── rules.mk │ ├── docs │ │ ├── libssh2_sftp_fstatvfs.3 │ │ ├── libssh2_publickey_init.3 │ │ ├── libssh2_publickey_list_free.3 │ │ ├── libssh2_publickey_shutdown.3 │ │ ├── libssh2_publickey_list_fetch.3 │ │ ├── libssh2_publickey_remove_ex.3 │ │ ├── libssh2_channel_request_pty_size_ex.3 │ │ ├── libssh2_userauth_hostbased_fromfile_ex.3 │ │ ├── HACKING │ │ ├── libssh2_exit.3 │ │ ├── template.3 │ │ ├── libssh2_session_get_blocking.3 │ │ ├── libssh2_agent_free.3 │ │ ├── libssh2_channel_eof.3 │ │ ├── libssh2_knownhost_free.3 │ │ ├── libssh2_sftp_rewind.3 │ │ ├── libssh2_agent_disconnect.3 │ │ ├── libssh2_session_init.3 │ │ ├── libssh2_sftp_close.3 │ │ ├── libssh2_sftp_mkdir.3 │ │ ├── libssh2_channel_flush.3 │ │ ├── libssh2_sftp_unlink.3 │ │ ├── libssh2_userauth_authenticated.3 │ │ ├── libssh2_sftp_closedir.3 │ │ ├── libssh2_sftp_fstat.3 │ │ ├── libssh2_sftp_opendir.3 │ │ ├── libssh2_scp_send.3 │ │ ├── libssh2_sftp_lstat.3 │ │ ├── libssh2_sftp_stat.3 │ │ ├── libssh2_channel_read.3 │ │ ├── libssh2_sftp_fsetstat.3 │ │ ├── libssh2_sftp_setstat.3 │ │ ├── libssh2_session_last_errno.3 │ │ ├── libssh2_sftp_rmdir.3 │ │ ├── libssh2_channel_flush_stderr.3 │ │ ├── libssh2_init.3 │ │ ├── libssh2_sftp_open.3 │ │ ├── libssh2_channel_shell.3 │ │ ├── libssh2_channel_write.3 │ │ ├── libssh2_channel_x11_req.3 │ │ ├── libssh2_sftp_rename.3 │ │ ├── libssh2_channel_open_session.3 │ │ ├── libssh2_sftp_get_channel.3 │ │ ├── libssh2_channel_read_stderr.3 │ │ ├── libssh2_channel_setenv.3 │ │ ├── libssh2_channel_exec.3 │ │ ├── libssh2_channel_wait_eof.3 │ │ ├── libssh2_channel_window_read.3 │ │ ├── libssh2_free.3 │ │ ├── libssh2_keepalive_send.3 │ │ ├── libssh2_sftp_readdir.3 │ │ ├── libssh2_channel_write_stderr.3 │ │ ├── libssh2_session_disconnect.3 │ │ ├── libssh2_agent_connect.3 │ │ ├── libssh2_channel_request_pty.3 │ │ ├── libssh2_channel_subsystem.3 │ │ ├── libssh2_channel_window_write.3 │ │ ├── libssh2_sftp_tell64.3 │ │ ├── libssh2_channel_forward_listen.3 │ │ ├── libssh2_channel_direct_tcpip.3 │ │ ├── libssh2_channel_get_exit_status.3 │ │ ├── libssh2_poll_channel_read.3 │ │ ├── libssh2_session_free.3 │ │ ├── libssh2_session_get_timeout.3 │ │ ├── libssh2_sftp_tell.3 │ │ ├── libssh2_sftp_readlink.3 │ │ └── libssh2_channel_request_pty_size.3 │ ├── Makefile.WinCNG.inc │ ├── Makefile.OpenSSL.inc │ ├── Makefile.os400qc3.inc │ ├── Makefile.libgcrypt.inc │ ├── Makefile.inc │ ├── tests │ │ ├── etc │ │ │ ├── host.pub │ │ │ └── user.pub │ │ └── Makefile.am │ ├── .gitignore │ ├── README │ ├── libssh2.pc.in │ ├── src │ │ ├── libssh2.pc.in │ │ └── NMakefile │ ├── example │ │ └── Makefile.am │ ├── nw │ │ └── keepscreen.c │ └── buildconf ├── openssl │ ├── openssl │ │ ├── ms │ │ │ ├── certCA.srl │ │ │ ├── testce2.bat │ │ │ ├── .rnd │ │ │ ├── tpem.bat │ │ │ ├── bcb4.bat │ │ │ ├── tpemce.bat │ │ │ ├── do_nt.bat │ │ │ ├── do_nasm.bat │ │ │ ├── do_win64i.bat │ │ │ ├── do_ms.bat │ │ │ ├── README │ │ │ ├── reqCA.ss │ │ │ ├── reqU.ss │ │ │ ├── tenc.bat │ │ │ ├── keyCA.ss │ │ │ ├── keyU.ss │ │ │ ├── certCA.ss │ │ │ ├── do_win64a.bat │ │ │ ├── certU.ss │ │ │ └── 32all.bat │ │ ├── apps │ │ │ ├── ca-cert.srl │ │ │ ├── pca-cert.srl │ │ │ ├── server.srl │ │ │ ├── demoCA │ │ │ │ └── serial │ │ │ ├── md4.c │ │ │ ├── demoSRP │ │ │ │ ├── srp_verifier.txt.attr │ │ │ │ └── srp_verifier.txt │ │ │ ├── dsap.pem │ │ │ ├── dsa512.pem │ │ │ ├── oid.cnf │ │ │ ├── dh512.pem │ │ │ ├── testCA.pem │ │ │ ├── s512-req.pem │ │ │ ├── dsa1024.pem │ │ │ ├── dh1024.pem │ │ │ ├── s512-key.pem │ │ │ ├── dh2048.pem │ │ │ ├── cert.pem │ │ │ ├── req.pem │ │ │ ├── ca-req.pem │ │ │ ├── pca-req.pem │ │ │ └── s1024req.pem │ │ ├── test │ │ │ ├── VMSca-response.1 │ │ │ ├── VMSca-response.2 │ │ │ ├── md2test.c │ │ │ ├── rc5test.c │ │ │ ├── jpaketest.c │ │ │ ├── ssltest.c │ │ │ ├── bftest.c │ │ │ ├── bntest.c │ │ │ ├── dhtest.c │ │ │ ├── ectest.c │ │ │ ├── smcont.txt │ │ │ ├── casttest.c │ │ │ ├── destest.c │ │ │ ├── dsatest.c │ │ │ ├── ecdhtest.c │ │ │ ├── evp_test.c │ │ │ ├── exptest.c │ │ │ ├── hmactest.c │ │ │ ├── ideatest.c │ │ │ ├── md4test.c │ │ │ ├── md5test.c │ │ │ ├── mdc2test.c │ │ │ ├── randtest.c │ │ │ ├── rc2test.c │ │ │ ├── rc4test.c │ │ │ ├── rmdtest.c │ │ │ ├── rsa_test.c │ │ │ ├── sha1test.c │ │ │ ├── sha256t.c │ │ │ ├── sha512t.c │ │ │ ├── shatest.c │ │ │ ├── srptest.c │ │ │ ├── ecdsatest.c │ │ │ ├── heartbeat_test.c │ │ │ ├── wp_test.c │ │ │ ├── clienthellotest.c │ │ │ ├── enginetest.c │ │ │ ├── v3nametest.c │ │ │ ├── constant_time_test.c │ │ │ ├── evp_extra_test.c │ │ │ ├── verify_extra_test.c │ │ │ ├── testsslproxy │ │ │ ├── testreq2.pem │ │ │ ├── smime-certs │ │ │ │ └── smdsap.pem │ │ │ ├── testrsa.pem │ │ │ ├── testx509.pem │ │ │ ├── asn1test.c │ │ │ └── ocsp-tests │ │ │ │ ├── ND1.ors │ │ │ │ ├── ND2.ors │ │ │ │ ├── ISOP_ND1.ors │ │ │ │ ├── ISOP_ND2.ors │ │ │ │ ├── ND3.ors │ │ │ │ ├── WIKH_ND1.ors │ │ │ │ ├── WIKH_ND2.ors │ │ │ │ ├── WINH_ND1.ors │ │ │ │ ├── WINH_ND2.ors │ │ │ │ ├── WRID_ND1.ors │ │ │ │ ├── WRID_ND2.ors │ │ │ │ ├── ISOP_ND3.ors │ │ │ │ ├── WIKH_ND3.ors │ │ │ │ ├── WINH_ND3.ors │ │ │ │ └── WRID_ND3.ors │ │ ├── crypto │ │ │ ├── sha │ │ │ │ └── asm │ │ │ │ │ └── README │ │ │ ├── opensslconf.h │ │ │ ├── bn │ │ │ │ ├── asm │ │ │ │ │ └── x86 │ │ │ │ │ │ ├── f │ │ │ │ │ │ └── div.pl │ │ │ │ ├── todo │ │ │ │ └── bn.mul │ │ │ ├── whrlpool │ │ │ │ └── wp_locl.h │ │ │ ├── dh │ │ │ │ ├── dh192.pem │ │ │ │ ├── dh512.pem │ │ │ │ └── dh1024.pem │ │ │ ├── threads │ │ │ │ ├── win32.bat │ │ │ │ ├── ptest.bat │ │ │ │ ├── solaris.sh │ │ │ │ ├── purify.sh │ │ │ │ ├── profile.sh │ │ │ │ ├── pthread2.sh │ │ │ │ ├── pthread.sh │ │ │ │ ├── pthreads-vms.com │ │ │ │ └── README │ │ │ ├── rc4 │ │ │ │ └── rc4_locl.h │ │ │ ├── fips_ers.c │ │ │ ├── bf │ │ │ │ ├── VERSION │ │ │ │ ├── README │ │ │ │ ├── asm │ │ │ │ │ └── readme │ │ │ │ └── INSTALL │ │ │ ├── aes │ │ │ │ └── README │ │ │ ├── dsa │ │ │ │ └── README │ │ │ ├── ppc_arch.h │ │ │ ├── rsa │ │ │ │ └── rsa_locl.h │ │ │ ├── lhash │ │ │ │ └── num.pl │ │ │ ├── cast │ │ │ │ └── asm │ │ │ │ │ └── readme │ │ │ ├── pem │ │ │ │ └── message │ │ │ ├── des │ │ │ │ ├── times │ │ │ │ │ ├── 486-50.sol │ │ │ │ │ ├── alpha.cc │ │ │ │ │ ├── sparc.gcc │ │ │ │ │ ├── hpux.cc │ │ │ │ │ ├── 686-200.fre │ │ │ │ │ └── 586-100.lnx │ │ │ │ └── DES.pm │ │ │ ├── idea │ │ │ │ └── version │ │ │ ├── asn1 │ │ │ │ └── charmap.h │ │ │ └── ebcdic.h │ │ ├── VMS │ │ │ ├── socketshr_shr.opt │ │ │ ├── ucx_shr_decc_log.opt │ │ │ ├── tcpip_shr_decc.opt │ │ │ ├── ucx_shr_decc.opt │ │ │ ├── ucx_shr_vaxc.opt │ │ │ ├── multinet_shr.opt │ │ │ ├── WISHLIST.TXT │ │ │ ├── openssl_undo.com │ │ │ └── TODO │ │ ├── engines │ │ │ ├── e_aep.ec │ │ │ ├── e_gmp.ec │ │ │ ├── e_chil.ec │ │ │ ├── e_atalla.ec │ │ │ ├── e_capi.ec │ │ │ ├── e_cswift.ec │ │ │ ├── e_nuron.ec │ │ │ ├── e_ubsec.ec │ │ │ ├── e_4758cca.ec │ │ │ ├── e_padlock.ec │ │ │ ├── axp.opt │ │ │ ├── e_sureware.ec │ │ │ ├── alpha.opt │ │ │ ├── ia64.opt │ │ │ ├── capierr.bat │ │ │ ├── ccgost │ │ │ │ ├── gost.ec │ │ │ │ └── gost2001_keyx.h │ │ │ ├── vax.opt │ │ │ └── engine_vector.mar │ │ ├── include │ │ │ └── openssl │ │ │ │ ├── opensslconf.h │ │ │ │ └── ebcdic.h │ │ ├── demos │ │ │ ├── pkcs12 │ │ │ │ └── README │ │ │ ├── cms │ │ │ │ ├── sign.txt │ │ │ │ ├── encr.txt │ │ │ │ └── comp.txt │ │ │ ├── smime │ │ │ │ ├── sign.txt │ │ │ │ └── encr.txt │ │ │ ├── x509 │ │ │ │ └── README │ │ │ ├── engines │ │ │ │ ├── rsaref │ │ │ │ │ └── rsaref.ec │ │ │ │ ├── ibmca │ │ │ │ │ └── hw_ibmca.ec │ │ │ │ ├── zencod │ │ │ │ │ └── hw_zencod.ec │ │ │ │ └── cluster_labs │ │ │ │ │ └── hw_cluster_labs.ec │ │ │ ├── asn1 │ │ │ │ └── README.ASN1 │ │ │ ├── sign │ │ │ │ ├── Makefile │ │ │ │ └── key.pem │ │ │ ├── tunala │ │ │ │ ├── Makefile.am │ │ │ │ └── autoungunk.sh │ │ │ ├── bio │ │ │ │ ├── README │ │ │ │ ├── connect.cnf │ │ │ │ ├── accept.cnf │ │ │ │ └── Makefile │ │ │ ├── state_machine │ │ │ │ └── Makefile │ │ │ ├── README │ │ │ ├── easy_tls │ │ │ │ └── test.h │ │ │ ├── b64.pl │ │ │ ├── prime │ │ │ │ └── Makefile │ │ │ ├── privkey.pem │ │ │ └── ssltest-ecc │ │ │ │ └── README │ │ ├── shlib │ │ │ ├── README │ │ │ ├── irix.sh │ │ │ ├── sun.sh │ │ │ ├── sco5-shared-installed │ │ │ ├── svr5-shared-installed │ │ │ ├── win32dll.bat │ │ │ └── Makefile.hpux10-cc │ │ ├── FAQ │ │ ├── Configure │ │ ├── ACKNOWLEDGMENTS │ │ ├── GitMake │ │ ├── util │ │ │ ├── deleof.pl │ │ │ ├── FreeBSD.sh │ │ │ ├── point.sh │ │ │ ├── extract-section.pl │ │ │ ├── tab_num.pl │ │ │ ├── dirname.pl │ │ │ ├── pod2mantest.pod │ │ │ ├── fixNT.sh │ │ │ ├── extract-names.pl │ │ │ ├── toutf8.sh │ │ │ ├── err-ins.pl │ │ │ ├── do_ms.sh │ │ │ └── mkdir-p.pl │ │ ├── tools │ │ │ ├── c_name │ │ │ ├── c_hash │ │ │ ├── c_issuer │ │ │ ├── c_info │ │ │ └── c89.sh │ │ ├── openssl.doxy │ │ ├── MacOS │ │ │ ├── buildinf.h │ │ │ ├── _MWERKS_prefix.h │ │ │ └── _MWERKS_GUSI_prefix.h │ │ ├── bugs │ │ │ └── MS │ │ ├── certs │ │ │ ├── README.RootCerts │ │ │ └── expired │ │ │ │ └── ICE.crl │ │ ├── GitConfigure │ │ └── doc │ │ │ ├── crypto │ │ │ ├── BN_swap.pod │ │ │ ├── RAND_cleanup.pod │ │ │ ├── ERR_clear_error.pod │ │ │ ├── RSA_size.pod │ │ │ ├── DSA_size.pod │ │ │ ├── d2i_ASN1_OBJECT.pod │ │ │ ├── d2i_DHparams.pod │ │ │ ├── DH_size.pod │ │ │ ├── d2i_X509_SIG.pod │ │ │ ├── BIO_f_null.pod │ │ │ └── OPENSSL_Applink.pod │ │ │ ├── dir-locals.example.el │ │ │ ├── ssl │ │ │ └── SSL_get_SSL_CTX.pod │ │ │ └── README │ ├── doc │ │ └── openssl_define_list.pdf │ ├── fips │ │ ├── fipsld │ │ └── fipscc │ ├── asm_obsolete │ │ ├── x64-macosx-gas │ │ │ ├── modes │ │ │ │ └── aesni-gcm-x86_64.s │ │ │ └── bn │ │ │ │ └── rsaz-avx2.s │ │ ├── x64-elf-gas │ │ │ ├── modes │ │ │ │ └── aesni-gcm-x86_64.s │ │ │ └── bn │ │ │ │ └── rsaz-avx2.s │ │ └── x64-win32-masm │ │ │ ├── modes │ │ │ └── aesni-gcm-x86_64.asm │ │ │ └── bn │ │ │ └── rsaz-avx2.asm │ ├── buildinf.h │ └── openssl-cli.gypi ├── plink.exe ├── pageant.exe ├── README.md └── http_parser │ ├── .travis.yml │ ├── .gitignore │ └── .mailmap ├── generate ├── templates │ ├── filters │ │ ├── to_bool.js │ │ ├── and.js │ │ ├── or.js │ │ ├── upper.js │ │ ├── is_pointer.js │ │ ├── is_double_pointer.js │ │ ├── un_pointer.js │ │ ├── replace.js │ │ ├── default_value.js │ │ ├── is_fixed_length_string.js │ │ ├── is_oid.js │ │ ├── is_payload.js │ │ ├── has_return_type.js │ │ ├── has_return_value.js │ │ ├── title_case.js │ │ ├── is_v8_value.js │ │ ├── cpp_to_v8.js │ │ ├── js_args_count.js │ │ ├── payload_for.js │ │ ├── returns_count.js │ │ └── fields_info.js │ ├── manual │ │ ├── include │ │ │ ├── init_ssh2.h │ │ │ ├── functions │ │ │ │ └── sleep_for_ms.h │ │ │ ├── typedefs.h │ │ │ ├── git_buf_converter.h │ │ │ ├── nodegit.h │ │ │ └── str_array_converter.h │ │ └── src │ │ │ ├── functions │ │ │ └── sleep_for_ms.cc │ │ │ └── init_ssh2.cc │ ├── templates │ │ └── enums.js │ └── partials │ │ └── doc.cc └── input │ └── ignored-missing-tests.json ├── .astylerc ├── .gitmodules ├── lifecycleScripts └── clean.js ├── .editorconfig ├── lib ├── config.js ├── odb_object.js ├── submodule.js ├── signature.js ├── tag.js ├── odb.js ├── status_list.js ├── utils │ ├── shallow_clone.js │ └── normalize_options.js ├── oid.js ├── note.js ├── blame.js ├── status.js ├── diff_line.js └── object.js ├── test ├── nodegit-test-rsa.pub ├── id_rsa.pub ├── utils │ └── garbage_collect.js ├── encrypted_rsa.pub └── tests │ └── packbuilder.js ├── .npmignore ├── .gitignore ├── HISTORY.md ├── examples ├── fetch.js └── create-branch.js ├── utils ├── execPromise.js ├── gitExecutableLocation.js └── buildFlags.js ├── guides ├── install │ └── README.md └── README.md ├── .jshintrc └── FAQ.md /vendor/libssh2/ChangeLog: -------------------------------------------------------------------------------- 1 | see NEWS 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/certCA.srl: -------------------------------------------------------------------------------- 1 | 1D 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/ca-cert.srl: -------------------------------------------------------------------------------- 1 | 07 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/pca-cert.srl: -------------------------------------------------------------------------------- 1 | 07 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/server.srl: -------------------------------------------------------------------------------- 1 | 01 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoCA/serial: -------------------------------------------------------------------------------- 1 | 011E 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/VMSca-response.1: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/VMSca-response.2: -------------------------------------------------------------------------------- 1 | y 2 | y 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/sha/asm/README: -------------------------------------------------------------------------------- 1 | C2.pl works 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/md2test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/dummytest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/rc5test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/dummytest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/socketshr_shr.opt: -------------------------------------------------------------------------------- 1 | socketshr/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/md4.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/md4/md4.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/jpaketest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/dummytest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ssltest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../ssl/ssltest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/ucx_shr_decc_log.opt: -------------------------------------------------------------------------------- 1 | ucx$ipc_shr/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/bftest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/bf/bftest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/bntest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/bn/bntest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/dhtest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/dh/dhtest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ectest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/ec/ectest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/smcont.txt: -------------------------------------------------------------------------------- 1 | Some test content for OpenSSL CMS -------------------------------------------------------------------------------- /vendor/libssh2/win32/msvcproj.foot: -------------------------------------------------------------------------------- 1 | # End Target 2 | # End Project 3 | 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_aep.ec: -------------------------------------------------------------------------------- 1 | L AEPHK e_aep_err.h e_aep_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_gmp.ec: -------------------------------------------------------------------------------- 1 | L GMP e_gmp_err.h e_gmp_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/casttest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/cast/casttest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/destest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/des/destest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/dsatest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/dsa/dsatest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ecdhtest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/ecdh/ecdhtest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/evp_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/evp/evp_test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/exptest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/bn/exptest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/hmactest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/hmac/hmactest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ideatest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/idea/ideatest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/md4test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/md4/md4test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/md5test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/md5/md5test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/mdc2test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/mdc2/mdc2test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/randtest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/rand/randtest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/rc2test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/rc2/rc2test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/rc4test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/rc4/rc4test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/rmdtest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/ripemd/rmdtest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/rsa_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/rsa/rsa_test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/sha1test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/sha/sha1test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/sha256t.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/sha/sha256t.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/sha512t.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/sha/sha512t.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/shatest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/sha/shatest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/srptest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/srp/srptest.c -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_fstatvfs.3: -------------------------------------------------------------------------------- 1 | .so man3/libssh2_sftp_statvfs.3 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/tcpip_shr_decc.opt: -------------------------------------------------------------------------------- 1 | sys$share:tcpip$ipc_shr.exe/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/ucx_shr_decc.opt: -------------------------------------------------------------------------------- 1 | sys$share:ucx$ipc_shr.exe/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/ucx_shr_vaxc.opt: -------------------------------------------------------------------------------- 1 | sys$library:ucx$ipc.olb/library 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoSRP/srp_verifier.txt.attr: -------------------------------------------------------------------------------- 1 | unique_subject = yes 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_chil.ec: -------------------------------------------------------------------------------- 1 | L HWCRHK e_chil_err.h e_chil_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ecdsatest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/ecdsa/ecdsatest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/heartbeat_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../ssl/heartbeat_test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/wp_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/whrlpool/wp_test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/opensslconf.h: -------------------------------------------------------------------------------- 1 | #include "../../config/opensslconf.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_atalla.ec: -------------------------------------------------------------------------------- 1 | L ATALLA e_atalla_err.h e_atalla_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_capi.ec: -------------------------------------------------------------------------------- 1 | L CAPI e_capi_err.h e_capi_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_cswift.ec: -------------------------------------------------------------------------------- 1 | L CSWIFT e_cswift_err.h e_cswift_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_nuron.ec: -------------------------------------------------------------------------------- 1 | L NURON e_nuron_err.h e_nuron_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_ubsec.ec: -------------------------------------------------------------------------------- 1 | L UBSEC e_ubsec_err.h e_ubsec_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/clienthellotest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../ssl/clienthellotest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/enginetest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/engine/enginetest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/v3nametest.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/x509v3/v3nametest.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/multinet_shr.opt: -------------------------------------------------------------------------------- 1 | multinet:multinet_socket_library.exe/share 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86/f: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # x86 assember 3 | 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_4758cca.ec: -------------------------------------------------------------------------------- 1 | L CCA4758 e_4758cca_err.h e_4758cca_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_padlock.ec: -------------------------------------------------------------------------------- 1 | L PADLOCK e_padlock_err.h e_padlock_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/constant_time_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/constant_time_test.c -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/evp_extra_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/evp/evp_extra_test.c -------------------------------------------------------------------------------- /vendor/plink.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/nodegit/patch-1/vendor/plink.exe -------------------------------------------------------------------------------- /vendor/libssh2/Makefile.WinCNG.inc: -------------------------------------------------------------------------------- 1 | CRYPTO_CSOURCES = wincng.c 2 | CRYPTO_HHEADERS = wincng.h 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/axp.opt: -------------------------------------------------------------------------------- 1 | SYMBOL_VECTOR=(bind_engine=PROCEDURE,v_check=PROCEDURE) 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/e_sureware.ec: -------------------------------------------------------------------------------- 1 | L SUREWARE e_sureware_err.h e_sureware_err.c 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/opensslconf.h: -------------------------------------------------------------------------------- 1 | #include "../../crypto/opensslconf.h" 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/verify_extra_test.c: -------------------------------------------------------------------------------- 1 | openssl-1.0.2e/../crypto/x509/verify_extra_test.c -------------------------------------------------------------------------------- /vendor/pageant.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/nodegit/patch-1/vendor/pageant.exe -------------------------------------------------------------------------------- /vendor/libssh2/Makefile.OpenSSL.inc: -------------------------------------------------------------------------------- 1 | CRYPTO_CSOURCES = openssl.c 2 | CRYPTO_HHEADERS = openssl.h 3 | -------------------------------------------------------------------------------- /vendor/libssh2/Makefile.os400qc3.inc: -------------------------------------------------------------------------------- 1 | CRYPTO_CSOURCES = os400qc3.c 2 | CRYPTO_HHEADERS = os400qc3.h 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/alpha.opt: -------------------------------------------------------------------------------- 1 | SYMBOL_VECTOR=(bind_engine=PROCEDURE,v_check=PROCEDURE) 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/ia64.opt: -------------------------------------------------------------------------------- 1 | SYMBOL_VECTOR=(bind_engine=PROCEDURE,v_check=PROCEDURE) 2 | -------------------------------------------------------------------------------- /generate/templates/filters/to_bool.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value) { 2 | return !!value; 3 | }; 4 | -------------------------------------------------------------------------------- /vendor/libssh2/Makefile.libgcrypt.inc: -------------------------------------------------------------------------------- 1 | CRYPTO_CSOURCES = libgcrypt.c 2 | CRYPTO_HHEADERS = libgcrypt.h 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/pkcs12/README: -------------------------------------------------------------------------------- 1 | PKCS#12 demo applications 2 | 3 | Written by Steve Henson. 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/sign.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Test OpenSSL CMS Signed Content 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/smime/sign.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Test OpenSSL Signed Content 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/README: -------------------------------------------------------------------------------- 1 | Only the windows NT and, linux builds have been tested for SSLeay 0.8.0 2 | -------------------------------------------------------------------------------- /generate/templates/filters/and.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value, other) { 2 | return value && other; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/or.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value, other) { 2 | return value || other; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/upper.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value) { 2 | return value.toUpperCase(); 3 | }; 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/FAQ: -------------------------------------------------------------------------------- 1 | The FAQ is now maintained on the web: 2 | https://www.openssl.org/docs/faq.html 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/encr.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Sample OpenSSL Data for CMS encryption 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/testce2.bat: -------------------------------------------------------------------------------- 1 | cecopy %1.exe CE:\OpenSSL 2 | cerun CE:\OpenSSL\%1 %2 %3 %4 %5 %6 %7 %8 %9 3 | -------------------------------------------------------------------------------- /generate/templates/filters/is_pointer.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return /\s*\*\s*/.test(cType); 3 | }; 4 | -------------------------------------------------------------------------------- /vendor/libssh2/win32/libssh2.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/nodegit/patch-1/vendor/libssh2/win32/libssh2.rc -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/smime/encr.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Sample OpenSSL Data for PKCS#7 encryption 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/.rnd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/nodegit/patch-1/vendor/openssl/openssl/ms/.rnd -------------------------------------------------------------------------------- /vendor/openssl/openssl/Configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/nodegit/patch-1/vendor/openssl/openssl/Configure -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/capierr.bat: -------------------------------------------------------------------------------- 1 | perl ../util/mkerr.pl -conf e_capi.ec -nostatic -staticloader -write e_capi.c 2 | -------------------------------------------------------------------------------- /generate/templates/filters/is_double_pointer.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return /\s*\*\*\s*/.test(cType); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/un_pointer.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return cType.replace(/\s*\*\s*$/, ""); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/manual/include/init_ssh2.h: -------------------------------------------------------------------------------- 1 | #ifndef INIT_SSH2 2 | #define INIT_SSH2 3 | 4 | void init_ssh2(); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ACKNOWLEDGMENTS: -------------------------------------------------------------------------------- 1 | Please https://www.openssl.org/community/thanks.html for the current 2 | acknowledgements. 3 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/GitMake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BRANCH=`git rev-parse --abbrev-ref HEAD` 4 | 5 | make -f makefile.$BRANCH $@ 6 | -------------------------------------------------------------------------------- /.astylerc: -------------------------------------------------------------------------------- 1 | --style=linux 2 | --indent=spaces=2 3 | --attach-namespaces 4 | --attach-classes 5 | --attach-inlines 6 | --attach-extern-c 7 | -------------------------------------------------------------------------------- /generate/templates/filters/replace.js: -------------------------------------------------------------------------------- 1 | module.exports = function(value, find, replace) { 2 | return value.replace(find, replace); 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/default_value.js: -------------------------------------------------------------------------------- 1 | module.exports = function(cType) { 2 | return cType === "git_otype" ? "GIT_OBJ_ANY" : "0"; 3 | }; 4 | -------------------------------------------------------------------------------- /vendor/openssl/doc/openssl_define_list.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serverwentdown/nodegit/patch-1/vendor/openssl/doc/openssl_define_list.pdf -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tpem.bat: -------------------------------------------------------------------------------- 1 | rem called by testpem 2 | 3 | echo test %1 %2 4 | %ssleay% %1 -in %2 -out %tmp1% 5 | %cmp% %2 %tmp1% 6 | 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/todo: -------------------------------------------------------------------------------- 1 | Cache RECP_CTX values 2 | make the result argument independant of the inputs. 3 | split up the _exp_ functions 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/whrlpool/wp_locl.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void whirlpool_block(WHIRLPOOL_CTX *, const void *, size_t); 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/deleof.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | while (<>) 4 | { 5 | print 6 | last if (/^# DO NOT DELETE THIS LINE/); 7 | } 8 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "vendor/libgit2"] 2 | path = vendor/libgit2 3 | [submodule "vendor/libgit2"] 4 | url = https://github.com/nodegit/libgit2.git 5 | -------------------------------------------------------------------------------- /generate/templates/filters/is_fixed_length_string.js: -------------------------------------------------------------------------------- 1 | module.exports = function(field) { 2 | return field.cppClassName == "String" && field.size; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_oid.js: -------------------------------------------------------------------------------- 1 | module.exports = function(arg) { 2 | return arg.cppClassName == "GitOid" && !arg.isSelf && !arg.isReturn; 3 | }; 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh192.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM= 3 | -----END DH PARAMETERS----- 4 | -------------------------------------------------------------------------------- /generate/templates/filters/is_payload.js: -------------------------------------------------------------------------------- 1 | module.exports = function(field) { 2 | return field.name == 'payload' || field.payload || field.payloadFor; 3 | }; 4 | -------------------------------------------------------------------------------- /generate/templates/manual/include/functions/sleep_for_ms.h: -------------------------------------------------------------------------------- 1 | #ifndef SLEEP_FOR_MS_H 2 | #define SLEEP_FOR_MS_H 3 | 4 | void sleep_for_ms(int milliseconds); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/win32.bat: -------------------------------------------------------------------------------- 1 | del mttest.exe 2 | 3 | cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssleay32.lib ..\..\out\libeay32.lib 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/x509/README: -------------------------------------------------------------------------------- 1 | This directory contains examples of how to contruct 2 | various X509 structures. Certificates, certificate requests 3 | and CRLs. 4 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/bcb4.bat: -------------------------------------------------------------------------------- 1 | perl Configure BC-32 2 | perl util\mkfiles.pl > MINFO 3 | 4 | @rem create make file 5 | perl util\mk1mf.pl no-asm BC-NT > bcb.mak 6 | 7 | -------------------------------------------------------------------------------- /vendor/openssl/fips/fipsld: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # NOTE: Just a wrapper around normal fipsld 4 | FIPSLD=$1 5 | shift 6 | 7 | DIR=`dirname $0` 8 | FIPSLD_CC=$DIR/fipscc $FIPSLD $@ 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/rc4/rc4_locl.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_RC4_LOCL_H 2 | # define HEADER_RC4_LOCL_H 3 | # include 4 | # include 5 | #endif 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/ptest.bat: -------------------------------------------------------------------------------- 1 | del mttest.exe 2 | 3 | purify cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssl32.lib ..\..\out\crypt32.lib 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/fips_ers.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifdef OPENSSL_FIPS 4 | # include "fips_err.h" 5 | #else 6 | static void *dummy = &dummy; 7 | #endif 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/solaris.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /lifecycleScripts/clean.js: -------------------------------------------------------------------------------- 1 | var cleanForPublish = require("clean-for-publish"); 2 | var path = require("path"); 3 | 4 | var location = path.join(__dirname, ".."); 5 | cleanForPublish(location); 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/purify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_name: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # print the subject 4 | # 5 | 6 | for i in $* 7 | do 8 | n=`openssl x509 -subject -noout -in $i` 9 | echo "$i $n" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/openssl.doxy: -------------------------------------------------------------------------------- 1 | PROJECT_NAME=OpenSSL 2 | GENERATE_LATEX=no 3 | OUTPUT_DIRECTORY=doxygen 4 | INPUT=ssl include 5 | FILE_PATTERNS=*.c *.h 6 | RECURSIVE=yes 7 | PREDEFINED=DOXYGEN 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_hash: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # print out the hash values 3 | # 4 | 5 | for i in $* 6 | do 7 | h=`openssl x509 -hash -noout -in $i` 8 | echo "$h.0 => $i" 9 | done 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_issuer: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # print out the issuer 4 | # 5 | 6 | for i in $* 7 | do 8 | n=`openssl x509 -issuer -noout -in $i` 9 | echo "$i $n" 10 | done 11 | -------------------------------------------------------------------------------- /vendor/README.md: -------------------------------------------------------------------------------- 1 | # Openssl 2 | 3 | I do not have the time to maintain working gyp metadata for openssl, 4 | i've taken the easy way out and stolen it from [node.js](http://github.com/joyent/node.git). 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/buildinf.h: -------------------------------------------------------------------------------- 1 | #ifndef MK1MF_BUILD 2 | # define CFLAGS "-DB_ENDIAN" 3 | # define PLATFORM "macos" 4 | # define DATE "Sun Feb 27 19:44:16 MET 2000" 5 | #endif 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/FreeBSD.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | perl util/perlpath.pl /usr/bin 4 | perl util/ssldir.pl /usr/local 5 | perl util/mk1mf.pl FreeBSD >Makefile.FreeBSD 6 | perl Configure FreeBSD 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | indent_style = space 7 | indent_size = 2 8 | 9 | [Makefile] 10 | indent_style = tab 11 | indent_size = 4 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MEYCQQDaWDwW2YUiidDkr3VvTMqS3UvlM7gE+w/tlO+cikQD7VdGUNNpmdsp13Yn 3 | a6LT1BLiGPTdHghM9tgAPnxHdOgzAgEC 4 | -----END DH PARAMETERS----- 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/profile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/ccgost/gost.ec: -------------------------------------------------------------------------------- 1 | L GOST e_gost_err.h e_gost_err.c 2 | L NONE asymm.h NONE 3 | L NONE md.h NONE 4 | L NONE crypt.h NONE 5 | L NONE gostkeyx.h NONE 6 | -------------------------------------------------------------------------------- /vendor/http_parser/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | compiler: 4 | - clang 5 | - gcc 6 | 7 | script: 8 | - "make" 9 | 10 | notifications: 11 | email: false 12 | irc: 13 | - "irc.freenode.net#node-ci" 14 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/bugs/MS: -------------------------------------------------------------------------------- 1 | If you use the function that does an fopen inside the DLL, it's malloc 2 | will be used and when the function is then written inside, more 3 | hassles 4 | .... 5 | 6 | 7 | think about it. 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/certs/README.RootCerts: -------------------------------------------------------------------------------- 1 | The OpenSSL project does not (any longer) include root CA certificates. 2 | 3 | Please check out the FAQ: 4 | * How can I set up a bundle of commercial root CA certificates? 5 | -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Config = NodeGit.Config; 4 | 5 | // Backwards compatibility. 6 | Config.prototype.getString = function() { 7 | return this.getStringBuf.apply(this, arguments); 8 | }; 9 | -------------------------------------------------------------------------------- /generate/templates/manual/include/typedefs.h: -------------------------------------------------------------------------------- 1 | #ifndef TYPEDEFS_H 2 | #define TYPEDEFS_H 3 | 4 | #include "git2/submodule.h" 5 | 6 | typedef int (*git_submodule_cb)(git_submodule *sm, const char *name, void *payload); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/_MWERKS_prefix.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define B_ENDIAN 3 | #ifdef __POWERPC__ 4 | # pragma longlong on 5 | #endif 6 | #if 0 7 | # define MAC_OS_GUSI_SOURCE 8 | #endif 9 | #define MONOLITH 10 | -------------------------------------------------------------------------------- /test/nodegit-test-rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC5VMnDStyy3BDQ4Ilb/XnD5htRn0f3Is8NITe9o/KwZcPy2MFMRssnQjyp/WoQXl/o3Id+UaTZ+TKzYYmP/bGnYlyZP+FBBTKrCcDDW0fVjLbDazEXusAYCW58iGG9EomrwpSVrZlrLsZc1CPUdeeC8jmTuBQR7fyDFxM4sdoIyQ== 2 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/MacOS/_MWERKS_GUSI_prefix.h: -------------------------------------------------------------------------------- 1 | #include 2 | #define B_ENDIAN 3 | #ifdef __POWERPC__ 4 | # pragma longlong on 5 | #endif 6 | #if 1 7 | # define MAC_OS_GUSI_SOURCE 8 | #endif 9 | #define MONOLITH 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/WISHLIST.TXT: -------------------------------------------------------------------------------- 1 | * Have the building procedure contain a LINK-only possibility. 2 | Wished by Mark Daniel 3 | 4 | One way to enable that is also to go over to DESCRIP.MMS files. 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/point.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -f "$2" 4 | if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw ; then 5 | cp "$1" "$2" 6 | else 7 | ln -s "$1" "$2" 8 | fi 9 | echo "$2 => $1" 10 | 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/VERSION: -------------------------------------------------------------------------------- 1 | The version numbers will follow my SSL implementation 2 | 3 | 0.7.2r - Some reasonable default compiler options from 4 | Peter Gutman 5 | 6 | 0.7.2m - the first release 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c_info: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # print the subject 4 | # 5 | 6 | for i in $* 7 | do 8 | n=`openssl x509 -subject -issuer -enddate -noout -in $i` 9 | echo "$i" 10 | echo "$n" 11 | echo "--------" 12 | done 13 | -------------------------------------------------------------------------------- /generate/templates/filters/has_return_type.js: -------------------------------------------------------------------------------- 1 | module.exports = function(functionInfo) { 2 | if (functionInfo.return) { 3 | return functionInfo.return.cType != "void" || functionInfo.return.isErrorCode; 4 | } 5 | 6 | return false; 7 | }; 8 | -------------------------------------------------------------------------------- /generate/templates/filters/has_return_value.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fn) { 2 | if (fn.return 3 | && !fn.return.isErrorCode 4 | && fn.return.cType != "void") { 5 | return true 6 | } 7 | 8 | return false; 9 | }; 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/extract-section.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | while() { 4 | if (/=for\s+comment\s+openssl_manual_section:(\S+)/) 5 | { 6 | print "$1\n"; 7 | exit 0; 8 | } 9 | } 10 | 11 | print "$ARGV[0]\n"; 12 | 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/aes/README: -------------------------------------------------------------------------------- 1 | This is an OpenSSL-compatible version of AES (also called Rijndael). 2 | aes_core.c is basically the same as rijndael-alg-fst.c but with an 3 | API that looks like the rest of the OpenSSL symmetric cipher suite. 4 | -------------------------------------------------------------------------------- /lib/odb_object.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var OdbObject = NodeGit.OdbObject; 4 | 5 | OdbObject.prototype.toString = function(size) { 6 | size = size || this.size(); 7 | 8 | return this.data().toBuffer(size).toString(); 9 | }; 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dsa/README: -------------------------------------------------------------------------------- 1 | The stuff in here is based on patches supplied to me by 2 | Steven Schoch to do DSS. 3 | I have since modified a them a little but a debt of gratitude 4 | is due for doing the initial work. 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/pthread2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # build using pthreads where it's already built into the system 4 | # 5 | /bin/rm -f mttest 6 | gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread -ldl 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tpemce.bat: -------------------------------------------------------------------------------- 1 | rem called by testpemce 2 | 3 | echo test %1 %2 4 | cecopy %2 CE:\OpenSSL 5 | cerun CE:\OpenSSL\%ssleay% %1 -in \OpenSSL\%2 -out \OpenSSL\%tmp1% 6 | del %tmp1% >nul 2>&1 7 | cecopy CE:\OpenSSL\%tmp1% . 8 | %cmp% %2 %tmp1% 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/rsaref/rsaref.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf rsaref.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L RSAREF rsaref_err.h rsaref_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/vax.opt: -------------------------------------------------------------------------------- 1 | ! 2 | ! Ensure transfer vector is at beginning of image 3 | ! 4 | CLUSTER=FIRST 5 | COLLECT=FIRST,$$ENGINE 6 | ! 7 | ! make psects nonshareable so image can be installed. 8 | ! 9 | PSECT_ATTR=$CHAR_STRING_CONSTANTS,NOWRT 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/GitConfigure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BRANCH=`git rev-parse --abbrev-ref HEAD` 4 | 5 | ./Configure $@ no-symlinks 6 | make files 7 | util/mk1mf.pl OUT=out.$BRANCH TMP=tmp.$BRANCH INC=inc.$BRANCH copy > makefile.$BRANCH 8 | make -f makefile.$BRANCH init 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/ibmca/hw_ibmca.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf hw_ibmca.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L IBMCA hw_ibmca_err.h hw_ibmca_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/ppc_arch.h: -------------------------------------------------------------------------------- 1 | #ifndef __PPC_ARCH_H__ 2 | # define __PPC_ARCH_H__ 3 | 4 | extern unsigned int OPENSSL_ppccap_P; 5 | 6 | # define PPC_FPU64 (1<<0) 7 | # define PPC_ALTIVEC (1<<1) 8 | # define PPC_CRYPTO207 (1<<2) 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/asn1/README.ASN1: -------------------------------------------------------------------------------- 1 | This is a demo of the new ASN1 code. Its an OCSP ASN1 module. Doesn't 2 | do much yet other than demonstrate what the new ASN1 modules might look 3 | like. 4 | 5 | It wont even compile yet: the new code isn't in place. 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/zencod/hw_zencod.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf hw_zencod.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L ZENCOD hw_zencod_err.h hw_zencod_err.c 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_nt.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl util\mk1mf.pl no-asm VC-NT >ms\nt.mak 4 | perl util\mk1mf.pl dll no-asm VC-NT >ms\ntdll.mak 5 | 6 | perl util\mkdef.pl libeay NT > ms\libeay32.def 7 | perl util\mkdef.pl ssleay NT > ms\ssleay32.def 8 | -------------------------------------------------------------------------------- /generate/templates/filters/title_case.js: -------------------------------------------------------------------------------- 1 | module.exports = function(str) { 2 | return str.split(/_|\//).map(function(val, index) { 3 | if (val.length) { 4 | return val[0].toUpperCase() + val.slice(1); 5 | } 6 | 7 | return val; 8 | }).join(""); 9 | }; 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/pthread.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # build using pthreads 4 | # 5 | # http://www.mit.edu:8001/people/proven/pthreads.html 6 | # 7 | /bin/rm -f mttest 8 | pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto 9 | 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/tab_num.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | $num=1; 4 | $width=40; 5 | 6 | while (<>) 7 | { 8 | chop; 9 | 10 | $i=length($_); 11 | 12 | $n=$width-$i; 13 | $i=int(($n+7)/8); 14 | print $_.("\t" x $i).$num."\n"; 15 | $num++; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_publickey_init.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_publickey_init 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_publickey_init - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /generate/templates/filters/is_v8_value.js: -------------------------------------------------------------------------------- 1 | var v8 = [ 2 | "Boolean", 3 | "Number", 4 | "String", 5 | "Integer", 6 | "Int32", 7 | "Uint32", 8 | "Date", 9 | "Function" 10 | ]; 11 | 12 | module.exports = function(cppClassName) { 13 | return v8.indexOf(cppClassName) > -1; 14 | }; 15 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_publickey_list_free.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_publickey_list_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_publickey_list_free - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_publickey_shutdown.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_publickey_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_publickey_shutdown - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /vendor/openssl/asm_obsolete/x64-macosx-gas/modes/aesni-gcm-x86_64.s: -------------------------------------------------------------------------------- 1 | .text 2 | 3 | .globl _aesni_gcm_encrypt 4 | 5 | _aesni_gcm_encrypt: 6 | xorl %eax,%eax 7 | .byte 0xf3,0xc3 8 | 9 | 10 | .globl _aesni_gcm_decrypt 11 | 12 | _aesni_gcm_decrypt: 13 | xorl %eax,%eax 14 | .byte 0xf3,0xc3 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/dh/dh1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIGHAoGBAJf2QmHKtQXdKCjhPx1ottPb0PMTBH9A6FbaWMsTuKG/K3g6TG1Z1fkq 3 | /Gz/PWk/eLI9TzFgqVAuPvr3q14a1aZeVUMTgo2oO5/y2UHe6VaJ+trqCTat3xlx 4 | /mNbIK9HA2RgPC3gWfVLZQrY+gz3ASHHR5nXWHEyvpuZm7m3h+irAgEC 5 | -----END DH PARAMETERS----- 6 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/engines/cluster_labs/hw_cluster_labs.ec: -------------------------------------------------------------------------------- 1 | # configuration file for util/mkerr.pl 2 | # 3 | # use like this: 4 | # 5 | # perl ../../../util/mkerr.pl -conf hw_cluster_labs.ec \ 6 | # -nostatic -staticloader -write *.c 7 | 8 | L CL hw_cluster_labs_err.h hw_cluster_labs_err.c 9 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_publickey_list_fetch.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_publickey_list_fetch 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_publickey_list_fetch - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/rsa/rsa_locl.h: -------------------------------------------------------------------------------- 1 | extern int int_rsa_verify(int dtype, const unsigned char *m, 2 | unsigned int m_len, unsigned char *rm, 3 | size_t *prm_len, const unsigned char *sigbuf, 4 | size_t siglen, RSA *rsa); 5 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/sign/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include -Wall 3 | LIBS= -L../.. -lcrypto 4 | EXAMPLES=sign 5 | 6 | all: $(EXAMPLES) 7 | 8 | sign: sign.o 9 | $(CC) -o sign sign.o $(LIBS) 10 | 11 | clean: 12 | rm -f $(EXAMPLES) *.o 13 | 14 | test: all 15 | ./sign 16 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_publickey_remove_ex.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_publickey_list_remove_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_publickey_list_remove_ex - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /vendor/openssl/fips/fipscc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ARGS= 3 | CXX=${CXX:-g++} 4 | 5 | while [ "x$1" != "x" ]; do 6 | ARG=$1 7 | shift 8 | case $ARG in 9 | *fips_premain.c) ARGS="$ARGS -x c $ARG -x none";; 10 | *) ARGS="$ARGS $ARG";; 11 | esac 12 | done 13 | 14 | echo $CXX $ARGS 15 | ${CXX} $ARGS 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/tunala/Makefile.am: -------------------------------------------------------------------------------- 1 | # Our includes come from the OpenSSL build-tree we're in 2 | INCLUDES = -I$(top_builddir)/../../include 3 | 4 | bin_PROGRAMS = tunala 5 | 6 | tunala_SOURCES = tunala.c buffer.c cb.c ip.c sm.c breakage.c 7 | tunala_LDADD = -L$(top_builddir)/../.. -lssl -lcrypto 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/bio/README: -------------------------------------------------------------------------------- 1 | This directory contains some simple examples of the use of BIO's 2 | to simplify socket programming. 3 | 4 | The client-conf, server-conf, client-arg and client-conf include examples 5 | of how to use the SSL_CONF API for configuration file or command line 6 | processing. 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/tools/c89.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -k 2 | # 3 | # Re-order arguments so that -L comes first 4 | # 5 | opts="" 6 | lopts="" 7 | 8 | for arg in $* ; do 9 | case $arg in 10 | -L*) lopts="$lopts $arg" ;; 11 | *) opts="$opts $arg" ;; 12 | esac 13 | done 14 | 15 | c89 $lopts $opts 16 | -------------------------------------------------------------------------------- /lib/submodule.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Submodule = NodeGit.Submodule; 4 | 5 | var _foreach = Submodule.foreach; 6 | 7 | // Override Submodule.foreach to eliminate the need to pass null payload 8 | Submodule.foreach = function(repo, callback) { 9 | return _foreach(repo, callback, null); 10 | }; 11 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_request_pty_size_ex.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_request_pty_size_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_request_pty_size_ex - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /vendor/openssl/buildinf.h: -------------------------------------------------------------------------------- 1 | /* crypto/Makefile usually creates the file at build time. Since we don't care 2 | * about the build timestamp we fill in placeholder values. */ 3 | #ifndef MK1MF_BUILD 4 | #define CFLAGS "-C flags not included-" 5 | #define PLATFORM "google" 6 | #define DATE "Sun Jan 1 00:00:00 GMT 1970" 7 | #endif 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_nasm.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl util\mk1mf.pl nasm VC-WIN32 >ms\nt.mak 4 | perl util\mk1mf.pl dll nasm VC-WIN32 >ms\ntdll.mak 5 | perl util\mk1mf.pl nasm BC-NT >ms\bcb.mak 6 | 7 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 8 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dsap.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIGcAkEA+ZiKEvZmc9MtnaFZh4NiZ3oZS4J1PHvPrm9MXj5ntVheDPkdmBDTncya 3 | GAJcMjwsyB/GvLDGd6yGCw/8eF+09wIVAK3VagOxGd/Q4Af5NbxR5FB7CXEjAkA2 4 | t/q7HgVLi0KeKvcDG8BRl3wuy7bCvpjgtWiJc/tpvcuzeuAayH89UofjAGueKjXD 5 | ADiRffvSdhrNw5dkqdql 6 | -----END DSA PARAMETERS----- 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/irix.sh: -------------------------------------------------------------------------------- 1 | FLAGS="-DTERMIOS -O2 -mips2 -DB_ENDIAN -fomit-frame-pointer -Wall -Iinclude" 2 | SHFLAGS="-DPIC -fpic" 3 | 4 | gcc -c -Icrypto $SHFLAGS $FLAGS -o crypto.o crypto/crypto.c 5 | ld -shared -o libcrypto.so crypto.o 6 | gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c 7 | ld -shared -o libssl.so ssl.o 8 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_userauth_hostbased_fromfile_ex.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_userauth_hostbased_fromfile_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_userauth_hostbased_fromfile_ex - TODO 4 | .SH SYNOPSIS 5 | 6 | .SH DESCRIPTION 7 | 8 | .SH RETURN VALUE 9 | 10 | .SH ERRORS 11 | 12 | .SH SEE ALSO 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dsa512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIGdAkEAnRtpjibb8isRcBmG9hnI+BnyGFOURgbQYlAzSwI8UjADizv5X9EkBk97 3 | TLqqQJv9luQ3M7stWtdaEUBmonZ9MQIVAPtT71C0QJIxVoZTeuiLIppJ+3GPAkEA 4 | gz6I5cWJc847bAFJv7PHnwrqRJHlMKrZvltftxDXibeOdPvPKR7rqCxUUbgQ3qDO 5 | L8wka5B33qJoplISogOdIA== 6 | -----END DSA PARAMETERS----- 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/lhash/num.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | #node 10 -> 4 4 | 5 | while (<>) 6 | { 7 | next unless /^node/; 8 | chop; 9 | @a=split; 10 | $num{$a[3]}++; 11 | } 12 | 13 | @a=sort {$a <=> $b } keys %num; 14 | foreach (0 .. $a[$#a]) 15 | { 16 | printf "%4d:%4d\n",$_,$num{$_}; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/state_machine/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS=-I../../include -Wall -Werror -g 2 | 3 | all: state_machine 4 | 5 | state_machine: state_machine.o 6 | $(CC) -o state_machine state_machine.o -L../.. -lssl -lcrypto 7 | 8 | test: state_machine 9 | ./state_machine 10000 ../../apps/server.pem ../../apps/server.pem 10 | -------------------------------------------------------------------------------- /vendor/libssh2/win32/rules.mk: -------------------------------------------------------------------------------- 1 | 2 | all-sub: $(INTDIR) all 3 | 4 | clean-sub: clean 5 | 6 | $(INTDIR): 7 | !if "$(SRCDIR)" == "" 8 | @if not exist $(TARGET) mkdir $(TARGET) 9 | !endif 10 | @if not exist $(INTDIR) mkdir $(INTDIR) 11 | 12 | {$(SUBDIR)}.c{$(INTDIR)}.obj:: 13 | $(CC) -c $(CFLAGS) /Fo"$(INTDIR)\\" $< 14 | 15 | 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/README: -------------------------------------------------------------------------------- 1 | NOTE: Don't expect any of these programs to work with current 2 | OpenSSL releases, or even with later SSLeay releases. 3 | 4 | Original README: 5 | ============================================================================= 6 | 7 | Some demo programs sent to me by various people 8 | 9 | eric 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/asm/x86/div.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # x86 assember 3 | 4 | sub bn_div_words 5 | { 6 | local($name)=@_; 7 | 8 | &function_begin($name,""); 9 | &mov("edx",&wparam(0)); # 10 | &mov("eax",&wparam(1)); # 11 | &mov("ebx",&wparam(2)); # 12 | &div("ebx"); 13 | &function_end($name); 14 | } 15 | 1; 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/cast/asm/readme: -------------------------------------------------------------------------------- 1 | There is a ppro flag in cast-586 which turns on/off 2 | generation of pentium pro/II friendly code 3 | 4 | This flag makes the inner loop one cycle longer, but generates 5 | code that runs %30 faster on the pentium pro/II, while only %7 slower 6 | on the pentium. By default, this flag is on. 7 | 8 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/sun.sh: -------------------------------------------------------------------------------- 1 | FLAGS="-DTERMIO -O3 -DB_ENDIAN -fomit-frame-pointer -mv8 -Wall -Iinclude" 2 | SHFLAGS="-DPIC -fpic" 3 | 4 | gcc -c -Icrypto $SHFLAGS -fpic $FLAGS -o crypto.o crypto/crypto.c 5 | ld -G -z text -o libcrypto.so crypto.o 6 | 7 | gcc -c -Issl $SHFLAGS $FLAGS -o ssl.o ssl/ssl.c 8 | ld -G -z text -o libssl.so ssl.o 9 | -------------------------------------------------------------------------------- /generate/templates/manual/include/git_buf_converter.h: -------------------------------------------------------------------------------- 1 | #ifndef STR_ARRAY_H 2 | #define STR_ARRAY_H 3 | 4 | #include 5 | 6 | #include "nan.h" 7 | #include "git2/strarray.h" 8 | 9 | using namespace v8; 10 | 11 | class StrArrayConverter { 12 | public: 13 | static git_strarray *Convert (Local val); 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/HACKING: -------------------------------------------------------------------------------- 1 | 2 | libssh2 source code style guide: 3 | 4 | - 4 level indent 5 | - spaces-only (no tabs) 6 | - open braces on the if/for line: 7 | 8 | if (banana) { 9 | go_nuts(); 10 | } 11 | 12 | - keep source lines shorter than 80 columns 13 | - See libssh2-style.el for how to achieve this within Emacs 14 | -------------------------------------------------------------------------------- /lib/signature.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var Signature = NodeGit.Signature; 3 | 4 | /** 5 | * Standard string representation of an author. 6 | * 7 | * @return {string} Representation of the author. 8 | */ 9 | Signature.prototype.toString = function() { 10 | return this.name().toString() + " <" + this.email().toString() + ">"; 11 | }; 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_win64i.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl ms\uplink-ia64.pl > ms\uptable.asm 4 | ias -o ms\uptable.obj ms\uptable.asm 5 | perl util\mk1mf.pl VC-WIN64I >ms\nt.mak 6 | perl util\mk1mf.pl dll VC-WIN64I >ms\ntdll.mak 7 | 8 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 9 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 10 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /.travis/ 2 | /build/ 3 | /examples/ 4 | /generate/ 5 | /guides/ 6 | /lib/ 7 | /test/ 8 | /vendor/Release/ 9 | 10 | !/include 11 | !/src 12 | 13 | .astylerc 14 | .editorconfig 15 | .gitignore 16 | .gitmodules 17 | .jshintrc 18 | .travis.yml 19 | appveyor.yml 20 | 21 | !binding.gyp 22 | 23 | *.filters 24 | *.log 25 | *.md 26 | *.sln 27 | *.vcxproj 28 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/bio/connect.cnf: -------------------------------------------------------------------------------- 1 | # Example configuration file 2 | # Connects to the default port of s_server 3 | Connect = localhost:4433 4 | # Disable TLS v1.2 for test. 5 | # Protocol = ALL, -TLSv1.2 6 | # Only support 3 curves 7 | Curves = P-521:P-384:P-256 8 | # Restricted signature algorithms 9 | SignatureAlgorithms = RSA+SHA512:ECDSA+SHA512 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/testsslproxy: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | echo 'Testing a lot of proxy conditions.' 4 | echo 'Some of them may turn out being invalid, which is fine.' 5 | for auth in A B C BC; do 6 | for cond in A B C 'A|B&!C'; do 7 | sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond" 8 | if [ $? = 3 ]; then exit 1; fi 9 | done 10 | done 11 | -------------------------------------------------------------------------------- /generate/templates/filters/cpp_to_v8.js: -------------------------------------------------------------------------------- 1 | var isV8Value = require("./is_v8_value"); 2 | 3 | module.exports = function(cppClassName) { 4 | if (cppClassName === "Integer") { 5 | cppClassName = "Number"; 6 | } else if (cppClassName === "Wrapper"){ 7 | cppClassName = "String"; 8 | } 9 | 10 | return isV8Value(cppClassName) ? cppClassName : "Object"; 11 | }; 12 | -------------------------------------------------------------------------------- /lib/tag.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var LookupWrapper = NodeGit.Utils.lookupWrapper; 3 | var Tag = NodeGit.Tag; 4 | 5 | /** 6 | * Retrieves the tag pointed to by the oid 7 | * @async 8 | * @param {Repository} repo The repo that the tag lives in 9 | * @param {String|Oid|Tag} id The tag to lookup 10 | * @return {Tag} 11 | */ 12 | Tag.lookup = LookupWrapper(Tag); 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/README: -------------------------------------------------------------------------------- 1 | This is a quick packaging up of my blowfish code into a library. 2 | It has been lifted from SSLeay. 3 | The copyright notices seem a little harsh because I have not spent the 4 | time to rewrite the conditions from the normal SSLeay ones. 5 | 6 | Basically if you just want to play with the library, not a problem. 7 | 8 | eric 15-Apr-1997 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/oid.cnf: -------------------------------------------------------------------------------- 1 | 2.99999.1 SET.ex1 SET x509v3 extension 1 2 | 2.99999.2 SET.ex2 SET x509v3 extension 2 3 | 2.99999.3 SET.ex3 SET x509v3 extension 3 4 | 2.99999.4 SET.ex4 SET x509v3 extension 4 5 | 2.99999.5 SET.ex5 SET x509v3 extension 5 6 | 2.99999.6 SET.ex6 SET x509v3 extension 6 7 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/dirname.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | if ($#ARGV < 0) { 4 | die "dirname.pl: too few arguments\n"; 5 | } elsif ($#ARGV > 0) { 6 | die "dirname.pl: too many arguments\n"; 7 | } 8 | 9 | my $d = $ARGV[0]; 10 | 11 | if ($d =~ m|.*/.*|) { 12 | $d =~ s|/[^/]*$||; 13 | } else { 14 | $d = "."; 15 | } 16 | 17 | print $d,"\n"; 18 | exit(0); 19 | -------------------------------------------------------------------------------- /lib/odb.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Odb = NodeGit.Odb; 4 | 5 | var _read = Odb.prototype.read; 6 | 7 | Odb.prototype.read = function(oid, callback) { 8 | return _read.call(this, oid).then(function(odbObject) { 9 | if (typeof callback === "function") { 10 | callback(null, odbObject); 11 | } 12 | 13 | return odbObject; 14 | }, callback); 15 | }; 16 | -------------------------------------------------------------------------------- /vendor/libssh2/Makefile.inc: -------------------------------------------------------------------------------- 1 | CSOURCES = channel.c comp.c crypt.c hostkey.c kex.c mac.c misc.c \ 2 | packet.c publickey.c scp.c session.c sftp.c userauth.c transport.c \ 3 | version.c knownhost.c agent.c $(CRYPTO_CSOURCES) pem.c keepalive.c global.c 4 | 5 | HHEADERS = libssh2_priv.h $(CRYPTO_HHEADERS) transport.h channel.h comp.h \ 6 | mac.h misc.h packet.h userauth.h session.h sftp.h crypto.h 7 | -------------------------------------------------------------------------------- /vendor/http_parser/.gitignore: -------------------------------------------------------------------------------- 1 | /out/ 2 | core 3 | tags 4 | *.o 5 | test 6 | test_g 7 | test_fast 8 | bench 9 | url_parser 10 | parsertrace 11 | parsertrace_g 12 | *.mk 13 | *.Makefile 14 | *.so.* 15 | *.a 16 | 17 | 18 | # Visual Studio uglies 19 | *.suo 20 | *.sln 21 | *.vcxproj 22 | *.vcxproj.filters 23 | *.vcxproj.user 24 | *.opensdf 25 | *.ncrunchsolution* 26 | *.sdf 27 | *.vsp 28 | *.psess 29 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/easy_tls/test.h: -------------------------------------------------------------------------------- 1 | /* test.h */ 2 | /* $Id: test.h,v 1.1 2001/09/17 19:07:00 bodo Exp $ */ 3 | 4 | void test_process_init(int fd, int client_p, void *apparg); 5 | #define TLS_APP_PROCESS_INIT test_process_init 6 | 7 | #undef TLS_CUMULATE_ERRORS 8 | 9 | void test_errflush(int child_p, char *errbuf, size_t num, void *apparg); 10 | #define TLS_APP_ERRFLUSH test_errflush 11 | -------------------------------------------------------------------------------- /generate/templates/filters/js_args_count.js: -------------------------------------------------------------------------------- 1 | module.exports = function(args) { 2 | var cArg, 3 | jsArg; 4 | 5 | if (!args) { 6 | return 0; 7 | } 8 | 9 | for(cArg = 0, jsArg = 0; cArg < args.length; cArg++) { 10 | var arg = args[cArg]; 11 | 12 | if (!arg.isReturn && !arg.isSelf && !arg.isPayload) { 13 | jsArg++; 14 | } 15 | } 16 | 17 | return jsArg; 18 | }; 19 | -------------------------------------------------------------------------------- /lib/status_list.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var normalizeOptions = NodeGit.Utils.normalizeOptions; 3 | 4 | var StatusList = NodeGit.StatusList; 5 | 6 | var _create = StatusList.create; 7 | 8 | // Override StatusList.create to normalize opts 9 | StatusList.create = function(repo, opts) { 10 | opts = normalizeOptions(opts, NodeGit.StatusOptions); 11 | return _create(repo, opts); 12 | }; 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/pem/message: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVACY-ENHANCED MESSAGE----- 2 | Proc-Type: 4,ENCRYPTED 3 | Proc-Type: 4,MIC-ONLY 4 | Proc-Type: 4,MIC-CLEAR 5 | Content-Domain: RFC822 6 | DEK-Info: DES-CBC,0123456789abcdef 7 | Originator-Certificate 8 | xxxx 9 | Issuer-Certificate 10 | xxxx 11 | MIC-Info: RSA-MD5,RSA, 12 | xxxx 13 | 14 | 15 | -----END PRIVACY-ENHANCED MESSAGE----- 16 | 17 | -------------------------------------------------------------------------------- /test/id_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkTcgXnHuqR0gbwegnr9Zxz4hTkjjV/SpgJNPJz7mo/HKNbx0rqjj1P0yGR053R9GSFFim2ut4NK9DPPUkQdyucw+DoLkYRHJmlJ4BNa9NTCD0sl+eSXO2969kZojCYSOgbmkCJx8mdgTwhzdgE/jhBrsY0hPE6pRTlU+H68/zeNdJUAIJf0LLXOm3hpTKLA19VICltl/j9VvBJpgRHdBylXEyL8HokYpjkQQk1ZXj3m7Nlo8yDdg4VcljOJWC+Xh8kxRMfK5x/VRVsYKCQXN5QlzKeqf7USRDUS/7mFoPUBW+d4kwKtGxRsWuIL2yeqzifZUTOgsh9+ZWAWxWffQZ your_email@example.com 2 | -------------------------------------------------------------------------------- /vendor/libssh2/tests/etc/host.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwJaOo3i1X3N401hMd92lRec0tPMBgaF6ZDanovBiQP+PNo6gVNtuF15AspbyxrViqtAyjLWQQlKGWgEFb2ga3ukzJll4dKPtNff3mO++W19ia0WQZFWTAGcYqet4fvSALIpG+t/3u5MZXMNZPyCU8u1l+QXX14f6dEjzgRw7s3fSy/uvQawkgn8TQFvtSBOfvUTJPTAhhZqxZAt3nGH8d6vqD1hBNvdOpsohy6EgFh8V+kxnUdQntrYe9WSz0djt0RRrdAvRkM0hq1UY8C9FTQQWni1n168c7FVrf65+GdJOn7NQDu0Whmh/R3flXR0kIBG+F7e8+e9W9OhlionkPw== jas@mocca 2 | -------------------------------------------------------------------------------- /vendor/libssh2/tests/etc/user.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAxIgBuZS39D4bFnWminE7svGQLdVKx1aWKnEYEa+XtNU4DKZ/pxUHg0zbEBya+IkX1yqQYWALoiOwI8XhdemLp8g03BX7o+DLSWisfiHpCDVGAuNqRDF7qnFyL/ZBH6e0XKMtsoB51TDuBc4Rxh6p1V2QL/fg8BoHcCrnKkoqN8PSoKUX2lPKJ3JIF/P8cDLbKYCvbSTFOdf56eqg0GJe7jFtSwweE9yz3IWZ3kSS1E/9E6sXaNCu/hUt1bvQthICQyBNoTtQP/igEUJ7n0GMetsnq9wiUSomLzWqIWNqmvOv62aCXRi5sYgpSAR4Zvnm3Cx/Wl0BEPz2rrFkG+G0SQ== jas@mocca 2 | -------------------------------------------------------------------------------- /lib/utils/shallow_clone.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../../"); 2 | 3 | function shallowClone() { 4 | var merges = Array.prototype.slice.call(arguments); 5 | 6 | return merges.reduce(function(obj, merge) { 7 | return Object.keys(merge).reduce(function(obj, key) { 8 | obj[key] = merge[key]; 9 | return obj; 10 | }, obj); 11 | }, {}); 12 | } 13 | 14 | NodeGit.Utils.shallowClone = shallowClone; 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/asm/readme: -------------------------------------------------------------------------------- 1 | There are blowfish assembler generation scripts. 2 | bf-586.pl version is for the pentium and 3 | bf-686.pl is my original version, which is faster on the pentium pro. 4 | 5 | When using a bf-586.pl, the pentium pro/II is %8 slower than using 6 | bf-686.pl. When using a bf-686.pl, the pentium is %16 slower 7 | than bf-586.pl 8 | 9 | So the default is bf-586.pl 10 | 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/BN_swap.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | BN_swap - exchange BIGNUMs 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void BN_swap(BIGNUM *a, BIGNUM *b); 12 | 13 | =head1 DESCRIPTION 14 | 15 | BN_swap() exchanges the values of I and I. 16 | 17 | L 18 | 19 | =head1 HISTORY 20 | 21 | BN_swap was added in OpenSSL 0.9.7. 22 | 23 | =cut 24 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /coverage/ 3 | /dist/ 4 | /include/ 5 | /lib/enums.js 6 | /lib/nodegit.js 7 | /node_modules/ 8 | /src/ 9 | /test/coverage/ 10 | /test/home/ 11 | /test/repos/ 12 | /test/test/ 13 | 14 | /generate/output 15 | /generate/**/*.json 16 | !/generate/input/*.json 17 | 18 | /generate/missing-tests.json 19 | /binding.gyp 20 | 21 | 22 | *.log 23 | .DS_STORE 24 | .idea 25 | 26 | .vscode 27 | jsconfig.json 28 | -------------------------------------------------------------------------------- /generate/templates/filters/payload_for.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fields, payloadForField) { 2 | fields = fields || []; 3 | 4 | var result = fields.filter(function (field) { 5 | return field.payloadFor && (field.payloadFor === payloadForField || field.payloadFor === "*"); 6 | }); 7 | 8 | if (result.length > 0) { 9 | return result[0].name; 10 | } 11 | else { 12 | return ""; 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/demoSRP/srp_verifier.txt: -------------------------------------------------------------------------------- 1 | # This is a file that will be filled by the openssl srp routine. 2 | # You can initialize the file with additional groups, these are 3 | # records starting with a I followed by the g and N values and the id. 4 | # The exact values ... you have to dig this out from the source of srp.c 5 | # or srp_vfy.c 6 | # The last value of an I is used as the default group for new users. 7 | -------------------------------------------------------------------------------- /generate/templates/filters/returns_count.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fn) { 2 | var args = fn.args || []; 3 | var result = args.reduce(function (currentValue, arg) { 4 | return currentValue + (arg.isReturn ? 1 : 0); 5 | }, 0); 6 | 7 | if (!result 8 | && fn.return 9 | && !fn.return.isErrorCode 10 | && fn.return.cType != "void") { 11 | result = 1; 12 | } 13 | 14 | return result; 15 | }; 16 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_exit.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_exit 3 "19 Mar 2010" "libssh2 1.2.5" "libssh2 manual" 2 | .SH NAME 3 | libssh2_exit - global library deinitialization 4 | .SH SYNOPSIS 5 | #include 6 | 7 | void 8 | libssh2_exit(void); 9 | .SH DESCRIPTION 10 | Exit the libssh2 functions and free's all memory used internal. 11 | .SH AVAILABILITY 12 | Added in libssh2 1.2.5 13 | .SH SEE ALSO 14 | .BR libssh2_init(3) 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/testreq2.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIHaMIGFAgEAMA4xDDAKBgNVBAMTA2NuNDBcMA0GCSqGSIb3DQEBAQUAA0sAMEgC 3 | QQCQsnkyUGDY2R3mYoeTprFJKgWuJ3f1jUjlIuW5+wfAUoeMt35c4vcFZ2mIBpEG 4 | DtzkNQN1kr2O9ldm9zYnYhyhAgMBAAGgEjAQBgorBgEEAYI3AgEOMQIwADANBgkq 5 | hkiG9w0BAQQFAANBAAb2szZgVIxg3vK6kYLjGSBISyuzcXJ6IvuPW6M+yzi1Qgoi 6 | gQhazHTJp91T8ItZEzUJGZSZl2e5iXlnffWB+/U= 7 | -----END CERTIFICATE REQUEST----- 8 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.2.0 / 2014-11-24 2 | =================== 3 | 4 | * Shifted to promises; asynchronous methods now provide promises. 5 | * Lots of new methods exposed for merging, pushing, blaming and more. 6 | * SSH transport now works. 7 | * Switched generation of native module code from ejsg to Combyne. 8 | * Added continuous integration with Linux, OSX, and Windows. 9 | * Many method and property names have changed. 10 | -------------------------------------------------------------------------------- /generate/templates/manual/src/functions/sleep_for_ms.cc: -------------------------------------------------------------------------------- 1 | #ifdef WIN32 2 | #include 3 | #else 4 | #include 5 | #endif // win32 6 | 7 | void sleep_for_ms(int milliseconds) { 8 | #ifdef WIN32 9 | Sleep(milliseconds); 10 | #else 11 | struct timespec t; 12 | t.tv_sec = 0; 13 | t.tv_nsec = milliseconds * 1000000; // 1 milliseconds == 1,000,000 nanoseconds 14 | nanosleep(&t, NULL); 15 | #endif 16 | } 17 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/b64.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | # 4 | # Make PEM encoded data have lines of 64 bytes of data 5 | # 6 | 7 | while (<>) 8 | { 9 | if (/^-----BEGIN/ .. /^-----END/) 10 | { 11 | if (/^-----BEGIN/) { $first=$_; next; } 12 | if (/^-----END/) { $last=$_; next; } 13 | $out.=$_; 14 | } 15 | } 16 | $out =~ s/\s//g; 17 | $out =~ s/(.{64})/$1\n/g; 18 | print "$first$out\n$last\n"; 19 | 20 | 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_ms.bat: -------------------------------------------------------------------------------- 1 | 2 | perl util\mkfiles.pl >MINFO 3 | perl util\mk1mf.pl no-asm VC-WIN32 >ms\nt.mak 4 | perl util\mk1mf.pl dll no-asm VC-WIN32 >ms\ntdll.mak 5 | if x%OSVERSION% == x goto skipce 6 | perl util\mk1mf.pl no-asm VC-CE >ms\ce.mak 7 | perl util\mk1mf.pl dll no-asm VC-CE >ms\cedll.mak 8 | :skipce 9 | 10 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 11 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 12 | -------------------------------------------------------------------------------- /vendor/openssl/asm_obsolete/x64-elf-gas/modes/aesni-gcm-x86_64.s: -------------------------------------------------------------------------------- 1 | .text 2 | 3 | .globl aesni_gcm_encrypt 4 | .type aesni_gcm_encrypt,@function 5 | aesni_gcm_encrypt: 6 | xorl %eax,%eax 7 | .byte 0xf3,0xc3 8 | .size aesni_gcm_encrypt,.-aesni_gcm_encrypt 9 | 10 | .globl aesni_gcm_decrypt 11 | .type aesni_gcm_decrypt,@function 12 | aesni_gcm_decrypt: 13 | xorl %eax,%eax 14 | .byte 0xf3,0xc3 15 | .size aesni_gcm_decrypt,.-aesni_gcm_decrypt 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bn/bn.mul: -------------------------------------------------------------------------------- 1 | We need 2 | 3 | * bn_mul_comba8 4 | * bn_mul_comba4 5 | * bn_mul_normal 6 | * bn_mul_recursive 7 | 8 | * bn_sqr_comba8 9 | * bn_sqr_comba4 10 | bn_sqr_normal -> BN_sqr 11 | * bn_sqr_recursive 12 | 13 | * bn_mul_low_recursive 14 | * bn_mul_low_normal 15 | * bn_mul_high 16 | 17 | * bn_mul_part_recursive # symetric but not power of 2 18 | 19 | bn_mul_asymetric_recursive # uneven, but do the chop up. 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/bio/accept.cnf: -------------------------------------------------------------------------------- 1 | # Example configuration file 2 | # Port to listen on 3 | Port = 4433 4 | # Disable TLS v1.2 for test. 5 | # Protocol = ALL, -TLSv1.2 6 | # Only support 3 curves 7 | Curves = P-521:P-384:P-256 8 | # Automatic curve selection 9 | ECDHParameters = Automatic 10 | # Restricted signature algorithms 11 | SignatureAlgorithms = RSA+SHA512:ECDSA+SHA512 12 | Certificate=server.pem 13 | PrivateKey=server.pem 14 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/pod2mantest.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | foo, bar, 6 | MARKER - test of multiline name section 7 | 8 | =head1 DESCRIPTION 9 | 10 | This is a test .pod file to see if we have a buggy pod2man or not. 11 | If we have a buggy implementation, we will get a line matching the 12 | regular expression "^ +MARKER - test of multiline name section *$" 13 | at the end of the resulting document. 14 | 15 | =cut 16 | -------------------------------------------------------------------------------- /vendor/openssl/asm_obsolete/x64-win32-masm/modes/aesni-gcm-x86_64.asm: -------------------------------------------------------------------------------- 1 | OPTION DOTNAME 2 | .text$ SEGMENT ALIGN(256) 'CODE' 3 | 4 | PUBLIC aesni_gcm_encrypt 5 | 6 | aesni_gcm_encrypt PROC PUBLIC 7 | xor eax,eax 8 | DB 0F3h,0C3h ;repret 9 | aesni_gcm_encrypt ENDP 10 | 11 | PUBLIC aesni_gcm_decrypt 12 | 13 | aesni_gcm_decrypt PROC PUBLIC 14 | xor eax,eax 15 | DB 0F3h,0C3h ;repret 16 | aesni_gcm_decrypt ENDP 17 | 18 | .text$ ENDS 19 | END 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/README: -------------------------------------------------------------------------------- 1 | Run these makefiles from the top level as in 2 | nmake -f ms\makefilename 3 | to build with visual C++ 4.[01]. 4 | 5 | The results will be in the out directory. 6 | 7 | These makefiles and def files were generated by typing 8 | 9 | perl util\mk1mf.pl VC-NT >ms/nt.mak 10 | perl util\mk1mf.pl VC-NT dll >ms/ntdll.mak 11 | 12 | perl util\mkdef.pl 32 crypto > ms/crypto32.def 13 | perl util\mkdef.pl 32 ssl > ms/ssl32.def 14 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/reqCA.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIHzMIGeAgEAMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5Eb2RneSBCcm90aGVy 3 | czERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0DQL 4 | enM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3fiCYxoRVSQhvB47k 5 | DZ3ViNg5yrDhy7F9ywIDAQABoAAwDQYJKoZIhvcNAQEFBQADQQA5DZSZgDXs8flG 6 | GZf4SGr8QpqkxSu9bZOYp/ySuz1khj7aupBrvZBmqZcZx4ZjAUN7UQpMWu2gyfKa 7 | mAiiLPFN 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/libssh2/.gitignore: -------------------------------------------------------------------------------- 1 | .deps 2 | .libs 3 | *.lib 4 | *.pdb 5 | *.dll 6 | *.exe 7 | *.obj 8 | .*.swp 9 | Debug 10 | Release 11 | *.exp 12 | Makefile 13 | aclocal.m4 14 | autom4te.cache 15 | config.log 16 | config.status 17 | depcomp 18 | libtool 19 | ltmain.sh 20 | ssh2_sample 21 | libssh2-*.tar.gz 22 | INSTALL 23 | *.o 24 | *.lo 25 | *.la 26 | mkinstalldirs 27 | tags 28 | libssh2.pc 29 | TAGS 30 | libssh2_config.h 31 | !win32/libssh2_config.h 32 | stamp-h* 33 | -------------------------------------------------------------------------------- /examples/fetch.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"); 2 | var path = require("path"); 3 | 4 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 5 | .then(function(repo) { 6 | return repo.fetch("origin", { 7 | callbacks: { 8 | credentials: function(url, userName) { 9 | return nodegit.Cred.sshKeyFromAgent(userName); 10 | } 11 | } 12 | }); 13 | }).done(function() { 14 | console.log("It worked!"); 15 | }); 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/prime/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include -Wall 3 | LIBS= -L../.. -lcrypto 4 | EXAMPLES=prime 5 | 6 | all: $(EXAMPLES) 7 | 8 | prime: prime.o 9 | $(CC) -o prime prime.o $(LIBS) 10 | 11 | clean: 12 | rm -f $(EXAMPLES) *.o 13 | 14 | test: all 15 | @echo Test creating a 128-bit prime 16 | ./prime 128 17 | @echo Test creating a 256-bit prime 18 | ./prime 256 19 | @echo Test creating a 512-bit prime 20 | ./prime 512 21 | -------------------------------------------------------------------------------- /generate/templates/manual/src/init_ssh2.cc: -------------------------------------------------------------------------------- 1 | // We are initializing libssh2 from a separate .cc file to avoid ssize_t 2 | // redefinition conflicts caused by incliding both node.h and libssh2.h from 3 | // the same file (e.g. nodegit.cc) 4 | // 5 | // The redefinition can also be avoided by #defines but that is risky in case 6 | // the libraries depend on the different definitions. 7 | 8 | #include 9 | 10 | void init_ssh2() { 11 | libssh2_init(0); 12 | } 13 | -------------------------------------------------------------------------------- /generate/templates/templates/enums.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | NodeGit.Enums = {}; 3 | 4 | {% each . as enumerable %} 5 | {% if not enumerable.ignore %} 6 | {% if enumerable.type == "enum" %} 7 | NodeGit.{{ enumerable.owner }}.{{ enumerable.JsName }} = { 8 | {% each enumerable.values as value %} 9 | {{ value.JsName }}: {{ value.value }}, 10 | {% endeach %} 11 | }; 12 | {% endif %} 13 | {% endif %} 14 | {% endeach %} 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dh512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MEYCQQD1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6ypUM2Zafq9AKUJsCRtMIPWak 3 | XUGfnHy9iUsiGSa6q6Jew1XpKgVfAgEC 4 | -----END DH PARAMETERS----- 5 | 6 | These are the 512 bit DH parameters from "Assigned Number for SKIP Protocols" 7 | (http://www.skip-vpn.org/spec/numbers.html). 8 | See there for how they were generated. 9 | Note that g is not a generator, but this is not a problem since p is a safe prime. 10 | -------------------------------------------------------------------------------- /generate/templates/manual/include/nodegit.h: -------------------------------------------------------------------------------- 1 | #ifndef NODEGIT_H 2 | #define NODEGIT_H 3 | 4 | #include "thread_pool.h" 5 | 6 | extern ThreadPool libgit2ThreadPool; 7 | 8 | v8::Local GetPrivate(v8::Local object, 9 | v8::Local key); 10 | 11 | void SetPrivate(v8::Local object, 12 | v8::Local key, 13 | v8::Local value); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/testCA.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBBzCBsgIBADBNMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDEX 3 | MBUGA1UEChMOTWluY29tIFB0eSBMdGQxEDAOBgNVBAMTB1RFU1QgQ0EwXDANBgkq 4 | hkiG9w0BAQEFAANLADBIAkEAzW9brgA8efT2ODB+NrsflJZj3KKqKsm4OrXTRqfL 5 | VETj1ws/zCXl42XJAxdWQMCP0liKfc9Ut4xi1qCVI7N07wIDAQABoAAwDQYJKoZI 6 | hvcNAQEEBQADQQBjZZ42Det9Uw0AFwJy4ufUEy5Cv74pxBp5SZnljgHY+Az0Hs2S 7 | uNkIegr2ITX5azKi9nOkg9ZmsmGG13FIjiC/ 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/reqU.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBCDCBswIBADBOMQswCQYDVQQGEwJBVTEXMBUGA1UEChMORG9kZ3kgQnJvdGhl 3 | cnMxEjAQBgNVBAMTCUJyb3RoZXIgMTESMBAGA1UEAxMJQnJvdGhlciAyMFwwDQYJ 4 | KoZIhvcNAQEBBQADSwAwSAJBANHuKqKzq/87iwfTb0Wl4SVWiB2hhmrGu3jAI1T4 5 | rVgF5Dfg8V4hh9QpzIEK2iomM7BFT9ecbcZHrxLyuYyaTsMCAwEAAaAAMA0GCSqG 6 | SIb3DQEBAgUAA0EAhB0p6LbiVq+XshLo5sBQN0rsROC1OgWrdS6ZUmMaigOKK069 7 | r1o+dGwbM5VCYGTZf0PW9OtGuArGct0laL5h4w== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/fixNT.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # clean up the mess that NT makes of my source tree 4 | # 5 | 6 | if [ -f makefile -a ! -f Makefile ]; then 7 | /bin/mv makefile Makefile 8 | fi 9 | chmod +x Configure util/* 10 | echo cleaning 11 | /bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null 12 | echo 'removing those damn ^M' 13 | perl -pi -e 's/\015//' `find . -type 'f' -print |grep -v '.obj$' |grep -v '.der$' |grep -v '.gz'` 14 | make -f Makefile links 15 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/template.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_template 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_template - short function description 4 | .SH SYNOPSIS 5 | #include 6 | 7 | void 8 | libssh2_template(void); 9 | 10 | .SH DESCRIPTION 11 | Long text describing the function and its input arguments. 12 | 13 | .SH RETURN VALUE 14 | Describe what the function returns. 15 | 16 | .SH ERRORS 17 | Add error codes 18 | 19 | .SH SEE ALSO 20 | Add related functions 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/pthreads-vms.com: -------------------------------------------------------------------------------- 1 | $! To compile mttest on VMS. 2 | $! 3 | $! WARNING: only tested with DEC C so far. 4 | $ 5 | $ if (f$getsyi("cpu").lt.128) 6 | $ then 7 | $ arch := VAX 8 | $ else 9 | $ arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") 10 | $ if (arch .eqs. "") then arch = "UNK" 11 | $ endif 12 | $ define/user openssl [--.include.openssl] 13 | $ cc/def=PTHREADS mttest.c 14 | $ link mttest,[--.'arch'.exe.ssl]libssl/lib,[--.'arch'.exe.crypto]libcrypto/lib 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/openssl_undo.com: -------------------------------------------------------------------------------- 1 | $! 2 | $! Deassign OpenSSL logical names. 3 | $! 4 | $ call deass "OPENSSL" "''p1'" 5 | $ call deass "SSLCERTS" "''p1'" 6 | $ call deass "SSLEXE" "''p1'" 7 | $ call deass "SSLINCLUDE" "''p1'" 8 | $ call deass "SSLLIB" "''p1'" 9 | $ call deass "SSLPRIVATE" "''p1'" 10 | $ call deass "SSLROOT" "''p1'" 11 | $! 12 | $ exit 13 | $! 14 | $deass: subroutine 15 | $ if (f$trnlnm( p1) .nes. "") 16 | $ then 17 | $ deassign 'p2' 'p1' 18 | $ endif 19 | $ endsubroutine 20 | $! 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s512-req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBGzCBxgIBADBjMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDEa 3 | MBgGA1UEChMRQ3J5cHRTb2Z0IFB0eSBMdGQxIzAhBgNVBAMTGlNlcnZlciB0ZXN0 4 | IGNlcnQgKDUxMiBiaXQpMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJ+zw4Qnlf8S 5 | MVIPFe9GEcStgOY2Ww/dgNdhjeD8ckUJNP5VZkVDTGiXav6ooKXfX3j/7tdkuD8E 6 | y2//Kv7+ue0CAwEAATANBgkqhkiG9w0BAQQFAANBAAB+uQi+qwn6qRSHB8EUTvsm 7 | 5TNTHzYDeN39nyIbZNX2s0se3Srn2Bxft5YCwD3moFZ9QoyDHxE0h6qLX5yjD+8= 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_session_get_blocking.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_session_get_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_session_get_blocking - TODO 4 | .SH SYNOPSIS 5 | int libssh2_session_get_blocking(LIBSSH2_SESSION *session); 6 | .SH DESCRIPTION 7 | Returns 0 if the state of the session has previously be set to non-blocking 8 | and it returns 1 if the state was set to blocking. 9 | .SH RETURN VALUE 10 | See description. 11 | .SH SEE ALSO 12 | .BR libssh2_session_set_blocking(3) 13 | -------------------------------------------------------------------------------- /vendor/http_parser/.mailmap: -------------------------------------------------------------------------------- 1 | # update AUTHORS with: 2 | # git log --all --reverse --format='%aN <%aE>' | perl -ne 'BEGIN{print "# Authors ordered by first contribution.\n"} print unless $h{$_}; $h{$_} = 1' > AUTHORS 3 | Ryan Dahl 4 | Salman Haq 5 | Simon Zimmermann 6 | Thomas LE ROUX LE ROUX Thomas 7 | Thomas LE ROUX Thomas LE ROUX 8 | Fedor Indutny 9 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dsa1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIIBHgKBgQCnP26Fv0FqKX3wn0cZMJCaCR3aajMexT2GlrMV4FMuj+BZgnOQPnUx 3 | mUd6UvuF5NmmezibaIqEm4fGHrV+hktTW1nPcWUZiG7OZq5riDb77Cjcwtelu+Us 4 | OSZL2ppwGJU3lRBWI/YV7boEXt45T/23Qx+1pGVvzYAR5HCVW1DNSQIVAPcHMe36 5 | bAYD1YWKHKycZedQZmVvAoGATd9MA6aRivUZb1BGJZnlaG8w42nh5bNdmLsohkj8 6 | 3pkEP1+IDJxzJA0gXbkqmj8YlifkYofBe3RiU/xhJ6h6kQmdtvFNnFQPWAbuSXQH 7 | zlV+I84W9srcWmEBfslxtU323DQph2j2XiCTs9v15AlsQReVkusBtXOlan7YMu0O 8 | Arg= 9 | -----END DSA PARAMETERS----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/486-50.sol: -------------------------------------------------------------------------------- 1 | Solaris 2.4, 486 50mhz, gcc 2.6.3 2 | options des ecb/s 3 | 16 r2 i 43552.51 100.0% 4 | 16 r1 i 43487.45 99.9% 5 | 16 c p 43003.23 98.7% 6 | 16 r2 p 42339.00 97.2% 7 | 16 c i 41900.91 96.2% 8 | 16 r1 p 41360.64 95.0% 9 | 4 c i 38728.48 88.9% 10 | 4 c p 38225.63 87.8% 11 | 4 r1 i 38085.79 87.4% 12 | 4 r2 i 37825.64 86.9% 13 | 4 r2 p 34611.00 79.5% 14 | 4 r1 p 31802.00 73.0% 15 | -DDES_UNROLL -DDES_RISC2 16 | 17 | -------------------------------------------------------------------------------- /generate/templates/filters/fields_info.js: -------------------------------------------------------------------------------- 1 | module.exports = function(fields) { 2 | var result = []; 3 | 4 | fields.forEach(function (field){ 5 | var fieldInfo = {}; 6 | 7 | fieldInfo.__proto__ = field; 8 | 9 | fieldInfo.parsedName = field.name || "result"; 10 | fieldInfo.isCppClassIntType = ~["Uint32", "Int32"].indexOf(field.cppClassName); 11 | fieldInfo.parsedClassName = (field.cppClassName || '').toLowerCase() + "_t"; 12 | 13 | result.push(fieldInfo); 14 | }); 15 | 16 | return result; 17 | }; 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/smime-certs/smdsap.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DSA PARAMETERS----- 2 | MIIBHwKBgQDFJfsIPOIawMO5biw+AoYUhNVxReBOLQosU3Qv4B8krac0BNr3OjSG 3 | Lh1wZxHqhlAE0QmasTaKojuk20nNWeFnczSz6vDl0IVJEhS8VYor5kt9gLqtGcoA 4 | gsf4gRDIutJyQDaNn3IVY89uXUVIoexvQeLQDBCgQPC5O8rJdqBwtwIVAK2Jjt+d 5 | qk07eQUE59koYUEKyNorAoGBAI4IEpusf8G14kCHmRtnHXM2tG5EWJDmW6Qtwjqv 6 | Wp1GKUx5WFy1tVWR9nl5rL0Di+kNdENo+SkKj7h3uDulGOI6T0mQYbV2h1IK+FMO 7 | GnOqvZ8eNTE2n4PGTo5puZ63LBm+QYrQsrNiUY4vakLFQ2rEK/SLwdsDFK4ZSJCB 8 | Qw5z 9 | -----END DSA PARAMETERS----- 10 | -------------------------------------------------------------------------------- /generate/templates/partials/doc.cc: -------------------------------------------------------------------------------- 1 | /* 2 | {% each args as arg %} 3 | {% if not arg.isReturn %} 4 | {% if not arg.isSelf %} 5 | * @param {{ arg.jsClassName }} {{ arg.name }} 6 | {% endif %} 7 | {% endif %} 8 | {% endeach %}{% each .|returnsInfo as returnInfo %} 9 | {% if isAsync %} 10 | * @param {{ returnInfo.jsOrCppClassName }} callback 11 | {% else %} 12 | * @return {{ returnInfo.jsOrCppClassName }} {% if returnInfo.name %}{{ returnInfo.name }}{% else %}result{% endif %} 13 | {% endif %} 14 | {% endeach %} 15 | */ 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/alpha.cc: -------------------------------------------------------------------------------- 1 | cc -O2 2 | DES_LONG is 'unsigned int' 3 | 4 | options des ecb/s 5 | 4 r2 p 181146.14 100.0% 6 | 16 r2 p 172102.94 95.0% 7 | 4 r2 i 165424.11 91.3% 8 | 16 c p 160468.64 88.6% 9 | 4 c p 156653.59 86.5% 10 | 4 c i 155245.18 85.7% 11 | 4 r1 p 154729.68 85.4% 12 | 16 r2 i 154137.69 85.1% 13 | 16 r1 p 152357.96 84.1% 14 | 16 c i 148743.91 82.1% 15 | 4 r1 i 146695.59 81.0% 16 | 16 r1 i 144961.00 80.0% 17 | -DDES_RISC2 -DDES_PTR 18 | 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/sparc.gcc: -------------------------------------------------------------------------------- 1 | solaris 2.5.1 - sparc 10 50mhz - gcc 2.7.2 2 | 3 | options des ecb/s 4 | 16 c i 124382.70 100.0% 5 | 4 c i 118884.68 95.6% 6 | 16 c p 112261.20 90.3% 7 | 16 r2 i 111777.10 89.9% 8 | 16 r2 p 108896.30 87.5% 9 | 16 r1 p 108791.59 87.5% 10 | 4 c p 107290.10 86.3% 11 | 4 r1 p 104583.80 84.1% 12 | 16 r1 i 104206.20 83.8% 13 | 4 r2 p 103709.80 83.4% 14 | 4 r2 i 98306.43 79.0% 15 | 4 r1 i 91525.80 73.6% 16 | -DDES_UNROLL 17 | 18 | -------------------------------------------------------------------------------- /lib/oid.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Oid = NodeGit.Oid; 4 | 5 | // Backwards compatibility. 6 | Object.defineProperties(Oid.prototype, { 7 | "allocfmt": { 8 | value: Oid.prototype.tostrS, 9 | enumerable: false 10 | }, 11 | "toString": { 12 | value: Oid.prototype.tostrS, 13 | enumerable: false 14 | } 15 | }); 16 | 17 | Oid.prototype.copy = function() { 18 | return this.cpy(); // seriously??? 19 | }; 20 | 21 | Oid.prototype.inspect = function() { 22 | return "[Oid " + this.allocfmt() + "]"; 23 | }; 24 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/certs/expired/ICE.crl: -------------------------------------------------------------------------------- 1 | -----BEGIN X509 CRL----- 2 | MIIBNDCBnjANBgkqhkiG9w0BAQIFADBFMSEwHwYDVQQKExhFdXJvcGVhbiBJQ0Ut 3 | VEVMIFByb2plY3QxIDAeBgNVBAsTF0NlcnRpZmljYXRpb24gQXV0aG9yaXR5Fw05 4 | NzA2MDkxNDQyNDNaFw05NzA3MDkxNDQyNDNaMCgwEgIBChcNOTcwMzAzMTQ0MjU0 5 | WjASAgEJFw05NjEwMDIxMjI5MjdaMA0GCSqGSIb3DQEBAgUAA4GBAH4vgWo2Tej/ 6 | i7kbiw4Imd30If91iosjClNpBFwvwUDBclPEeMuYimHbLOk4H8Nofc0fw11+U/IO 7 | KSNouUDcqG7B64oY7c4SXKn+i1MWOb5OJiWeodX3TehHjBlyWzoNMWCnYA8XqFP1 8 | mOKp8Jla1BibEZf14+/HqCi2hnZUiEXh 9 | -----END X509 CRL----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/DES.pm: -------------------------------------------------------------------------------- 1 | package DES; 2 | 3 | require Exporter; 4 | require DynaLoader; 5 | @ISA = qw(Exporter DynaLoader); 6 | # Items to export into callers namespace by default 7 | # (move infrequently used names to @EXPORT_OK below) 8 | @EXPORT = qw( 9 | ); 10 | # Other items we are prepared to export if requested 11 | @EXPORT_OK = qw( 12 | crypt 13 | ); 14 | 15 | # Preloaded methods go here. Autoload methods go after __END__, and are 16 | # processed by the autosplit program. 17 | bootstrap DES; 18 | 1; 19 | __END__ 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/extract-names.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | $/ = ""; # Eat a paragraph at once. 4 | while() { 5 | chop; 6 | s/\n/ /gm; 7 | if (/^=head1 /) { 8 | $name = 0; 9 | } elsif ($name) { 10 | if (/ - /) { 11 | s/ - .*//; 12 | s/,\s+/,/g; 13 | s/\s+,/,/g; 14 | s/^\s+//g; 15 | s/\s+$//g; 16 | s/\s/_/g; 17 | push @words, split ','; 18 | } 19 | } 20 | if (/^=head1 *NAME *$/) { 21 | $name = 1; 22 | } 23 | } 24 | 25 | print join("\n", @words),"\n"; 26 | 27 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/dir-locals.example.el: -------------------------------------------------------------------------------- 1 | ;;; This is an example of what a .dir-locals.el suitable for OpenSSL 2 | ;;; development could look like. 3 | ;;; 4 | ;;; Apart from setting the CC mode style to "OpenSSL-II", it also 5 | ;;; makes sure that tabs are never used for indentation in any file, 6 | ;;; and that the fill column is 78. 7 | ;;; 8 | ;;; For more information see (info "(emacs) Directory Variables") 9 | 10 | ((nil 11 | (indent-tabs-mode . nil) 12 | (fill-column . 78) 13 | ) 14 | (c-mode 15 | (c-file-style . "OpenSSL-II"))) 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/tenc.bat: -------------------------------------------------------------------------------- 1 | rem called by testenc 2 | 3 | echo test %1 %2 %3 %4 %5 %6 4 | %ssleay% %1 %2 %3 %4 %5 %6 -e -bufsize 113 -k test -in %input% -out %tmp1% 5 | %ssleay% %1 %2 %3 %4 %5 %6 -d -bufsize 157 -k test -in %tmp1% -out %out1% 6 | %cmp% %input% %out1% 7 | if errorlevel 1 goto err 8 | 9 | echo test base64 %1 %2 %3 %4 %5 %6 10 | %ssleay% %1 %2 %3 %4 %5 %6 -a -e -bufsize 113 -k test -in %input% -out %tmp1% 11 | %ssleay% %1 %2 %3 %4 %5 %6 -a -d -bufsize 157 -k test -in %tmp1% -out %out1% 12 | %cmp% %input% %out1% 13 | 14 | :err 15 | -------------------------------------------------------------------------------- /examples/create-branch.js: -------------------------------------------------------------------------------- 1 | var nodegit = require("../"); 2 | var path = require("path"); 3 | 4 | nodegit.Repository.open(path.resolve(__dirname, "../.git")) 5 | .then(function(repo) { 6 | // Create a new branch on head 7 | return repo.getHeadCommit() 8 | .then(function(commit) { 9 | return repo.createBranch( 10 | "new-branch", 11 | commit, 12 | 0, 13 | repo.defaultSignature(), 14 | "Created new-branch on HEAD"); 15 | }); 16 | }).done(function() { 17 | console.log("All done!"); 18 | }); 19 | -------------------------------------------------------------------------------- /utils/execPromise.js: -------------------------------------------------------------------------------- 1 | var cp = require('child_process'); 2 | 3 | // We have to manually promisify this because at this is required in lifecycle 4 | // methods and we are not guaranteed that any 3rd party packages are installed 5 | // at this point 6 | module.exports = function(command, opts) { 7 | return new Promise(function(resolve, reject) { 8 | return cp.exec(command, opts, function(err, result) { 9 | if (err) { 10 | reject(err); 11 | } 12 | else { 13 | resolve(result); 14 | } 15 | }); 16 | }); 17 | }; 18 | -------------------------------------------------------------------------------- /utils/gitExecutableLocation.js: -------------------------------------------------------------------------------- 1 | var cp = require("child_process"); 2 | 3 | module.exports = function gitExecutableLocation() { 4 | return new Promise(function(resolve, reject) { 5 | var cmd; 6 | 7 | if (process.platform === "win32") { 8 | cmd = "where git"; 9 | } 10 | else { 11 | cmd = "which git"; 12 | } 13 | 14 | cp.exec(cmd, function(err, stdout, stderr) { 15 | if (err) { 16 | reject(err, stderr); 17 | } 18 | else { 19 | resolve(stdout); 20 | } 21 | }); 22 | }); 23 | }; 24 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/hpux.cc: -------------------------------------------------------------------------------- 1 | HPUX 10 - 9000/887 - cc -D_HPUX_SOURCE -Aa +ESlit +O2 -Wl,-a,archive 2 | 3 | options des ecb/s 4 | 16 c i 149448.90 100.0% 5 | 4 c i 145861.79 97.6% 6 | 16 r2 i 141710.96 94.8% 7 | 16 r1 i 139455.33 93.3% 8 | 4 r2 i 138800.00 92.9% 9 | 4 r1 i 136692.65 91.5% 10 | 16 r2 p 110228.17 73.8% 11 | 16 r1 p 109397.07 73.2% 12 | 16 c p 109209.89 73.1% 13 | 4 c p 108014.71 72.3% 14 | 4 r2 p 107873.88 72.2% 15 | 4 r1 p 107685.83 72.1% 16 | -DDES_UNROLL 17 | 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/RAND_cleanup.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | RAND_cleanup - erase the PRNG state 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void RAND_cleanup(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | RAND_cleanup() erases the memory used by the PRNG. 16 | 17 | =head1 RETURN VALUE 18 | 19 | RAND_cleanup() returns no value. 20 | 21 | =head1 SEE ALSO 22 | 23 | L 24 | 25 | =head1 HISTORY 26 | 27 | RAND_cleanup() is available in all versions of SSLeay and OpenSSL. 28 | 29 | =cut 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/keyCA.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOwIBAAJBANA0C3pzP53CugsEhCYTjtVn2VD1BIuKb6LPXx1uOfY4d60QwA4I 3 | t34gmMaEVUkIbweO5A2d1YjYOcqw4cuxfcsCAwEAAQJAOT9WOKEfyN0WEpl3TJDs 4 | ITmgw2XbjhLOh1HFsW3xegWlaOuhL/wGamz7n7zzL/RQF3JP/VvpGk2F8VD9JhwT 5 | wQIhAPmqM3fLttBoCQuwQRdIPfB7Ps3THqx6N8AJ04z3I1ejAiEA1XyDd7bLpWrw 6 | /oA8CmR4b/KCGfvRwAL/Qej/rQliw7kCIQCYRzSvO8ScpuflhjKdZcXJuRJcbgnG 7 | f6Ejc5rh3xdiawIhALMmLdzEFNjXiSzIx5mg/kBTLUJIw5dx7GqO8B9xBORhAiA5 8 | oTN/hgvvrkkmRsHQpNBmzAEGBzhMEEq9lD6ZWrTSRg== 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/keyU.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBANHuKqKzq/87iwfTb0Wl4SVWiB2hhmrGu3jAI1T4rVgF5Dfg8V4h 3 | h9QpzIEK2iomM7BFT9ecbcZHrxLyuYyaTsMCAwEAAQJBAIxtM6n4ZCJscxj+D13Y 4 | k13Fn3Gqvd6pJ3ijlj7dxh6tRBBQ3W9qmQflyvEc81giI2XtbVYBOEJKtJ1cWWZm 5 | gAkCIQDpEoOuc4KCI5ti6aMJvtxlXWNHbkXCxtbeIjH4+FnH9QIhAOaU3XVeWWOK 6 | PnnO87KniDjHQqWLnooivDGRK+FUKeDXAiEA2MjEvFVqFVvDIsxHPkBNROcI+Z6i 7 | ulkx76kErBtrfqUCIHN5uBLQZmngUPuFtiwRlLoCqJDphENfs+oK7vPQx4xPAiEA 8 | hnY2Ulrpld83IG6bUs95Loc8Fk81hez5YwmhsFEXVtk= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dh1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIGHAoGBAPSI/VhOSdvNILSd5JEHNmszbDgNRR0PfIizHHxbLY7288kjwEPwpVsY 3 | jY67VYy4XTjTNP18F1dDox0YbN4zISy1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6 4 | ypUM2Zafq9AKUJsCRtMIPWakXUGfnHy9iUsiGSa6q6Jew1XpL3jHAgEC 5 | -----END DH PARAMETERS----- 6 | 7 | These are the 1024 bit DH parameters from "Assigned Number for SKIP Protocols" 8 | (http://www.skip-vpn.org/spec/numbers.html). 9 | See there for how they were generated. 10 | Note that g is not a generator, but this is not a problem since p is a safe prime. 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s512-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAJ+zw4Qnlf8SMVIPFe9GEcStgOY2Ww/dgNdhjeD8ckUJNP5VZkVD 3 | TGiXav6ooKXfX3j/7tdkuD8Ey2//Kv7+ue0CAwEAAQJAN6W31vDEP2DjdqhzCDDu 4 | OA4NACqoiFqyblo7yc2tM4h4xMbC3Yx5UKMN9ZkCtX0gzrz6DyF47bdKcWBzNWCj 5 | gQIhANEoojVt7hq+SQ6MCN6FTAysGgQf56Q3TYoJMoWvdiXVAiEAw3e3rc+VJpOz 6 | rHuDo6bgpjUAAXM+v3fcpsfZSNO6V7kCIQCtbVjanpUwvZkMI9by02oUk9taki3b 7 | PzPfAfNPYAbCJQIhAJXNQDWyqwn/lGmR11cqY2y9nZ1+5w3yHGatLrcDnQHxAiEA 8 | vnlEGo8K85u+KwIOimM48ZG8oTk7iFdkqLJR1utT3aU= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/privkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAN+FmbxmHVOp/RxtpMGz0DvQEBz1sDktHp19hIoMSu0YZift5MAu 3 | 4xAEJYvWVCshDiyOTWsUBXwZkrkt87FyctkCAwEAAQJAG/vxBGpQb6IPo1iC0RF/ 4 | F430BnwoBPCGLbeCOXpSgx5X+19vuTSdEqMgeNB6+aNb+XY/7mvVfCjyD6WZ0oxs 5 | JQIhAPO+uL9cP40lFs62pdL3QSWsh3VNDByvOtr9LpeaxBm/AiEA6sKVfXsDQ5hd 6 | SHt9U61r2r8Lcxmzi9Kw6JNqjMmzqWcCIQCKoRy+aZ8Tjdas9yDVHh+FZ90bEBkl 7 | b1xQFNOdEj8aTQIhAOJWrO6INYNsWTPS6+hLYZtLamyUsQj0H+B8kNQge/mtAiEA 8 | nBfvUl243qbqN8gF7Az1u33uc9FsPVvQPiBzLxZ4ixw= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/testrsa.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAKrbeqkuRk8VcRmWFmtP+LviMB3+6dizWW3DwaffznyHGAFwUJ/I 3 | Tv0XtbsCyl3QoyKGhrOAy3RvPK5M38iuXT0CAwEAAQJAZ3cnzaHXM/bxGaR5CR1R 4 | rD1qFBAVfoQFiOH9uPJgMaoAuoQEisPHVcZDKcOv4wEg6/TInAIXBnEigtqvRzuy 5 | oQIhAPcgZzUq3yVooAaoov8UbXPxqHlwo6GBMqnv20xzkf6ZAiEAsP4BnIaQTM8S 6 | mvcpHZwQJdmdHHkGKAs37Dfxi67HbkUCIQCeZGliHXFa071Fp06ZeWlR2ADonTZz 7 | rJBhdTe0v5pCeQIhAIZfkiGgGBX4cIuuckzEm43g9WMUjxP/0GlK39vIyihxAiEA 8 | mymehFRT0MvqW5xAKAx7Pgkt8HVKwVhc2LwGKHE0DZM= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /guides/install/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: full 3 | menu_item: guides 4 | title: Install Basics 5 | description: How to install NodeGit 6 | --- 7 | 8 | [Return to all guides](../) 9 | 10 | * * * 11 | 12 | From NPM 13 | ------------------------------- 14 | 15 | To install from the NPM repository you can issue the following command: 16 | 17 | ``` bash 18 | npm install nodegit 19 | ``` 20 | 21 | From GitHub 22 | ------------------------------------- 23 | 24 | Check out our [build from source](./from-source) guides. 25 | -------------------------------------------------------------------------------- /lib/note.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Note = NodeGit.Note; 4 | 5 | var _foreach = Note.foreach; 6 | 7 | // Override Note.foreach to eliminate the need to pass null payload 8 | Note.foreach = function(repo, notesRef, callback) { 9 | function wrapperCallback(blobId, objectId) { 10 | // We need to copy the OID since libgit2 types are getting cleaned up 11 | // incorrectly right now in callbacks 12 | 13 | return callback(blobId.copy(), objectId.copy()); 14 | } 15 | 16 | return _foreach(repo, notesRef, wrapperCallback, null); 17 | }; 18 | -------------------------------------------------------------------------------- /utils/buildFlags.js: -------------------------------------------------------------------------------- 1 | var fs = require("fs"); 2 | var path = require("path"); 3 | 4 | var isGitRepo; 5 | 6 | try { 7 | fs.statSync(path.join(__dirname, "..", ".git")); 8 | isGitRepo = true; 9 | } catch (e) { 10 | isGitRepo = false; 11 | } 12 | 13 | module.exports = { 14 | debugBuild: !!process.env.BUILD_DEBUG, 15 | isElectron: process.env.npm_config_runtime === "electron", 16 | isGitRepo: isGitRepo, 17 | isNwjs: process.env.npm_config_runtime === "node-webkit", 18 | mustBuild: !!(isGitRepo || process.env.BUILD_DEBUG || process.env.BUILD_ONLY) 19 | }; 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/sign/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBPAIBAAJBAL7+aty3S1iBA/+yxjxv4q1MUTd1kjNwL4lYKbpzzlmC5beaQXeQ 3 | 2RmGMTXU+mDvuqItjVHOK3DvPK7lTcSGftUCAwEAAQJBALjkK+jc2+iihI98riEF 4 | oudmkNziSRTYjnwjx8mCoAjPWviB3c742eO3FG4/soi1jD9A5alihEOXfUzloenr 5 | 8IECIQD3B5+0l+68BA/6d76iUNqAAV8djGTzvxnCxycnxPQydQIhAMXt4trUI3nc 6 | a+U8YL2HPFA3gmhBsSICbq2OptOCnM7hAiEA6Xi3JIQECob8YwkRj29DU3/4WYD7 7 | WLPgsQpwo1GuSpECICGsnWH5oaeD9t9jbFoSfhJvv0IZmxdcLpRcpslpeWBBAiEA 8 | 6/5B8J0GHdJq89FHwEG/H2eVVUYu5y/aD6sgcm+0Avg= 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /vendor/libssh2/README: -------------------------------------------------------------------------------- 1 | libssh2 - SSH2 library 2 | ====================== 3 | 4 | libssh2 is a library implementing the SSH2 protocol, available under 5 | the revised BSD license. 6 | 7 | Web site: http://www.libssh2.org/ 8 | 9 | Mailing list: http://cool.haxx.se/mailman/listinfo/libssh2-devel 10 | 11 | License: see COPYING 12 | 13 | Source code: https://github.com/libssh2/libssh2 14 | 15 | Web site source code: https://github.com/libssh2/www 16 | 17 | Installation instructions are in: 18 | - docs/INSTALL_CMAKE for CMake 19 | - docs/INSTALL_AUTOTOOLS for Autotools 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/threads/README: -------------------------------------------------------------------------------- 1 | Mutithreading testing area. 2 | 3 | Since this stuff is very very platorm specific, this is not part of the 4 | normal build. Have a read of doc/threads.doc. 5 | 6 | mttest will do some testing and will currently build under Windows NT/95, 7 | Solaris and Linux. The IRIX stuff is not finished. 8 | 9 | I have tested this program on a 12 CPU ultra sparc box (solaris 2.5.1) 10 | and things seem to work ok. 11 | 12 | The Linux pthreads package can be retrieved from 13 | http://www.mit.edu:8001/people/proven/pthreads.html 14 | 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/bio/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS= -g -I../../include 3 | LIBS= -L../.. ../../libssl.a ../../libcrypto.a -ldl 4 | EXAMPLES=saccept sconnect client-arg client-conf 5 | 6 | all: $(EXAMPLES) 7 | 8 | saccept: saccept.o 9 | $(CC) -o saccept saccept.o $(LIBS) 10 | 11 | sconnect: sconnect.o 12 | $(CC) -o sconnect sconnect.o $(LIBS) 13 | 14 | client-arg: client-arg.o 15 | $(CC) -o client-arg client-arg.o $(LIBS) 16 | 17 | client-conf: client-conf.o 18 | $(CC) -o client-conf client-conf.o $(LIBS) 19 | 20 | clean: 21 | rm -f $(EXAMPLES) *.o 22 | 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/toutf8.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # Very simple script to detect and convert files that we want to re-encode to UTF8 4 | 5 | git ls-tree -r --name-only HEAD | \ 6 | while read F; do 7 | charset=`file -bi "$F" | sed -e 's|.*charset=||'` 8 | if [ "$charset" != "utf-8" -a "$charset" != "binary" -a "$charset" != "us-ascii" ]; then 9 | iconv -f ISO-8859-1 -t UTF8 < "$F" > "$F.utf8" && \ 10 | ( cmp -s "$F" "$F.utf8" || \ 11 | ( echo "$F" 12 | mv "$F" "$F.iso-8859-1" 13 | mv "$F.utf8" "$F" 14 | ) 15 | ) 16 | fi 17 | done 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/bf/INSTALL: -------------------------------------------------------------------------------- 1 | This Eric Young's blowfish implementation, taken from his SSLeay library 2 | and made available as a separate library. 3 | 4 | The version number (0.7.2m) is the SSLeay version that this library was 5 | taken from. 6 | 7 | To build, just unpack and type make. 8 | If you are not using gcc, edit the Makefile. 9 | If you are compiling for an x86 box, try the assembler (it needs improving). 10 | There are also some compile time options that can improve performance, 11 | these are documented in the Makefile. 12 | 13 | eric 15-Apr-1997 14 | 15 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/tunala/autoungunk.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script tries to clean up as much as is possible from whatever diabolical 4 | # mess has been left in the directory thanks to autoconf, automake, and their 5 | # friends. 6 | 7 | if test -f Makefile.plain; then 8 | if test -f Makefile; then 9 | make distclean 10 | fi 11 | mv Makefile.plain Makefile 12 | else 13 | make clean 14 | fi 15 | 16 | rm -f aclocal.m4 config.* configure install-sh \ 17 | missing mkinstalldirs stamp-h.* Makefile.in \ 18 | ltconfig ltmain.sh depcomp 19 | rm -rf autom4te.cache 20 | -------------------------------------------------------------------------------- /lib/blame.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var normalizeOptions = NodeGit.Utils.normalizeOptions; 3 | var Blame = NodeGit.Blame; 4 | 5 | var _file = Blame.file; 6 | 7 | /** 8 | * Retrieve the blame of a file 9 | * 10 | * @param {Repository} repo that contains the file 11 | * @param {String} path to the file to get the blame of 12 | * @param {BlameOptions} [options] Options for the blame 13 | */ 14 | Blame.file = function(repo, path, options) { 15 | options = normalizeOptions(options, NodeGit.BlameOptions); 16 | 17 | return _file.call(this, repo, path, options); 18 | }; 19 | -------------------------------------------------------------------------------- /vendor/libssh2/libssh2.pc.in: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # libssh2 installation details 3 | ########################################################################### 4 | 5 | prefix=@prefix@ 6 | exec_prefix=@exec_prefix@ 7 | libdir=@libdir@ 8 | includedir=@includedir@ 9 | 10 | Name: libssh2 11 | URL: http://www.libssh2.org/ 12 | Description: Library for SSH-based communication 13 | Version: @LIBSSH2VER@ 14 | Requires.private: @LIBSREQUIRED@ 15 | Libs: -L${libdir} -lssh2 @LIBS@ 16 | Libs.private: @LIBS@ 17 | Cflags: -I${includedir} 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/idea/version: -------------------------------------------------------------------------------- 1 | 1.1 07/12/95 - eay 2 | Many thanks to Rhys Weatherley 3 | for pointing out that I was assuming little endian byte 4 | order for all quantities what idea actually used 5 | bigendian. No where in the spec does it mention 6 | this, it is all in terms of 16 bit numbers and even the example 7 | does not use byte streams for the input example :-(. 8 | If you byte swap each pair of input, keys and iv, the functions 9 | would produce the output as the old version :-(. 10 | 11 | 1.0 ??/??/95 - eay 12 | First version. 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/686-200.fre: -------------------------------------------------------------------------------- 1 | Pentium 100 2 | Free BSD 2.1.5 kernel 3 | gcc 2.7.2.2 -O3 -fomit-frame-pointer 4 | options des ecb/s 5 | assember 578000.00 133.1% 6 | 16 r2 i 434454.80 100.0% 7 | 16 r1 i 433621.43 99.8% 8 | 16 r2 p 431375.69 99.3% 9 | 4 r1 i 423722.30 97.5% 10 | 4 r2 i 422399.40 97.2% 11 | 16 r1 p 421739.40 97.1% 12 | 16 c i 399027.94 91.8% 13 | 16 c p 372251.70 85.7% 14 | 4 c i 365118.35 84.0% 15 | 4 c p 352880.51 81.2% 16 | 4 r2 p 255104.90 58.7% 17 | 4 r1 p 251289.18 57.8% 18 | -DDES_UNROLL -DDES_RISC2 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/certCA.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBXDCCAQYCAQAwDQYJKoZIhvcNAQEEBQAwOTELMAkGA1UEBhMCQVUxFzAVBgNV 3 | BAoTDkRvZGd5IEJyb3RoZXJzMREwDwYDVQQDEwhEb2RneSBDQTAeFw05ODA3MjEw 4 | NjUwMTZaFw05ODA4MjAwNjUwMTZaMDkxCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5E 5 | b2RneSBCcm90aGVyczERMA8GA1UEAxMIRG9kZ3kgQ0EwXDANBgkqhkiG9w0BAQEF 6 | AANLADBIAkEA0DQLenM/ncK6CwSEJhOO1WfZUPUEi4pvos9fHW459jh3rRDADgi3 7 | fiCYxoRVSQhvB47kDZ3ViNg5yrDhy7F9ywIDAQABMA0GCSqGSIb3DQEBBAUAA0EA 8 | S564l3SBxJ+QcIXthGGDyP5zkxTf/1fHfelW9LNgu6lZTdy9Dlp/NecPekzRmZEM 9 | WiGXGkKNeuo8PsnGJHP9Qg== 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/testx509.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBWzCCAQYCARgwDQYJKoZIhvcNAQEEBQAwODELMAkGA1UEBhMCQVUxDDAKBgNV 3 | BAgTA1FMRDEbMBkGA1UEAxMSU1NMZWF5L3JzYSB0ZXN0IENBMB4XDTk1MDYxOTIz 4 | MzMxMloXDTk1MDcxNzIzMzMxMlowOjELMAkGA1UEBhMCQVUxDDAKBgNVBAgTA1FM 5 | RDEdMBsGA1UEAxMUU1NMZWF5L3JzYSB0ZXN0IGNlcnQwXDANBgkqhkiG9w0BAQEF 6 | AANLADBIAkEAqtt6qS5GTxVxGZYWa0/4u+IwHf7p2LNZbcPBp9/OfIcYAXBQn8hO 7 | /Re1uwLKXdCjIoaGs4DLdG88rkzfyK5dPQIDAQABMAwGCCqGSIb3DQIFBQADQQAE 8 | Wc7EcF8po2/ZO6kNCwK/ICH6DobgLekA5lSLr5EvuioZniZp5lFzAw4+YzPQ7XKJ 9 | zl9HYIMxATFyqSiD9jsx 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/do_win64a.bat: -------------------------------------------------------------------------------- 1 | perl util\mkfiles.pl >MINFO 2 | 3 | cmd /c "nasm -f win64 -v" >NUL 2>&1 4 | if %errorlevel% neq 0 goto ml64 5 | 6 | perl ms\uplink-x86_64.pl nasm > ms\uptable.asm 7 | nasm -f win64 -o ms\uptable.obj ms\uptable.asm 8 | goto proceed 9 | 10 | :ml64 11 | perl ms\uplink-x86_64.pl masm > ms\uptable.asm 12 | ml64 -c -Foms\uptable.obj ms\uptable.asm 13 | 14 | :proceed 15 | perl util\mk1mf.pl VC-WIN64A >ms\nt.mak 16 | perl util\mk1mf.pl dll VC-WIN64A >ms\ntdll.mak 17 | 18 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 19 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 20 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_agent_free.3: -------------------------------------------------------------------------------- 1 | .\" 2 | .\" Copyright (c) 2009 by Daiki Ueno 3 | .\" 4 | .TH libssh2_agent_free 3 "28 May 2009" "libssh2 1.2" "libssh2 manual" 5 | .SH NAME 6 | libssh2_agent_free - free an ssh-agent handle 7 | .SH SYNOPSIS 8 | #include 9 | 10 | void libssh2_agent_free(LIBSSH2_AGENT *agent); 11 | .SH DESCRIPTION 12 | Free an ssh-agent handle. This function also frees the internal 13 | collection of public keys. 14 | .SH RETURN VALUE 15 | None. 16 | .SH AVAILABILITY 17 | Added in libssh2 1.2 18 | .SH SEE ALSO 19 | .BR libssh2_agent_init(3) 20 | .BR libssh2_agent_disconnect(3) 21 | -------------------------------------------------------------------------------- /vendor/openssl/asm_obsolete/x64-macosx-gas/bn/rsaz-avx2.s: -------------------------------------------------------------------------------- 1 | .text 2 | 3 | .globl _rsaz_avx2_eligible 4 | 5 | _rsaz_avx2_eligible: 6 | xorl %eax,%eax 7 | .byte 0xf3,0xc3 8 | 9 | 10 | .globl _rsaz_1024_sqr_avx2 11 | .globl _rsaz_1024_mul_avx2 12 | .globl _rsaz_1024_norm2red_avx2 13 | .globl _rsaz_1024_red2norm_avx2 14 | .globl _rsaz_1024_scatter5_avx2 15 | .globl _rsaz_1024_gather5_avx2 16 | 17 | _rsaz_1024_sqr_avx2: 18 | _rsaz_1024_mul_avx2: 19 | _rsaz_1024_norm2red_avx2: 20 | _rsaz_1024_red2norm_avx2: 21 | _rsaz_1024_scatter5_avx2: 22 | _rsaz_1024_gather5_avx2: 23 | .byte 0x0f,0x0b 24 | .byte 0xf3,0xc3 25 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/ssl/SSL_get_SSL_CTX.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | SSL_get_SSL_CTX - get the SSL_CTX from which an SSL is created 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); 12 | 13 | =head1 DESCRIPTION 14 | 15 | SSL_get_SSL_CTX() returns a pointer to the SSL_CTX object, from which 16 | B was created with L. 17 | 18 | =head1 RETURN VALUES 19 | 20 | The pointer to the SSL_CTX object is returned. 21 | 22 | =head1 SEE ALSO 23 | 24 | L, L 25 | 26 | =cut 27 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_eof.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_eof - check a channel's EOF status 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int 8 | libssh2_channel_eof(LIBSSH2_CHANNEL *channel); 9 | .SH DESCRIPTION 10 | \fIchannel\fP - active channel stream to set closed status on. 11 | 12 | Check if the remote host has sent an EOF status for the selected stream. 13 | .SH RETURN VALUE 14 | Returns 1 if the remote host has sent EOF, otherwise 0. Negative on 15 | failure. 16 | .SH SEE ALSO 17 | .BR libssh2_channel_close(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_knownhost_free.3: -------------------------------------------------------------------------------- 1 | .\" 2 | .\" Copyright (c) 2009 by Daniel Stenberg 3 | .\" 4 | .TH libssh2_knownhost_free 3 "28 May 2009" "libssh2 1.2" "libssh2 manual" 5 | .SH NAME 6 | libssh2_knownhost_free - free a collection of known hosts 7 | .SH SYNOPSIS 8 | #include 9 | 10 | void libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts); 11 | .SH DESCRIPTION 12 | Free a collection of known hosts. 13 | .SH RETURN VALUE 14 | None. 15 | .SH AVAILABILITY 16 | Added in libssh2 1.2 17 | .SH SEE ALSO 18 | .BR libssh2_knownhost_init(3) 19 | .BR libssh2_knownhost_add(3) 20 | .BR libssh2_knownhost_check(3) 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/ERR_clear_error.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | ERR_clear_error - clear the error queue 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | void ERR_clear_error(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | ERR_clear_error() empties the current thread's error queue. 16 | 17 | =head1 RETURN VALUES 18 | 19 | ERR_clear_error() has no return value. 20 | 21 | =head1 SEE ALSO 22 | 23 | L, L 24 | 25 | =head1 HISTORY 26 | 27 | ERR_clear_error() is available in all versions of SSLeay and OpenSSL. 28 | 29 | =cut 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/certU.ss: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBcTCCARsCARwwDQYJKoZIhvcNAQEEBQAwOTELMAkGA1UEBhMCQVUxFzAVBgNV 3 | BAoTDkRvZGd5IEJyb3RoZXJzMREwDwYDVQQDEwhEb2RneSBDQTAeFw05ODA3MjEw 4 | NjUwMjdaFw05ODA4MjAwNjUwMjdaME4xCzAJBgNVBAYTAkFVMRcwFQYDVQQKEw5E 5 | b2RneSBCcm90aGVyczESMBAGA1UEAxMJQnJvdGhlciAxMRIwEAYDVQQDEwlCcm90 6 | aGVyIDIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0e4qorOr/zuLB9NvRaXhJVaI 7 | HaGGasa7eMAjVPitWAXkN+DxXiGH1CnMgQraKiYzsEVP15xtxkevEvK5jJpOwwID 8 | AQABMA0GCSqGSIb3DQEBBAUAA0EAZhcPV+SWwaszFuDTYc6fUurcV9OeXUqoxSQy 9 | MnLZPTyWubHbbkUr9fUfdf7Cc7dFqGzag05VHkNQUS9VjMzjIQ== 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /generate/input/ignored-missing-tests.json: -------------------------------------------------------------------------------- 1 | { 2 | "blob": { 3 | "functions": [ 4 | "createFrombuffer", 5 | "isBinary", 6 | "lookup", 7 | "rawcontent", 8 | "rawsize" 9 | ] 10 | }, 11 | "clone": { 12 | "functions": [ 13 | "initOptions" 14 | ] 15 | }, 16 | "commit": { 17 | "functions": [ 18 | "parentCount", 19 | "parentId", 20 | "treeId" 21 | ] 22 | }, 23 | "diff": { 24 | "functions": [ 25 | "getDelta", 26 | "numDeltas" 27 | ] 28 | }, 29 | "object": { 30 | "functions": [ 31 | "type" 32 | ] 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /generate/templates/manual/include/str_array_converter.h: -------------------------------------------------------------------------------- 1 | #ifndef STR_ARRAY_H 2 | #define STR_ARRAY_H 3 | 4 | #include 5 | 6 | #include "nan.h" 7 | #include "git2/strarray.h" 8 | 9 | using namespace v8; 10 | 11 | class StrArrayConverter { 12 | public: 13 | 14 | static git_strarray *Convert (Local val); 15 | 16 | private: 17 | static git_strarray *ConvertArray(Array *val); 18 | static git_strarray *ConvertString(Local val); 19 | static git_strarray *AllocStrArray(const size_t count); 20 | static git_strarray *ConstructStrArray(int argc, char** argv); 21 | }; 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_rewind.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_rewind 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_rewind - convenience macro for \fIlibssh2_sftp_seek64(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_rewind(LIBSSH2_SFTP_HANDLE *handle); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_seek64(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_seek64(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_seek64(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_seek64(3) 18 | -------------------------------------------------------------------------------- /lib/status.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var normalizeOptions = NodeGit.Utils.normalizeOptions; 3 | 4 | var Status = NodeGit.Status; 5 | 6 | var _foreach = Status.foreach; 7 | var _foreachExt = Status.foreachExt; 8 | 9 | // Override Status.foreach to eliminate the need to pass null payload 10 | Status.foreach = function(repo, callback) { 11 | return _foreach(repo, callback, null); 12 | }; 13 | 14 | // Override Status.foreachExt to normalize opts 15 | Status.foreachExt = function(repo, opts, callback) { 16 | opts = normalizeOptions(opts, NodeGit.StatusOptions); 17 | return _foreachExt(repo, opts, callback, null); 18 | }; 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_agent_disconnect.3: -------------------------------------------------------------------------------- 1 | .\" 2 | .\" Copyright (c) 2009 by Daiki Ueno 3 | .\" 4 | .TH libssh2_agent_disconnect 3 "23 Dec 2009" "libssh2 1.2" "libssh2 manual" 5 | .SH NAME 6 | libssh2_agent_disconnect - close a connection to an ssh-agent 7 | .SH SYNOPSIS 8 | #include 9 | 10 | int libssh2_agent_disconnect(LIBSSH2_AGENT *agent); 11 | .SH DESCRIPTION 12 | Close a connection to an ssh-agent. 13 | 14 | .SH RETURN VALUE 15 | Returns 0 if succeeded, or a negative value for error. 16 | .SH AVAILABILITY 17 | Added in libssh2 1.2 18 | .SH SEE ALSO 19 | .BR libssh2_agent_connect(3) 20 | .BR libssh2_agent_free(3) 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/VMS/TODO: -------------------------------------------------------------------------------- 1 | TODO: 2 | ===== 3 | 4 | There are a few things that need to be worked out in the VMS version of 5 | OpenSSL, still: 6 | 7 | - Description files. ("Makefile's" :-)) 8 | - Script code to link an already compiled build tree. 9 | - A VMSINSTALlable version (way in the future, unless someone else hacks). 10 | - shareable images (DLL for you Windows folks). 11 | 12 | There may be other things that I have missed and that may be desirable. 13 | Please send mail to or to me directly if you 14 | have any ideas. 15 | 16 | -- 17 | Richard Levitte 18 | 1999-05-24 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/ms/32all.bat: -------------------------------------------------------------------------------- 1 | set OPTS=no-asm 2 | 3 | perl Configure VC-WIN32 4 | perl util\mkfiles.pl >MINFO 5 | perl util\mk1mf.pl %OPTS% debug VC-WIN32 >d32.mak 6 | perl util\mk1mf.pl %OPTS% VC-WIN32 >32.mak 7 | perl util\mk1mf.pl %OPTS% debug dll VC-WIN32 >d32dll.mak 8 | perl util\mk1mf.pl %OPTS% dll VC-WIN32 >32dll.mak 9 | perl util\mkdef.pl 32 libeay > ms\libeay32.def 10 | perl util\mkdef.pl 32 ssleay > ms\ssleay32.def 11 | 12 | nmake -f d32.mak 13 | @if errorlevel 1 goto end 14 | nmake -f 32.mak 15 | @if errorlevel 1 goto end 16 | nmake -f d32dll.mak 17 | @if errorlevel 1 goto end 18 | nmake -f 32dll.mak 19 | 20 | :end 21 | -------------------------------------------------------------------------------- /vendor/libssh2/src/libssh2.pc.in: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # libssh2 installation details 3 | ########################################################################### 4 | 5 | prefix=@CMAKE_INSTALL_PREFIX@ 6 | exec_prefix=${prefix} 7 | libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ 8 | includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ 9 | 10 | Name: @PROJECT_NAME@ 11 | URL: @PROJECT_URL@ 12 | Description: @PROJECT_DESCRIPTION@ 13 | Version: @LIBSSH2_VERSION@ 14 | Requires.private: @PC_REQUIRES_PRIVATE@ 15 | Libs: -L${libdir} -lssh2 @PC_LIBS@ 16 | Libs.private: @PC_LIBS@ 17 | Cflags: -I${includedir} -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/sco5-shared-installed: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | major="0" 4 | minor="9.7b" 5 | 6 | slib=libssl 7 | sh_slib=$slib.so.$major.$minor 8 | 9 | clib=libcrypto 10 | sh_clib=$clib.so.$major.$minor 11 | 12 | # If you want them in /usr/local/lib then change INSTALLTOP to point there. 13 | #INSTALLTOP=/usr/local/ssl/lib 14 | INSTALLTOP=/usr/local/lib 15 | 16 | cp -p $sh_clib $INSTALLTOP 17 | cp -p $sh_slib $INSTALLTOP 18 | 19 | PWD=`pwd` 20 | cd $INSTALLTOP 21 | rm -f $INSTALLTOP/$clib.so 22 | ln -s $INSTALLTOP/$sh_clib $clib.so 23 | 24 | rm -f $INSTALLTOP/$slib.so 25 | ln -s $INSTALLTOP/$sh_slib $slib.so 26 | 27 | cd $PWD 28 | 29 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/svr5-shared-installed: -------------------------------------------------------------------------------- 1 | #!/usr/bin/sh 2 | 3 | major="0" 4 | minor="9.7b" 5 | 6 | slib=libssl 7 | sh_slib=$slib.so.$major.$minor 8 | 9 | clib=libcrypto 10 | sh_clib=$clib.so.$major.$minor 11 | 12 | # If you want them in /usr/local/lib then change INSTALLTOP to point there. 13 | #INSTALLTOP=/usr/local/ssl/lib 14 | INSTALLTOP=/usr/local/lib 15 | 16 | cp -p $sh_clib $INSTALLTOP 17 | cp -p $sh_slib $INSTALLTOP 18 | 19 | PWD=`pwd` 20 | cd $INSTALLTOP 21 | rm -f $INSTALLTOP/$clib.so 22 | ln -s $INSTALLTOP/$sh_clib $clib.so 23 | 24 | rm -f $INSTALLTOP/$slib.so 25 | ln -s $INSTALLTOP/$sh_slib $slib.so 26 | 27 | cd $PWD 28 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_session_init.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_session_init 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_session_init - convenience macro for \fIlibssh2_session_init_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | LIBSSH2_SESSION * 8 | libssh2_session_init(void); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_session_init_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_session_init_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_session_init_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_session_init_ex(3) 19 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "curly": true, 4 | "eqnull": true, 5 | "esnext": true, 6 | "evil": true, 7 | "futurehostile": true, 8 | "globals": { 9 | "after": true, 10 | "afterEach": true, 11 | "before": true, 12 | "beforeEach": true, 13 | "define": true, 14 | "describe": true, 15 | "global": true, 16 | "it": true 17 | }, 18 | "immed": false, 19 | "maxlen": 80, 20 | "node": true, 21 | "predef": [ 22 | "Promise", 23 | "Set" 24 | ], 25 | "proto": true, 26 | "quotmark": "double", 27 | "trailing": true, 28 | "undef": true, 29 | "unused": "vars", 30 | "validthis": true 31 | } 32 | -------------------------------------------------------------------------------- /test/utils/garbage_collect.js: -------------------------------------------------------------------------------- 1 | // aggressively collects garbage until we fail to improve terminatingIterations 2 | // times. 3 | function garbageCollect() { 4 | var terminatingIterations = 3; 5 | var usedBeforeGC = Number.MAX_VALUE; 6 | var nondecreasingIterations = 0; 7 | for ( ; ; ) { 8 | global.gc(); 9 | var usedAfterGC = process.memoryUsage().heapUsed; 10 | if (usedAfterGC >= usedBeforeGC) { 11 | nondecreasingIterations++; 12 | if (nondecreasingIterations >= terminatingIterations) { 13 | break; 14 | } 15 | } 16 | usedBeforeGC = usedAfterGC; 17 | } 18 | } 19 | 20 | module.exports = garbageCollect; 21 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_close.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_close 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_close - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_close(LIBSSH2_SFTP_HANDLE *handle); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_close_handle(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_close_handle(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_close_handle(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_close_handle(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_mkdir.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_mkdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_mkdir - convenience macro for \fIlibssh2_sftp_mkdir_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_mkdir(LIBSSH2_SFTP *sftp, const char *path, long mode); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_mkdir_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_mkdir_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_mkdir_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_mkdir_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_flush.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_flush 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_flush - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_flush(LIBSSH2_CHANNEL *channel); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_flush_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_flush_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_flush_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_flush_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_unlink.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_unlink 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_unlink - convenience macro for \fIlibssh2_sftp_unlink_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_unlink(LIBSSH2_SFTP *sftp, const char *filename); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_unlink_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_unlink_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_unlink_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_unlink_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/ssltest-ecc/README: -------------------------------------------------------------------------------- 1 | Scripts for using ECC ciphersuites with test/testssl 2 | (these ciphersuites are described in the Internet Draft available at 3 | http://www.ietf.org/internet-drafts/draft-ietf-tls-ecc-03.txt). 4 | 5 | Use ECCcertgen.sh, RSAcertgen.sh, ECC-RSAcertgen.sh to generate 6 | root, client and server certs of the following types: 7 | 8 | ECC certs signed with ECDSA 9 | RSA certs signed with RSA 10 | ECC certs signed with RSA 11 | 12 | Afterwards, you can use ssltest.sh to run the various tests; 13 | specify one of the following options: 14 | 15 | aecdh, ecdh-ecdsa, ecdhe-ecdsa, ecdh-rsa, ecdhe-rsa 16 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_userauth_authenticated.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_userauth_authenticated 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_userauth_authenticated - return authentication status 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int 8 | libssh2_userauth_authenticated(LIBSSH2_SESSION *session); 9 | 10 | .SH DESCRIPTION 11 | \fIsession\fP - Session instance as returned by 12 | .BR libssh2_session_init_ex(3) 13 | 14 | Indicates whether or not the named session has been successfully authenticated. 15 | 16 | .SH RETURN VALUE 17 | Returns 1 if authenticated and 0 if not. 18 | 19 | .SH SEE ALSO 20 | .BR libssh2_session_init_ex(3) 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/dh2048.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIIBCAKCAQEA9kJXtwh/CBdyorrWqULzBej5UxE5T7bxbrlLOCDaAadWoxTpj0BV 3 | 89AHxstDqZSt90xkhkn4DIO9ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeSWc39uK50 4 | T8X8dryDxUcwYc58yWb/Ffm7/ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1YTknb 5 | zSC0neSRBzZrM2w4DUUdD3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdX 6 | Q6MdGGzeMyEstSr/POGxKUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbT 7 | CD1mpF1Bn5x8vYlLIhkmuquiXsNV6TILOwIBAg== 8 | -----END DH PARAMETERS----- 9 | 10 | These are the 2048 bit DH parameters from "Assigned Number for SKIP Protocols" 11 | (http://www.skip-vpn.org/spec/numbers.html). 12 | See there for how they were generated. 13 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/win32dll.bat: -------------------------------------------------------------------------------- 1 | rem win32 dll build 2 | 3 | set OPTIONS1=-DDES_ASM -DBN_ASM -DBF_ASM -DFLAT_INC -Iout -Itmp -DL_ENDIAN 4 | set OPTIONS2=/W3 /WX /Ox /Gf /nologo 5 | 6 | set OPTIONS=%OPTIONS1% %OPTIONS2% 7 | 8 | cl /Felibeay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\libeay32.def crypto\crypto.c crypto\bf\asm\b-win32.obj crypto\des\asm\c-win32.obj crypto\des\asm\d-win32.obj crypto\bn\asm\x86nt32.obj user32.lib gdi32.lib ws2_32.lib 9 | 10 | cl /Fessleay32.dll /GD /MD /LD -DWIN32 %OPTIONS% ms\ssleay32.def ssl\ssl.c libeay32.lib 11 | 12 | cl /Fessleay.exe /MD -DWIN32 %OPTIONS% apps\eay.c ssleay32.lib libeay32.lib user32.lib ws2_32.lib 13 | 14 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_closedir.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_closedir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_closedir - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_closedir(LIBSSH2_SFTP_HANDLE *handle) 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_close_handle(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_close_handle(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_close_handle(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_close_handle(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_fstat.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_fstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_fstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_fstat(LIBSSH2_SFTP_HANDLE *handle, LIBSSH2_SFTP_ATTRIBUTES *attrs); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_fstat_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_fstat_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_fstat_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_fstat_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_opendir.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_opendir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_opendir - convenience macro for \fIlibssh2_sftp_open_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | LIBSSH2_SFTP_HANDLE * 8 | libssh2_sftp_opendir(LIBSSH2_SFTP *sftp, const char *path); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_sftp_open_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_sftp_open_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_sftp_open_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_sftp_open_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_scp_send.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_scp_send 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_scp_send - convenience macro for \fIlibssh2_scp_send_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | LIBSSH2_CHANNEL * 8 | libssh2_scp_send(LIBSSH2_SESSION *session, const char *path, int mode, size_t size); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_scp_send_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_scp_send_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_scp_send_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_scp_send_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_lstat.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_lstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_lstat - convenience macro for \fIlibssh2_sftp_stat_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_lstat(LIBSSH2_SFTP *sftp, const char *path, LIBSSH2_SFTP_ATTRIBUTES *attrs); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_stat_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_stat_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_stat_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_stat_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_stat.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_stat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_stat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_stat(LIBSSH2_SFTP *sftp, const char *path, LIBSSH2_SFTP_ATTRIBUTES *attrs); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_fstat_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_fstat_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_fstat_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_fstat_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/src/NMakefile: -------------------------------------------------------------------------------- 1 | !include "win32/config.mk" 2 | 3 | !include "win32/objects.mk" 4 | 5 | CFLAGS=$(CFLAGS) 6 | 7 | AR = lib 8 | ARFLAGS = -nologo /LTCG 9 | 10 | RESOURCE=$(INTDIR)\libssh2.res 11 | DLL=libssh2$(SUFFIX).dll 12 | STATICLIB=$(INTDIR)\libssh2.lib 13 | 14 | !if "$(BUILD_STATIC_LIB)" == "" 15 | all: $(DLL) 16 | !else 17 | all: $(STATICLIB) 18 | !endif 19 | 20 | $(DLL): $(OBJECTS) $(RESOURCE) 21 | $(CC) -o $(DLL) $(DLLFLAGS) $(OBJECTS) $(RESOURCE) $(LIBS) 22 | 23 | $(STATICLIB): $(OBJECTS) 24 | $(AR) $(ARFLAGS) -out:$@ $(OBJECTS) 25 | 26 | $(RESOURCE): win32\libssh2.rc 27 | $(RC) $(RCFLAGS) /Fo"$@" $? 28 | 29 | !include "win32/rules.mk" 30 | 31 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_read.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_read - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | ssize_t libssh2_channel_read(LIBSSH2_CHANNEL *channel, char *buf, size_t buflen); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_read_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_read_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_read_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_read_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_fsetstat.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_fsetstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_fsetstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_fsetstat(LIBSSH2_SFTP_HANDLE *handle, LIBSSH2_SFTP_ATTRIBUTES *attrs); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_fstat_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_fstat_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_fstat_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_fstat_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_setstat.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_setstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_setstat - convenience macro for \fIlibssh2_sftp_stat_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_setstat(LIBSSH2_SFTP *sftp, const char *path, LIBSSH2_SFTP_ATTRIBUTES *attr); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_stat_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_stat_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_stat_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_stat_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl-cli.gypi: -------------------------------------------------------------------------------- 1 | { 2 | 'target_name': 'openssl-cli', 3 | 'type': 'executable', 4 | 'dependencies': ['openssl'], 5 | 'defines': [ 6 | 'MONOLITH' 7 | ], 8 | 'includes': ['openssl.gypi'], 9 | 'sources': ['<@(openssl_cli_sources)'], 10 | 'conditions': [ 11 | ['OS=="solaris"', { 12 | 'libraries': ['<@(openssl_cli_libraries_solaris)'] 13 | }, 'OS=="win"', { 14 | 'link_settings': { 15 | 'libraries': ['<@(openssl_cli_libraries_win)'], 16 | }, 17 | }, 'OS in "linux android"', { 18 | 'link_settings': { 19 | 'libraries': [ 20 | '-ldl', 21 | ], 22 | }, 23 | }], 24 | ], 25 | } 26 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/RSA_size.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | RSA_size - get RSA modulus size 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int RSA_size(const RSA *rsa); 12 | 13 | =head1 DESCRIPTION 14 | 15 | This function returns the RSA modulus size in bytes. It can be used to 16 | determine how much memory must be allocated for an RSA encrypted 17 | value. 18 | 19 | Bn> must not be B. 20 | 21 | =head1 RETURN VALUE 22 | 23 | The size in bytes. 24 | 25 | =head1 SEE ALSO 26 | 27 | L 28 | 29 | =head1 HISTORY 30 | 31 | RSA_size() is available in all versions of SSLeay and OpenSSL. 32 | 33 | =cut 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/engine_vector.mar: -------------------------------------------------------------------------------- 1 | ; 2 | ; Transfer vector for VAX shareable image 3 | ; 4 | .TITLE ENGINE 5 | .IDENT /ENGINE/ 6 | ; 7 | ; Define macro to assist in building transfer vector entries. Each entry 8 | ; should take no more than 8 bytes. 9 | ; 10 | .MACRO FTRANSFER_ENTRY routine 11 | .ALIGN QUAD 12 | .TRANSFER routine 13 | .MASK routine 14 | JMP routine+2 15 | .ENDM FTRANSFER_ENTRY 16 | ; 17 | ; Place entries in own program section. 18 | ; 19 | .PSECT $$ENGINE,QUAD,PIC,USR,CON,REL,LCL,SHR,EXE,RD,NOWRT 20 | ENGINE_xfer: 21 | FTRANSFER_ENTRY bind_engine 22 | FTRANSFER_ENTRY v_check 23 | .BLKB 32768-<.-ENGINE_xfer> ; 64 pages total. 24 | .END 25 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_session_last_errno.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_session_last_errno 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_session_last_errno - get the most recent error number 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int 8 | libssh2_session_last_errno(LIBSSH2_SESSION *session); 9 | 10 | .SH DESCRIPTION 11 | \fIsession\fP - Session instance as returned by 12 | .BR libssh2_session_init_ex(3) 13 | 14 | Determine the most recent error condition. 15 | 16 | .SH RETURN VALUE 17 | Numeric error code corresponding to the the Error Code constants. 18 | 19 | .SH SEE ALSO 20 | .BR libssh2_session_last_error(3) 21 | .BR libssh2_session_set_last_error(3) 22 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_rmdir.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_rmdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_rmdir - convenience macro for \fIlibssh2_sftp_rmdir_ex(3)\fP 4 | .SH SYNOPSIS 5 | .nf 6 | #include 7 | 8 | #define libssh2_sftp_rmdir(sftp, path) \\ 9 | libssh2_sftp_rmdir_ex((sftp), (path), strlen(path)) 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_sftp_rmdir_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_sftp_rmdir_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_sftp_rmdir_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_sftp_rmdir_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/example/Makefile.am: -------------------------------------------------------------------------------- 1 | AUTOMAKE_OPTIONS = foreign nostdinc 2 | 3 | EXTRA_DIST = libssh2_config.h.in libssh2_config_cmake.h.in CMakeLists.txt 4 | 5 | # samples 6 | noinst_PROGRAMS = direct_tcpip ssh2 scp scp_nonblock scp_write \ 7 | scp_write_nonblock sftp sftp_nonblock sftp_write sftp_write_nonblock \ 8 | sftp_mkdir sftp_mkdir_nonblock sftp_RW_nonblock sftp_write_sliding \ 9 | sftpdir sftpdir_nonblock ssh2_exec ssh2_agent ssh2_echo sftp_append \ 10 | subsystem_netconf tcpip-forward 11 | 12 | if HAVE_SYS_UN_H 13 | noinst_PROGRAMS += x11 14 | endif 15 | 16 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/example 17 | LDADD = $(top_builddir)/src/libssh2.la 18 | -------------------------------------------------------------------------------- /FAQ.md: -------------------------------------------------------------------------------- 1 | NodeGit FAQ 2 | ----------- 3 | 4 | Feel free to add common problems with their solutions here, or just anything that wasn't clear at first. 5 | 6 | #### Error: callback returned unsupported credentials type #### 7 | 8 | As seen in nodegit/#959 -- some golang hackers have started to use the following stanza in .gitconfig to allow `go get` to work with private repos: 9 | ``` 10 | [url "git@github.com:"] 11 | insteadOf = https://github.com/ 12 | ``` 13 | But if you do this, code can call `NodeGit.Clone.clone(url: 'https://foo')` and have the `authentication` callback be asked for **SSH** credentials instead of HTTPS ones, which might not be what your application expected. 14 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_flush_stderr.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_flush_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_flush_stderr - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_flush_stderr(LIBSSH2_CHANNEL *channel); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_flush_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_flush_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_flush_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_flush_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_init.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_init 3 "19 Mar 2010" "libssh2 1.2.5" "libssh2 manual" 2 | .SH NAME 3 | libssh2_init - global library initialization 4 | .SH SYNOPSIS 5 | #include 6 | 7 | #define LIBSSH2_INIT_NO_CRYPTO 0x0001 8 | 9 | int 10 | libssh2_init(int flags); 11 | .SH DESCRIPTION 12 | Initialize the libssh2 functions. This typically initialize the 13 | crypto library. It uses a global state, and is not thread safe -- you 14 | must make sure this function is not called concurrently. 15 | .SH RETURN VALUE 16 | Returns 0 if succeeded, or a negative value for error. 17 | .SH AVAILABILITY 18 | Added in libssh2 1.2.5 19 | .SH SEE ALSO 20 | .BR libssh2_exit(3) 21 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_open.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_open 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_open - convenience macro for \fIlibssh2_sftp_open_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | LIBSSH2_SFTP_HANDLE * 8 | libssh2_sftp_open(LIBSSH2_SFTP *sftp, const char *path, unsigned long flags, long mode); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_sftp_open_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_sftp_open_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_sftp_open_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_sftp_open_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/err-ins.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # 3 | # tack error codes onto the end of a file 4 | # 5 | 6 | open(ERR,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n"; 7 | @err=; 8 | close(ERR); 9 | 10 | open(IN,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n"; 11 | 12 | @out=""; 13 | while () 14 | { 15 | push(@out,$_); 16 | last if /BEGIN ERROR CODES/; 17 | } 18 | close(IN); 19 | 20 | open(OUT,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n"; 21 | print OUT @out; 22 | print OUT @err; 23 | print OUT <<"EOF"; 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif 29 | 30 | EOF 31 | close(OUT); 32 | 33 | 34 | -------------------------------------------------------------------------------- /guides/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: guides 3 | menu_item: guides 4 | title: Guides 5 | description: Learning NodeGit 6 | --- 7 | 8 | ## Install 9 | 10 | > How to install NodeGit 11 | 12 | - [Basics](install/) 13 | - [From source](install/from-source) 14 | - [Electron](install/electron/) 15 | - [NW.js](install/nw.js/) 16 | 17 | *** 18 | 19 | ## Repository 20 | 21 | > How to work with repositories 22 | 23 | - [Opening](repositories/) 24 | - [Initializing](repositories/initializing) 25 | 26 | *** 27 | 28 | ## Cloning 29 | 30 | > How to clone repositories 31 | 32 | - [HTTP/HTTPS](cloning/) 33 | - [SSH w/ Agent](cloning/ssh-with-agent/) 34 | - [GitHub Two Factor Auth](cloning/gh-two-factor/) 35 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_shell.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_shell 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_shell - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_shell(LIBSSH2_CHANNEL *channel); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_process_startup(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_process_startup(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_process_startup(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_process_startup(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/tests/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_builddir)/src 2 | LDADD = ../src/libssh2.la 3 | 4 | if SSHD 5 | noinst_PROGRAMS = ssh2 6 | ssh2_SOURCES = ssh2.c 7 | endif 8 | 9 | ctests = simple$(EXEEXT) 10 | TESTS = $(ctests) mansyntax.sh 11 | if SSHD 12 | TESTS += ssh2.sh 13 | endif 14 | check_PROGRAMS = $(ctests) 15 | 16 | TESTS_ENVIRONMENT = SSHD=$(SSHD) EXEEXT=$(EXEEXT) 17 | TESTS_ENVIRONMENT += srcdir=$(top_srcdir)/tests builddir=$(top_builddir)/tests 18 | 19 | EXTRA_DIST = ssh2.sh mansyntax.sh 20 | EXTRA_DIST += etc/host etc/host.pub etc/user etc/user.pub 21 | EXTRA_DIST += CMakeLists.txt libssh2_config_cmake.h.in sshd_fixture.sh.in 22 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBoDCCAUoCAQAwDQYJKoZIhvcNAQEEBQAwYzELMAkGA1UEBhMCQVUxEzARBgNV 3 | BAgTClF1ZWVuc2xhbmQxGjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMSMwIQYD 4 | VQQDExpTZXJ2ZXIgdGVzdCBjZXJ0ICg1MTIgYml0KTAeFw05NzA5MDkwMzQxMjZa 5 | Fw05NzEwMDkwMzQxMjZaMF4xCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0 6 | YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxFzAVBgNVBAMT 7 | DkVyaWMgdGhlIFlvdW5nMFEwCQYFKw4DAgwFAANEAAJBALVEqPODnpI4rShlY8S7 8 | tB713JNvabvn6Gned7zylwLLiXQAo/PAT6mfdWPTyCX9RlId/Aroh1ou893BA32Q 9 | sggwDQYJKoZIhvcNAQEEBQADQQCU5SSgapJSdRXJoX+CpCvFy+JVh9HpSjCpSNKO 10 | 19raHv98hKAUJuP9HyM+SUsffO6mAIgitUaqW8/wDMePhEC3 11 | -----END CERTIFICATE----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBlzCCAVcCAQAwXjELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUx 3 | ITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEXMBUGA1UEAxMORXJp 4 | YyB0aGUgWW91bmcwge8wgaYGBSsOAwIMMIGcAkEA+ZiKEvZmc9MtnaFZh4NiZ3oZ 5 | S4J1PHvPrm9MXj5ntVheDPkdmBDTncyaGAJcMjwsyB/GvLDGd6yGCw/8eF+09wIV 6 | AK3VagOxGd/Q4Af5NbxR5FB7CXEjAkA2t/q7HgVLi0KeKvcDG8BRl3wuy7bCvpjg 7 | tWiJc/tpvcuzeuAayH89UofjAGueKjXDADiRffvSdhrNw5dkqdqlA0QAAkEAtUSo 8 | 84OekjitKGVjxLu0HvXck29pu+foad53vPKXAsuJdACj88BPqZ91Y9PIJf1GUh38 9 | CuiHWi7z3cEDfZCyCKAAMAkGBSsOAwIbBQADLwAwLAIUTg8amKVBE9oqC5B75dDQ 10 | Chy3LdQCFHKodGEj3LjuTzdm/RTe2KZL9Uzf 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/demos/cms/comp.txt: -------------------------------------------------------------------------------- 1 | Content-type: text/plain 2 | 3 | Some Text To be Compressed 4 | Some Text To be Compressed 5 | Some Text To be Compressed 6 | Some Text To be Compressed 7 | Some Text To be Compressed 8 | Some Text To be Compressed 9 | Some Text To be Compressed 10 | Some Text To be Compressed 11 | Some Text To be Compressed 12 | Some Text To be Compressed 13 | Some Text To be Compressed 14 | Some Text To be Compressed 15 | Some Text To be Compressed 16 | Some Text To be Compressed 17 | Some Text To be Compressed 18 | Some Text To be Compressed 19 | Some Text To be Compressed 20 | Some Text To be Compressed 21 | Some Text To be Compressed 22 | Some Text To be Compressed 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/engines/ccgost/gost2001_keyx.h: -------------------------------------------------------------------------------- 1 | GOST_KEY_TRANSPORT *make_rfc4490_keytransport_2001(EVP_PKEY *pubk, 2 | BIGNUM *eph_key, 3 | const unsigned char *key, 4 | size_t keylen, 5 | unsigned char *ukm, 6 | size_t ukm_len); 7 | 8 | int decrypt_rfc4490_shared_key_2001(EVP_PKEY *priv, 9 | GOST_KEY_TRANSPORT * gkt, 10 | unsigned char *key_buf, int key_buf_len); 11 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_write.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_write - convenience macro for \fIlibssh2_channel_write_ex(3)\fP 4 | .SH SYNOPSIS 5 | .nf 6 | #include 7 | 8 | ssize_t libssh2_channel_write(LIBSSH2_CHANNEL *channel, const char *buf, size_t buflen); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_channel_write_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_channel_write_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_channel_write_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_channel_write_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_x11_req.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_x11_req 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_x11_req - convenience macro for \fIlibssh2_channel_x11_req_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_x11_req(LIBSSH2_CHANNEL *channel, int screen_number); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_x11_req_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_x11_req_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_x11_req_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_x11_req_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_rename.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_rename 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_rename - convenience macro for \fIlibssh2_sftp_rename_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_rename(LIBSSH2_SFTP *sftp, const char *source_filename, const char *destination_filename); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_rename_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_rename_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_rename_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_rename_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/nw/keepscreen.c: -------------------------------------------------------------------------------- 1 | /* Simple _NonAppStop() implementation which can be linked to your 2 | * NLM in order to keep the screen open when the NLM terminates 3 | * (the good old clib behaviour). 4 | * You dont have to call it, its done automatically from LibC. 5 | * 6 | * 2004-Aug-11 by Guenter Knauf 7 | * 8 | * URL: http://www.gknw.net/development/mk_nlm/ 9 | */ 10 | 11 | #include 12 | #include 13 | 14 | void _NonAppStop() 15 | { 16 | uint16_t row, col; 17 | 18 | GetScreenSize(&row, &col); 19 | gotorowcol(row-1, 0); 20 | /* pressanykey(); */ 21 | printf(" "); 22 | getcharacter(); 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/README: -------------------------------------------------------------------------------- 1 | 2 | README This file 3 | 4 | fingerprints.txt 5 | PGP fingerprints of authoried release signers 6 | 7 | standards.txt 8 | Pointers to standards, RFC's and IETF Drafts that are 9 | related to OpenSSL. Incomplete. 10 | 11 | HOWTO/ 12 | A few how-to documents; not necessarily up-to-date 13 | apps/ 14 | The openssl command-line tools; start with openssl.pod 15 | ssl/ 16 | The SSL library; start with ssl.pod 17 | crypto/ 18 | The cryptographic library; start with crypto.pod 19 | 20 | Formatted versions of the manpages (apps,ssl,crypto) can be found at 21 | https://www.openssl.org/docs/manpages.html 22 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_open_session.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_open_session 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_open_session - convenience macro for \fIlibssh2_channel_open_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | LIBSSH2_CHANNEL * 8 | libssh2_channel_open_session(LIBSSH2_SESSION *session); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_channel_open_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_channel_open_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_channel_open_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_channel_open_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_get_channel.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_get_channel 3 "9 Sep 2011" "libssh2 1.4.0" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_get_channel - return the channel of sftp 4 | .SH SYNOPSIS 5 | .nf 6 | #include 7 | #include 8 | 9 | .fi 10 | LIBSSH2_CHANNEL *libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp); 11 | .SH DESCRIPTION 12 | \fIsftp\fP - SFTP instance as returned by 13 | .BR libssh2_sftp_init(3) 14 | 15 | Return the channel of the given sftp handle. 16 | .SH RETURN VALUE 17 | The channel of the SFTP instance or NULL if something was wrong. 18 | .SH AVAILABILITY 19 | Added in 1.4.0 20 | .SH SEE ALSO 21 | .BR libssh2_sftp_init(3) 22 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/ca-req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBmTCCAQICAQAwWzELMAkGA1UEBhMCQVUxEzARBgNVBAgTClF1ZWVuc2xhbmQx 3 | GjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMRswGQYDVQQDExJUZXN0IENBICgx 4 | MDI0IGJpdCkwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKO7o8t116VP6cgy 5 | bTsZDCZhr95nYlZuya3aCi1IKoztqwWnjbmDFIriOqGFPrZQ+moMETC9D59iRW/d 6 | FXSv1F65ka/XY2hLh9exCCo7XuUcDs53Qp3bI3AmMqHjgzE8oO3ajyJAzJkTTOUe 7 | cQU2mw/gI4tMM0LqWMQS7luTy4+xAgMBAAEwDQYJKoZIhvcNAQEEBQADgYEAKlk7 8 | cxu9gCJN3/iQFyJXQ6YphaiQAT5VBXTx9ftRrQIjA3vxlDzPWGDy+V5Tqa7h8PtR 9 | 5Bn00JShII2zf0hjyjKils6x/UkWmjEiwSiFp4hR70iE8XwSNEHY2P6j6nQEIpgW 10 | kbfgmmUqk7dl2V+ossTJ80B8SBpEhrn81V/cHxA= 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/pca-req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBmjCCAQMCAQAwXDELMAkGA1UEBhMCQVUxEzARBgNVBAgTClF1ZWVuc2xhbmQx 3 | GjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMRwwGgYDVQQDExNUZXN0IFBDQSAo 4 | MTAyNCBiaXQpMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCdoWk/3+WcMlfj 5 | Irkg40ketmnQaEogQe1LLcuOJV6rKfUSAsPgwgsabJ/wn8TxA1yy3eKJbFl3OiUX 6 | MRsp22Jp85PmemiDzyUIStwk72qhp1imbANZvlmlCFKiQrjUyuDfu4TABmn+kkt3 7 | vR1YBEOGt+IFye1UBVSATVdRJ2UVhwIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAEzz 8 | IG8NnfpnPTQSCN5zJhOfy6p9AcDyQzuJirYv1HR/qoYWalPh/U2uiK0lAim7qMcv 9 | wOlK3I7A8B7/4dLqvIqgtUj9b1WT8zIrnwdvJI4osLI2BY+c1pVlp174DHLMol1L 10 | Cl1e3N5BTm7lCitTYjuUhsw6hiA8IcdNKDo6sktV 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/des/times/586-100.lnx: -------------------------------------------------------------------------------- 1 | Pentium 100 2 | Linux 2 kernel 3 | gcc 2.7.0 -O3 -fomit-frame-pointer 4 | No X server running, just a console, it makes the top speed jump from 151,000 5 | to 158,000 :-). 6 | options des ecb/s 7 | assember 281000.00 177.1% 8 | 16 r1 p 158667.40 100.0% 9 | 16 r1 i 148471.70 93.6% 10 | 16 r2 p 143961.80 90.7% 11 | 16 r2 i 141689.20 89.3% 12 | 4 r1 i 140100.00 88.3% 13 | 4 r2 i 134049.40 84.5% 14 | 16 c i 124145.20 78.2% 15 | 16 c p 121584.20 76.6% 16 | 4 c i 118116.00 74.4% 17 | 4 r2 p 117977.90 74.4% 18 | 4 c p 114971.40 72.5% 19 | 4 r1 p 114578.40 72.2% 20 | -DDES_UNROLL -DDES_RISC1 -DDES_PTR 21 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_read_stderr.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_read_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_read_stderr - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | ssize_t libssh2_channel_read_stderr(LIBSSH2_CHANNEL *channel, char *buf, size_t buflen); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_read_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_read_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_read_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_read_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_setenv.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_setenv 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_setenv - convenience macro for \fIlibssh2_channel_setenv_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_setenv(LIBSSH2_CHANNEL *channel, const char *varname, const char *value); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_setenv_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_setenv_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_setenv_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_setenv_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/do_ms.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # generate the Microsoft makefiles and .def files 4 | # 5 | 6 | PATH=util:../util:$PATH 7 | 8 | # perl util/mk1mf.pl no-sock VC-MSDOS >ms/msdos.mak 9 | # perl util/mk1mf.pl VC-W31-32 >ms/w31.mak 10 | perl util/mk1mf.pl dll VC-WIN16 >ms/w31dll.mak 11 | # perl util/mk1mf.pl VC-WIN32 >ms/nt.mak 12 | perl util/mk1mf.pl dll VC-WIN32 >ms/ntdll.mak 13 | perl util/mk1mf.pl Mingw32 >ms/mingw32.mak 14 | perl util/mk1mf.pl Mingw32-files >ms/mingw32f.mak 15 | 16 | perl util/mkdef.pl 16 libeay > ms/libeay16.def 17 | perl util/mkdef.pl 32 libeay > ms/libeay32.def 18 | perl util/mkdef.pl 16 ssleay > ms/ssleay16.def 19 | perl util/mkdef.pl 32 ssleay > ms/ssleay32.def 20 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_exec.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_exec 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_exec - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *command); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_process_startup(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_process_startup(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_process_startup(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_process_startup(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/asn1test.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | typedef struct X { 5 | STACK_OF(X509_EXTENSION) *ext; 6 | } X; 7 | 8 | /* This isn't meant to run particularly, it's just to test type checking */ 9 | int main(int argc, char **argv) 10 | { 11 | X *x = NULL; 12 | unsigned char **pp = NULL; 13 | 14 | M_ASN1_I2D_vars(x); 15 | M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext, 16 | i2d_X509_EXTENSION); 17 | M_ASN1_I2D_seq_total(); 18 | M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext, 19 | i2d_X509_EXTENSION); 20 | M_ASN1_I2D_finish(); 21 | } 22 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/ND1.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBSIRFH/UCpp 2 | Xi2I9CG62QzyzsvqfBgPMjAxMjEwMTEwODQxMTNaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FEi2DTgjjfhFbk7lhD6jlBEYApefBBSIRFH/UCppXi2I9CG62QzyzsvqfAIQIuEz 4 | IiCgSN8psr+aMcKbB4AAGA8yMDEyMTAxMTA4NDExM1qgERgPMjAxMjEwMTUwODQx 5 | MTNaMA0GCSqGSIb3DQEBBQUAA4IBAQCNnhlBMxxh9z5AKfzAxiKs90CfxUsqfYfk 6 | 8XlyF9VIfWRfEwzS6MF1pEzLnghRxTAmjrFgK+sxD9wk+S5Mdgw3nbED9DVFH2Hs 7 | RGKm/t9wkvrYOX6yRQqw6uRvU/5cibMjcyzKB/VQMwk4p4FwSUgBv88A5sTkKr2V 8 | eYdEm34hg2TZVkipPMBiyTyBLXs8D/9oALtnczg4xlTRSjDUvqoXL5haqY4QK2Pv 9 | mNwna6ACkwLmSuMe29UQ8IX2PUB4R5Etni5czyiKGxZLm+4NAhuEwWFNEzCyImPc 10 | 087gHGU1zx+qVSlajqMJ/9ZXYjbt7WiWdhOTGEv4VMn8dHhRUs32 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/ND2.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBQLWOWLxkwV 2 | N6RAqTCpIb5HNlpW/xgPMjAxMjEwMTAyMzAzMTlaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FOy+ZAvtiWulchtVZmfKU1ZI9ewTBBQLWOWLxkwVN6RAqTCpIb5HNlpW/wIQEaO0 4 | 0OyNt3+doM1dLVEvQoAAGA8yMDEyMTAxMDIzMDMxOVqgERgPMjAxMjEwMTQyMzAz 5 | MTlaMA0GCSqGSIb3DQEBBQUAA4IBAQCHn2nGfEUX/EJruMkTgh7GgB0u9cpAepaD 6 | sPv9gtl3KLUZyR+NbGMIa5/bpoJp0yg1z5VL6CLMusy3AF6Cn2fyaioDxG+yc+gA 7 | PcPFdEqiIMr+TP8s7qcEiE6WZddSSCqCn90VZSCWkpDhnCjDRwJLBBPU3803fdMz 8 | oguvyr7y6Koxik8X/iUe8EpSzAvmm4GZL3veTI+x7IezJSrhCS9zM0ZHjySjoDxC 9 | +ljGH0EuWPTmFEqZVGIq3cuahIYzKItUbYnXU6ipi/2p42qbsFeok7eEN0EYsY1a 10 | vRATHGRmU7Q5HLCq4rQtZC1cis52Mvc9x1W4z/Gt5A3FtgElXXNA 11 | -------------------------------------------------------------------------------- /vendor/libssh2/buildconf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LIBTOOLIZE="libtoolize" 4 | 5 | if [ "x`which $LIBTOOLIZE`" = "x" ]; then 6 | LIBTOOLIZE="glibtoolize" 7 | fi 8 | 9 | if [ "x`which $LIBTOOLIZE`" = "x" ]; then 10 | echo "Neither libtoolize nor glibtoolize could be found!" 11 | exit 1 12 | fi 13 | 14 | ${LIBTOOLIZE} --copy --automake --force 15 | ${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS 16 | ${AUTOHEADER:-autoheader} 17 | # copy the private libssh2_config.h.in to the examples dir so that 18 | # it can be included without pointing the include path to the private 19 | # source dir 20 | cp src/libssh2_config.h.in example/libssh2_config.h.in 21 | ${AUTOCONF:-autoconf} 22 | ${AUTOMAKE:-automake} --add-missing --copy 23 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/apps/s1024req.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIBojCCAQsCAQAwZDELMAkGA1UEBhMCQVUxEzARBgNVBAgTClF1ZWVuc2xhbmQx 3 | GjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMSQwIgYDVQQDExtTZXJ2ZXIgdGVz 4 | dCBjZXJ0ICgxMDI0IGJpdCkwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALMR 5 | 9TwT5kZMa0ddXleG8zYuDfZ9dQiPJ1dvfgEZU9fqg3v5o1VL15ZrK9b/73+9RvRo 6 | KqKUmukV6yAi1XZPxWGGM4T75dTPjq42lwxTvAcwQBdS58+nO2kWbxkSTa0Uq9p2 7 | RJKg3yVvXWO69lWRKQ+UHrmkWFJ7hApKnongeuRjAgMBAAEwDQYJKoZIhvcNAQEE 8 | BQADgYEAStHlk4pBbwiNeQ2/PKTPPXzITYC8Gn0XMbrU94e/6JIKiO7aArq9Espq 9 | nrBSvC14dHcNl6NNvnkEKdQ7hAkcACfBbnOXA/oQvMBd4GD78cH3k0jVDoVUEjil 10 | frLfWlckW6WzpTktt0ZPDdAjJCmKVh0ABHimi7Bo9FC3wIGIe5M= 11 | -----END CERTIFICATE REQUEST----- 12 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/ISOP_ND1.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBSIRFH/UCpp 2 | Xi2I9CG62QzyzsvqfBgPMjAxMjEwMTAwODU0NDVaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FEi2DTgjjfhFbk7lhD6jlBEYApefBBSIRFH/UCppXi2I9CG62QzyzsvqfAIQIuEz 4 | IiCgSN8psr+aMcKbB4AAGA8yMDEyMTAxMDA4NTQ0NVqgERgPMjAxMjEwMTQwODU0 5 | NDVaMA0GCSqGSIb3DQEBBQUAA4IBAQDHKDxWTbAHRXY7HapfhE99T+OSa/AfRYqX 6 | H9yIeMRa5VftXMyvBFuvVm/qLRwK6mxhkiVIvF/Pk5yxMjbm7xPO26D+WHOdQML4 7 | +M4OX9BO76FjZRin5x+4b0Xo5SuSU1ulqfvSZnx+nG+hMbt/3Y7ODCEUWCYFoXNp 8 | U+TXTbv2mwJ9AL8Q/zjL4P8NJHzFJBKjEs+AAVRxTY/5RHHKU9dcm7ux/gsWoDUM 9 | w677Xxzn6icd8mqn72/HmzPnMrLHKKJFe2escbJn7JlV6qbZ9EWbrr+3OH0IJy5I 10 | E3LcPIsNZ//QEc6vS6J+j8ljV8Xne6rS1EmiOwV9NgubvYwDCm4R 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/ISOP_ND2.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBQLWOWLxkwV 2 | N6RAqTCpIb5HNlpW/xgPMjAxMjEwMTAwMDI1NTdaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FOy+ZAvtiWulchtVZmfKU1ZI9ewTBBQLWOWLxkwVN6RAqTCpIb5HNlpW/wIQEaO0 4 | 0OyNt3+doM1dLVEvQoAAGA8yMDEyMTAxMDAwMjU1N1qgERgPMjAxMjEwMTQwMDI1 5 | NTdaMA0GCSqGSIb3DQEBBQUAA4IBAQCJRXcrz4wJe7bqWBHULu/QDXVz74OhSNlu 6 | swI0J4h+UmzJuW1GpdhTwJcTG3ARVwCLKz3evvpvHSumcsop0G3NolryNLP/oGD0 7 | Vf6PbLrJ8v+NxUNugPbtWM985Ti/B2a+XjbzYlH2vS3KOTL4X1zWSL07IQFNXc2h 8 | yHBscKpYgt0mZcFZFxN3NTCNpT6IjJzZzTG9xTYZ3hZdMQQ3DYO+/Hv4J+U1/Ybq 9 | CjuMWRak/0R/BiBDJdGhbThlvV7bNUxYY7DVaOiLER8ptpmhnzlB/vsTAxZqX48J 10 | mJdv2bxoTby98Pm/BMydEA9qcFqyP1XvqhzIY35ngoS/1XREyW7t 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/ND3.ors: -------------------------------------------------------------------------------- 1 | MIIB1AoBAKCCAc0wggHJBgkrBgEFBQcwAQEEggG6MIIBtjCBn6IWBBStvZh6NLQm 2 | 9/rEJlTvA73gJMtUGhgPMjAxMjEwMTExMTM2NDdaMHQwcjBKMAkGBSsOAwIaBQAE 3 | FHyxZlScq9tE7mImFq30ZXv3etWUBBStvZh6NLQm9/rEJlTvA73gJMtUGgIRAKcN 4 | bJWejX5BTb8DmevkCauAABgPMjAxMjEwMTExMTM2NDdaoBEYDzIwMTIxMDE1MTEz 5 | NjQ3WjANBgkqhkiG9w0BAQUFAAOCAQEAfnj3nh6z+USW6VlDWRytWpNmC1ZRwWlg 6 | P2+G4UF4HE8bMJkuiFLcZEVYTxlTYv+xAEpSFxdInFM2Q5C+O6pWOZ9NbikeR4oZ 7 | FTI1kAZ0Uw+YMpVM4ztvKBIpUSqlbi69iNJ9WGF6qzxVeqobSOyrjjwtTsuglUbR 8 | +mshp/SP7Br2IIK+KM1vgsmVExPfGPYANyk7ki/Q8uUnjqkreeSa9WC2iJLGcybW 9 | YavDhYWALebUGukNeedkloYhdjPboPPxDkKNjakwIG8EkbJK7uXewMOHHOFvFTX3 10 | K388me8u5iQf4f3fj6ilEgs6f5Szzmb+vklPX0zIny/TVk2+Az7HmA== 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WIKH_ND1.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBSIRFH/UCpp 2 | Xi2I9CG62QzyzsvqfBgPMjAxMjEwMTEwODQxMTNaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FEi2DTgjjfhFbk7lhD6jlBEYApefBBSJRFH/UCppXi2I9CG62QzyzsvqfAIQIuEz 4 | IiCgSN8psr+aMcKbB4AAGA8yMDEyMTAxMTA4NDExM1qgERgPMjAxMjEwMTUwODQx 5 | MTNaMA0GCSqGSIb3DQEBBQUAA4IBAQCNnhlBMxxh9z5AKfzAxiKs90CfxUsqfYfk 6 | 8XlyF9VIfWRfEwzS6MF1pEzLnghRxTAmjrFgK+sxD9wk+S5Mdgw3nbED9DVFH2Hs 7 | RGKm/t9wkvrYOX6yRQqw6uRvU/5cibMjcyzKB/VQMwk4p4FwSUgBv88A5sTkKr2V 8 | eYdEm34hg2TZVkipPMBiyTyBLXs8D/9oALtnczg4xlTRSjDUvqoXL5haqY4QK2Pv 9 | mNwna6ACkwLmSuMe29UQ8IX2PUB4R5Etni5czyiKGxZLm+4NAhuEwWFNEzCyImPc 10 | 087gHGU1zx+qVSlajqMJ/9ZXYjbt7WiWdhOTGEv4VMn8dHhRUs32 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WIKH_ND2.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBQLWOWLxkwV 2 | N6RAqTCpIb5HNlpW/xgPMjAxMjEwMTAyMzAzMTlaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FOy+ZAvtiWulchtVZmfKU1ZI9ewTBBQMWOWLxkwVN6RAqTCpIb5HNlpW/wIQEaO0 4 | 0OyNt3+doM1dLVEvQoAAGA8yMDEyMTAxMDIzMDMxOVqgERgPMjAxMjEwMTQyMzAz 5 | MTlaMA0GCSqGSIb3DQEBBQUAA4IBAQCHn2nGfEUX/EJruMkTgh7GgB0u9cpAepaD 6 | sPv9gtl3KLUZyR+NbGMIa5/bpoJp0yg1z5VL6CLMusy3AF6Cn2fyaioDxG+yc+gA 7 | PcPFdEqiIMr+TP8s7qcEiE6WZddSSCqCn90VZSCWkpDhnCjDRwJLBBPU3803fdMz 8 | oguvyr7y6Koxik8X/iUe8EpSzAvmm4GZL3veTI+x7IezJSrhCS9zM0ZHjySjoDxC 9 | +ljGH0EuWPTmFEqZVGIq3cuahIYzKItUbYnXU6ipi/2p42qbsFeok7eEN0EYsY1a 10 | vRATHGRmU7Q5HLCq4rQtZC1cis52Mvc9x1W4z/Gt5A3FtgElXXNA 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WINH_ND1.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBSIRFH/UCpp 2 | Xi2I9CG62QzyzsvqfBgPMjAxMjEwMTEwODQxMTNaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FEm2DTgjjfhFbk7lhD6jlBEYApefBBSIRFH/UCppXi2I9CG62QzyzsvqfAIQIuEz 4 | IiCgSN8psr+aMcKbB4AAGA8yMDEyMTAxMTA4NDExM1qgERgPMjAxMjEwMTUwODQx 5 | MTNaMA0GCSqGSIb3DQEBBQUAA4IBAQCNnhlBMxxh9z5AKfzAxiKs90CfxUsqfYfk 6 | 8XlyF9VIfWRfEwzS6MF1pEzLnghRxTAmjrFgK+sxD9wk+S5Mdgw3nbED9DVFH2Hs 7 | RGKm/t9wkvrYOX6yRQqw6uRvU/5cibMjcyzKB/VQMwk4p4FwSUgBv88A5sTkKr2V 8 | eYdEm34hg2TZVkipPMBiyTyBLXs8D/9oALtnczg4xlTRSjDUvqoXL5haqY4QK2Pv 9 | mNwna6ACkwLmSuMe29UQ8IX2PUB4R5Etni5czyiKGxZLm+4NAhuEwWFNEzCyImPc 10 | 087gHGU1zx+qVSlajqMJ/9ZXYjbt7WiWdhOTGEv4VMn8dHhRUs32 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WINH_ND2.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBQLWOWLxkwV 2 | N6RAqTCpIb5HNlpW/xgPMjAxMjEwMTAyMzAzMTlaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FO2+ZAvtiWulchtVZmfKU1ZI9ewTBBQLWOWLxkwVN6RAqTCpIb5HNlpW/wIQEaO0 4 | 0OyNt3+doM1dLVEvQoAAGA8yMDEyMTAxMDIzMDMxOVqgERgPMjAxMjEwMTQyMzAz 5 | MTlaMA0GCSqGSIb3DQEBBQUAA4IBAQCHn2nGfEUX/EJruMkTgh7GgB0u9cpAepaD 6 | sPv9gtl3KLUZyR+NbGMIa5/bpoJp0yg1z5VL6CLMusy3AF6Cn2fyaioDxG+yc+gA 7 | PcPFdEqiIMr+TP8s7qcEiE6WZddSSCqCn90VZSCWkpDhnCjDRwJLBBPU3803fdMz 8 | oguvyr7y6Koxik8X/iUe8EpSzAvmm4GZL3veTI+x7IezJSrhCS9zM0ZHjySjoDxC 9 | +ljGH0EuWPTmFEqZVGIq3cuahIYzKItUbYnXU6ipi/2p42qbsFeok7eEN0EYsY1a 10 | vRATHGRmU7Q5HLCq4rQtZC1cis52Mvc9x1W4z/Gt5A3FtgElXXNA 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WRID_ND1.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBSJRFH/UCpp 2 | Xi2I9CG62QzyzsvqfBgPMjAxMjEwMTEwODQxMTNaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FEi2DTgjjfhFbk7lhD6jlBEYApefBBSIRFH/UCppXi2I9CG62QzyzsvqfAIQIuEz 4 | IiCgSN8psr+aMcKbB4AAGA8yMDEyMTAxMTA4NDExM1qgERgPMjAxMjEwMTUwODQx 5 | MTNaMA0GCSqGSIb3DQEBBQUAA4IBAQCNnhlBMxxh9z5AKfzAxiKs90CfxUsqfYfk 6 | 8XlyF9VIfWRfEwzS6MF1pEzLnghRxTAmjrFgK+sxD9wk+S5Mdgw3nbED9DVFH2Hs 7 | RGKm/t9wkvrYOX6yRQqw6uRvU/5cibMjcyzKB/VQMwk4p4FwSUgBv88A5sTkKr2V 8 | eYdEm34hg2TZVkipPMBiyTyBLXs8D/9oALtnczg4xlTRSjDUvqoXL5haqY4QK2Pv 9 | mNwna6ACkwLmSuMe29UQ8IX2PUB4R5Etni5czyiKGxZLm+4NAhuEwWFNEzCyImPc 10 | 087gHGU1zx+qVSlajqMJ/9ZXYjbt7WiWdhOTGEv4VMn8dHhRUs32 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WRID_ND2.ors: -------------------------------------------------------------------------------- 1 | MIIB0woBAKCCAcwwggHIBgkrBgEFBQcwAQEEggG5MIIBtTCBnqIWBBQMWOWLxkwV 2 | N6RAqTCpIb5HNlpW/xgPMjAxMjEwMTAyMzAzMTlaMHMwcTBJMAkGBSsOAwIaBQAE 3 | FOy+ZAvtiWulchtVZmfKU1ZI9ewTBBQLWOWLxkwVN6RAqTCpIb5HNlpW/wIQEaO0 4 | 0OyNt3+doM1dLVEvQoAAGA8yMDEyMTAxMDIzMDMxOVqgERgPMjAxMjEwMTQyMzAz 5 | MTlaMA0GCSqGSIb3DQEBBQUAA4IBAQCHn2nGfEUX/EJruMkTgh7GgB0u9cpAepaD 6 | sPv9gtl3KLUZyR+NbGMIa5/bpoJp0yg1z5VL6CLMusy3AF6Cn2fyaioDxG+yc+gA 7 | PcPFdEqiIMr+TP8s7qcEiE6WZddSSCqCn90VZSCWkpDhnCjDRwJLBBPU3803fdMz 8 | oguvyr7y6Koxik8X/iUe8EpSzAvmm4GZL3veTI+x7IezJSrhCS9zM0ZHjySjoDxC 9 | +ljGH0EuWPTmFEqZVGIq3cuahIYzKItUbYnXU6ipi/2p42qbsFeok7eEN0EYsY1a 10 | vRATHGRmU7Q5HLCq4rQtZC1cis52Mvc9x1W4z/Gt5A3FtgElXXNA 11 | -------------------------------------------------------------------------------- /lib/utils/normalize_options.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../../"); 2 | 3 | /** 4 | * Normalize an object to match a struct. 5 | * 6 | * @param {String, Object} oid - The oid string or instance. 7 | * @return {Object} An Oid instance. 8 | */ 9 | function normalizeOptions(options, Ctor) { 10 | if (!options) { 11 | return null; 12 | } 13 | 14 | if (options instanceof Ctor) { 15 | return options; 16 | } 17 | 18 | var instance = new Ctor(); 19 | 20 | Object.keys(options).forEach(function(key) { 21 | if (typeof options[key] !== "undefined") { 22 | instance[key] = options[key]; 23 | } 24 | }); 25 | 26 | return instance; 27 | } 28 | 29 | NodeGit.Utils.normalizeOptions = normalizeOptions; 30 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_wait_eof.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_wait_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_wait_eof - wait for the remote to reply to an EOF request 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int 8 | libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel); 9 | 10 | .SH DESCRIPTION 11 | Wait for the remote end to acknowledge an EOF request. 12 | 13 | .SH RETURN VALUE 14 | Return 0 on success or negative on failure. It returns 15 | LIBSSH2_ERROR_EAGAIN when it would otherwise block. While 16 | LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se. 17 | .SH SEE ALSO 18 | .BR libssh2_channel_send_eof(3) 19 | .BR libssh2_channel_eof(3) 20 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_window_read.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_window_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_window_read - convenience macro for \fIlibssh2_channel_window_read_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | unsigned long libssh2_channel_window_read(LIBSSH2_CHANNEL *channel); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_window_read_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_window_read_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_window_read_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_window_read_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_free.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_exit 3 "13 Oct 2010" "libssh2 1.2.8" "libssh2 manual" 2 | .SH NAME 3 | libssh2_free - deallocate libssh2 memory 4 | .SH SYNOPSIS 5 | #include 6 | 7 | void 8 | libssh2_free(LIBSSH2_SESSION *session, void *ptr); 9 | .SH DESCRIPTION 10 | Deallocate memory allocated by earlier call to libssh2 functions. It 11 | uses the memory allocation callbacks provided by the application, if 12 | any. Otherwise, this will just call free(). 13 | 14 | This function is mostly useful under Windows when libssh2 is linked to 15 | one run-time library and the application to another. 16 | .SH AVAILABILITY 17 | Added in libssh2 1.2.8 18 | .SH SEE ALSO 19 | .BR libssh2_session_init_ex(3) 20 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_keepalive_send.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_keepalive_send 3 "13 Apr 2011" "libssh2 1.2.5" "libssh2 manual" 2 | .SH NAME 3 | libssh2_keepalive_send - short function description 4 | .SH SYNOPSIS 5 | #include 6 | .nf 7 | 8 | int libssh2_keepalive_send(LIBSSH2_SESSION *session, 9 | int *seconds_to_next); 10 | .SH DESCRIPTION 11 | Send a keepalive message if needed. \fBseconds_to_next\fP indicates how many 12 | seconds you can sleep after this call before you need to call it again. 13 | .SH RETURN VALUE 14 | Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on I/O errors. 15 | .SH AVAILABILITY 16 | Added in libssh2 1.2.5 17 | .SH SEE ALSO 18 | .BR libssh2_keepalive_config(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_readdir.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_readdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_readdir - convenience macro for \fIlibssh2_sftp_readdir_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_sftp_readdir(LIBSSH2_SFTP_HANDLE *handle, char *buffer, size_t buffer_maxlen, LIBSSH2_SFTP_ATTRIBUTES *attrs); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_sftp_readdir_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_sftp_readdir_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_sftp_readdir_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_sftp_readdir_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/asn1/charmap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Auto generated with chartype.pl script. Mask of various character 3 | * properties 4 | */ 5 | 6 | static const unsigned char char_type[] = { 7 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 9 | 120, 0, 1, 40, 0, 0, 0, 16, 16, 16, 0, 25, 25, 16, 16, 16, 10 | 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 9, 9, 16, 9, 16, 11 | 0, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 12 | 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, 1, 0, 0, 0, 13 | 0, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 14 | 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, 0, 0, 0, 2 15 | }; 16 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DSA_size.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DSA_size - get DSA signature size 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int DSA_size(const DSA *dsa); 12 | 13 | =head1 DESCRIPTION 14 | 15 | This function returns the size of an ASN.1 encoded DSA signature in 16 | bytes. It can be used to determine how much memory must be allocated 17 | for a DSA signature. 18 | 19 | Bq> must not be B. 20 | 21 | =head1 RETURN VALUE 22 | 23 | The size in bytes. 24 | 25 | =head1 SEE ALSO 26 | 27 | L, L 28 | 29 | =head1 HISTORY 30 | 31 | DSA_size() is available in all versions of SSLeay and OpenSSL. 32 | 33 | =cut 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/ISOP_ND3.ors: -------------------------------------------------------------------------------- 1 | MIIB1AoBAKCCAc0wggHJBgkrBgEFBQcwAQEEggG6MIIBtjCBn6IWBBStvZh6NLQm 2 | 9/rEJlTvA73gJMtUGhgPMjAxMjEwMDkxNjAxNTNaMHQwcjBKMAkGBSsOAwIaBQAE 3 | FHyxZlScq9tE7mImFq30ZXv3etWUBBStvZh6NLQm9/rEJlTvA73gJMtUGgIRAKcN 4 | bJWejX5BTb8DmevkCauAABgPMjAxMjEwMDkxNjAxNTNaoBEYDzIwMTIxMDEzMTYw 5 | MTUzWjANBgkqhkiG9w0BAQUFAAOCAQEAFnJAzuT8P4KKyTI6sdj5HkQ352qEu5CN 6 | K9M2kU/eg9kPfwLv8z3yArobwgx+/IDRajbVAKrk8UPCGUqkDc0OiU5c0+jpn+nT 7 | 20VVCtWsBSWDfzKqYln/NGrblhv+/iuFZJpyfud5nWguW5nogPC8IAfgt9FMDMl6 8 | wlQWLSWEkgAJWvhNR3nzgvyMnuDuMIVQgB9/+vAIxA7nlpEEh6KTswyGqE9+u1yC 9 | kvrz4PwKZQMT6r1eRCLs6NaagOZT84QHhZ6TAA+QHjfK406KL8F9mFgbGKbW+st2 10 | QHm+giUhrgZMv+1Yaxe34BjDS439LCPjdZ29On8FeZr3F55T+s3VzA== 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WIKH_ND3.ors: -------------------------------------------------------------------------------- 1 | MIIB1AoBAKCCAc0wggHJBgkrBgEFBQcwAQEEggG6MIIBtjCBn6IWBBStvZh6NLQm 2 | 9/rEJlTvA73gJMtUGhgPMjAxMjEwMTExMTM2NDdaMHQwcjBKMAkGBSsOAwIaBQAE 3 | FHyxZlScq9tE7mImFq30ZXv3etWUBBSuvZh6NLQm9/rEJlTvA73gJMtUGgIRAKcN 4 | bJWejX5BTb8DmevkCauAABgPMjAxMjEwMTExMTM2NDdaoBEYDzIwMTIxMDE1MTEz 5 | NjQ3WjANBgkqhkiG9w0BAQUFAAOCAQEAfnj3nh6z+USW6VlDWRytWpNmC1ZRwWlg 6 | P2+G4UF4HE8bMJkuiFLcZEVYTxlTYv+xAEpSFxdInFM2Q5C+O6pWOZ9NbikeR4oZ 7 | FTI1kAZ0Uw+YMpVM4ztvKBIpUSqlbi69iNJ9WGF6qzxVeqobSOyrjjwtTsuglUbR 8 | +mshp/SP7Br2IIK+KM1vgsmVExPfGPYANyk7ki/Q8uUnjqkreeSa9WC2iJLGcybW 9 | YavDhYWALebUGukNeedkloYhdjPboPPxDkKNjakwIG8EkbJK7uXewMOHHOFvFTX3 10 | K388me8u5iQf4f3fj6ilEgs6f5Szzmb+vklPX0zIny/TVk2+Az7HmA== 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WINH_ND3.ors: -------------------------------------------------------------------------------- 1 | MIIB1AoBAKCCAc0wggHJBgkrBgEFBQcwAQEEggG6MIIBtjCBn6IWBBStvZh6NLQm 2 | 9/rEJlTvA73gJMtUGhgPMjAxMjEwMTExMTM2NDdaMHQwcjBKMAkGBSsOAwIaBQAE 3 | FH2xZlScq9tE7mImFq30ZXv3etWUBBStvZh6NLQm9/rEJlTvA73gJMtUGgIRAKcN 4 | bJWejX5BTb8DmevkCauAABgPMjAxMjEwMTExMTM2NDdaoBEYDzIwMTIxMDE1MTEz 5 | NjQ3WjANBgkqhkiG9w0BAQUFAAOCAQEAfnj3nh6z+USW6VlDWRytWpNmC1ZRwWlg 6 | P2+G4UF4HE8bMJkuiFLcZEVYTxlTYv+xAEpSFxdInFM2Q5C+O6pWOZ9NbikeR4oZ 7 | FTI1kAZ0Uw+YMpVM4ztvKBIpUSqlbi69iNJ9WGF6qzxVeqobSOyrjjwtTsuglUbR 8 | +mshp/SP7Br2IIK+KM1vgsmVExPfGPYANyk7ki/Q8uUnjqkreeSa9WC2iJLGcybW 9 | YavDhYWALebUGukNeedkloYhdjPboPPxDkKNjakwIG8EkbJK7uXewMOHHOFvFTX3 10 | K388me8u5iQf4f3fj6ilEgs6f5Szzmb+vklPX0zIny/TVk2+Az7HmA== 11 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/test/ocsp-tests/WRID_ND3.ors: -------------------------------------------------------------------------------- 1 | MIIB1AoBAKCCAc0wggHJBgkrBgEFBQcwAQEEggG6MIIBtjCBn6IWBBSuvZh6NLQm 2 | 9/rEJlTvA73gJMtUGhgPMjAxMjEwMTAxMzA3NDZaMHQwcjBKMAkGBSsOAwIaBQAE 3 | FHyxZlScq9tE7mImFq30ZXv3etWUBBStvZh6NLQm9/rEJlTvA73gJMtUGgIRAKcN 4 | bJWejX5BTb8DmevkCauAABgPMjAxMjEwMTAxMzA3NDZaoBEYDzIwMTIxMDE0MTMw 5 | NzQ2WjANBgkqhkiG9w0BAQUFAAOCAQEAA70+GYJoFuUBwIN9KHMqmOOtnmoLBBlm 6 | HL2Su70ZEqSmL4zTt3iHY3m2YaNYSPphgDlQ4lY8zGAkCSrZ3ulpJun3RRy+gD29 7 | 0ks155tChMbYNZrFm46vKWabBjh2p+623daymlcbgizi5Z+P4oJL68VrOqh+DArE 8 | MpHH16BTGaF+bAjzTRSbS90xUReqwnnEpRBrmcQVo4uKpSkbyrx7iMLqsJ2vGpgh 9 | xqj1kNPT9g3+gegmdU9QpFV0l9ZV8X/f0uz5nT4I0NL81d/KDHGx2rd+bftLODeL 10 | ZAWAzFbr5B5EMqPGoh/SQXpcuVOqMHjh8fi8PBXBcitlIFzdDKXDvA== 11 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_write_stderr.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_write_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_write_stderr - convenience macro for \fIlibssh2_channel_write_ex(3)\fP 4 | .SH SYNOPSIS 5 | .nf 6 | #include 7 | 8 | ssize_t libssh2_channel_write_stderr(LIBSSH2_CHANNEL *channel, const char *buf, size_t buflen); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_channel_write_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_channel_write_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_channel_write_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_channel_write_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_session_disconnect.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_session_disconnect 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_session_disconnect - convenience macro for \fIlibssh2_session_disconnect_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_session_disconnect(LIBSSH2_SESSION *session, const char *description); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_session_disconnect_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_session_disconnect_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_session_disconnect_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_session_disconnect_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_agent_connect.3: -------------------------------------------------------------------------------- 1 | .\" 2 | .\" Copyright (c) 2009 by Daiki Ueno 3 | .\" 4 | .TH libssh2_agent_connect 3 "23 Dec 2009" "libssh2 1.2" "libssh2 manual" 5 | .SH NAME 6 | libssh2_agent_connect - connect to an ssh-agent 7 | .SH SYNOPSIS 8 | #include 9 | 10 | int libssh2_agent_connect(LIBSSH2_AGENT *agent); 11 | .SH DESCRIPTION 12 | Connect to an ssh-agent running on the system. 13 | 14 | Call \fBlibssh2_agent_disconnect(3)\fP to close the connection after 15 | you're doing using it. 16 | .SH RETURN VALUE 17 | Returns 0 if succeeded, or a negative value for error. 18 | .SH AVAILABILITY 19 | Added in libssh2 1.2 20 | .SH SEE ALSO 21 | .BR libssh2_agent_init(3) 22 | .BR libssh2_agent_disconnect(3) 23 | 24 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_request_pty.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_request_pty 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_request_pty - convenience macro for \fIlibssh2_channel_request_pty_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_request_pty(LIBSSH2_SESSION *session, const char *term); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_request_pty_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_request_pty_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_request_pty_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_request_pty_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_subsystem.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_subsystem 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_subsystem - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_subsystem(LIBSSH2_CHANNEL *channel, const char *subsystem); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_process_startup(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_process_startup(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_process_startup(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_process_startup(3) 18 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_window_write.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_window_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_window_write - convenience macro for \fIlibssh2_channel_window_write_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | unsigned long libssh2_channel_window_write(LIBSSH2_CHANNEL *channel); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_window_write_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_window_write_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_window_write_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_window_write_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_ASN1_OBJECT.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_ASN1_OBJECT, i2d_ASN1_OBJECT - ASN1 OBJECT IDENTIFIER functions 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, unsigned char **pp, long length); 12 | int i2d_ASN1_OBJECT(ASN1_OBJECT *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode an ASN1 OBJECT IDENTIFIER. 17 | 18 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 19 | described in the L manual page. 20 | 21 | =head1 SEE ALSO 22 | 23 | L 24 | 25 | =head1 HISTORY 26 | 27 | TBA 28 | 29 | =cut 30 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_DHparams.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_DHparams, i2d_DHparams - PKCS#3 DH parameter functions. 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | DH *d2i_DHparams(DH **a, unsigned char **pp, long length); 12 | int i2d_DHparams(DH *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode PKCS#3 DH parameters using the 17 | DHparameter structure described in PKCS#3. 18 | 19 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 20 | described in the L manual page. 21 | 22 | =head1 SEE ALSO 23 | 24 | L 25 | 26 | =head1 HISTORY 27 | 28 | TBA 29 | 30 | =cut 31 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/DH_size.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | DH_size - get Diffie-Hellman prime size 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | int DH_size(DH *dh); 12 | 13 | =head1 DESCRIPTION 14 | 15 | This function returns the Diffie-Hellman size in bytes. It can be used 16 | to determine how much memory must be allocated for the shared secret 17 | computed by DH_compute_key(). 18 | 19 | Bp> must not be B. 20 | 21 | =head1 RETURN VALUE 22 | 23 | The size in bytes. 24 | 25 | =head1 SEE ALSO 26 | 27 | L, L 28 | 29 | =head1 HISTORY 30 | 31 | DH_size() is available in all versions of SSLeay and OpenSSL. 32 | 33 | =cut 34 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/util/mkdir-p.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | # mkdir-p.pl 4 | 5 | # On some systems, the -p option to mkdir (= also create any missing parent 6 | # directories) is not available. 7 | 8 | my $arg; 9 | 10 | foreach $arg (@ARGV) { 11 | $arg =~ tr|\\|/|; 12 | &do_mkdir_p($arg); 13 | } 14 | 15 | 16 | sub do_mkdir_p { 17 | local($dir) = @_; 18 | 19 | $dir =~ s|/*\Z(?!\n)||s; 20 | 21 | if (-d $dir) { 22 | return; 23 | } 24 | 25 | if ($dir =~ m|[^/]/|s) { 26 | local($parent) = $dir; 27 | $parent =~ s|[^/]*\Z(?!\n)||s; 28 | 29 | do_mkdir_p($parent); 30 | } 31 | 32 | mkdir($dir, 0777) || die "Cannot create directory $dir: $!\n"; 33 | print "created directory `$dir'\n"; 34 | } 35 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_tell64.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_tell64 3 "22 Dec 2008" "libssh2 1.0" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_tell64 - get the current read/write position indicator for a file 4 | .SH SYNOPSIS 5 | #include 6 | #include 7 | 8 | libssh2_uint64_t 9 | libssh2_sftp_tell64(LIBSSH2_SFTP_HANDLE *handle); 10 | 11 | .SH DESCRIPTION 12 | \fIhandle\fP - SFTP File Handle as returned by \fBlibssh2_sftp_open_ex(3)\fP 13 | 14 | Identify the current offset of the file handle's internal pointer. 15 | .SH RETURN VALUE 16 | Current offset from beginning of file in bytes. 17 | .SH AVAILABILITY 18 | Added in libssh2 1.0 19 | .SH SEE ALSO 20 | .BR libssh2_sftp_open_ex(3), 21 | .BR libssh2_sftp_tell(3) 22 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_forward_listen.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_forward_listen 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_forward_listen - convenience macro for \fIlibssh2_channel_forward_listen_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_forward_listen(LIBSSH2_SESSION *session, int port); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_forward_listen_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_forward_listen_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_forward_listen_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_forward_listen_ex(3) 18 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/shlib/Makefile.hpux10-cc: -------------------------------------------------------------------------------- 1 | # Makefile.hpux-cc 2 | 3 | major=0.9.8 4 | 5 | slib=libssl 6 | sh_slib=$(slib).sl.$(major) 7 | 8 | clib=libcrypto 9 | sh_clib=$(clib).sl.$(major) 10 | 11 | all : $(clib).sl $(slib).sl 12 | 13 | 14 | $(clib)_pic.a : $(clib).a 15 | echo "Copying $? to $@" 16 | cp -p $? $@ 17 | 18 | $(slib)_pic.a : $(slib).a 19 | echo "Copying $? to $@" 20 | cp -p $? $@ 21 | 22 | $(sh_clib) : $(clib)_pic.a 23 | ld -b -s -z +h $@ -o $@ -Fl $(clib)_pic.a -ldld -lc 24 | 25 | $(clib).sl : $(sh_clib) 26 | rm -f $@ 27 | ln -s $? $@ 28 | 29 | $(sh_slib) : $(slib)_pic.a $(clib).sl 30 | ld -b -s -z +h $@ -o $@ -Fl $(slib)_pic.a -ldld -lc 31 | 32 | $(slib).sl : $(sh_slib) 33 | rm -f $@ 34 | ln -s $? $@ 35 | -------------------------------------------------------------------------------- /lib/diff_line.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | var DiffLine = NodeGit.DiffLine; 3 | 4 | var _rawContent = DiffLine.prototype.content; 5 | 6 | /** 7 | * The relevant line 8 | * @return {String} 9 | */ 10 | DiffLine.prototype.content = function() { 11 | if (!this._cache) { 12 | this._cache = {}; 13 | } 14 | 15 | if (!this._cache.content) { 16 | this._cache.content = new Buffer(this.rawContent()) 17 | .slice(0, this.contentLen()) 18 | .toString("utf8"); 19 | } 20 | 21 | return this._cache.content; 22 | }; 23 | 24 | /** 25 | * The non utf8 translated text 26 | * @return {String} 27 | */ 28 | DiffLine.prototype.rawContent = function() { 29 | return _rawContent.call(this); 30 | }; 31 | 32 | NodeGit.DiffLine = DiffLine; 33 | -------------------------------------------------------------------------------- /test/encrypted_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6x3pGhFSz+CT5bjeIWNvYNh4BBNFiGn+YzT09we58vwnyHWb940e6SJalrTqLH+6QWAXMcZpSZFBwnYia9Ja/XE2UWwxQU5rryGdc5Tju/u1kB0HuMjGpQDmFSpVrJcfRS5wXJCtoka5O0qvPUUNVAK9k/6HVX+2CGbafNjOMXnNtWgKKWlDd5eQAk3Ok3LvSrTv0kp9S3C4KdO8cz9NvtlWXHTFit94kOIzaL/v10f2u6V93VvV5jckJwZhjfyH1Q2WS/+j0ck7WqyGEBltPz6dubJipqrlAHRUacmWtI0ODdsoNwUrKCidiEkwheWA2SmbIdkTInt5vrcYvbOdNrn9aJ1aII15PSLE7eCqNdasEkp2G75hQ5DWYnprxVGY2FzqCCg2DwYev1qe4MzJ+m9PrUL+FKCrkhiCgpaOT+Noz5gX1gRvYtvg+BeRA2uoIi7rK1A3CapKRJmVM7kukgCZ5ZSMgXgXPtX4ttUgu43jVjEdcjrkoZqBSH8l72cmEcIyjahuJZqg859CyQbX5qAGDwxdz7Qjj0gwGU//bNd3/vZMzWEfkN49iDpYjipLZzg4MR946kFTT90X9S5ryjSXkyFZJWSyks8K8BOztL/o8avAu4RUn/4+ipISSz+5FoOi/pkH+KkvIoSzlcuGxAigDyUlev8wxn/FQj2tmGQ== your_email@example.com 2 | -------------------------------------------------------------------------------- /vendor/openssl/asm_obsolete/x64-elf-gas/bn/rsaz-avx2.s: -------------------------------------------------------------------------------- 1 | .text 2 | 3 | .globl rsaz_avx2_eligible 4 | .type rsaz_avx2_eligible,@function 5 | rsaz_avx2_eligible: 6 | xorl %eax,%eax 7 | .byte 0xf3,0xc3 8 | .size rsaz_avx2_eligible,.-rsaz_avx2_eligible 9 | 10 | .globl rsaz_1024_sqr_avx2 11 | .globl rsaz_1024_mul_avx2 12 | .globl rsaz_1024_norm2red_avx2 13 | .globl rsaz_1024_red2norm_avx2 14 | .globl rsaz_1024_scatter5_avx2 15 | .globl rsaz_1024_gather5_avx2 16 | .type rsaz_1024_sqr_avx2,@function 17 | rsaz_1024_sqr_avx2: 18 | rsaz_1024_mul_avx2: 19 | rsaz_1024_norm2red_avx2: 20 | rsaz_1024_red2norm_avx2: 21 | rsaz_1024_scatter5_avx2: 22 | rsaz_1024_gather5_avx2: 23 | .byte 0x0f,0x0b 24 | .byte 0xf3,0xc3 25 | .size rsaz_1024_sqr_avx2,.-rsaz_1024_sqr_avx2 26 | -------------------------------------------------------------------------------- /test/tests/packbuilder.js: -------------------------------------------------------------------------------- 1 | var assert = require("assert"); 2 | var path = require("path"); 3 | var local = path.join.bind(path, __dirname); 4 | 5 | describe("Packbuilder", function() { 6 | var NodeGit = require("../../"); 7 | var Repository = NodeGit.Repository; 8 | var Packbuilder = NodeGit.Packbuilder; 9 | 10 | var reposPath = local("../repos/workdir"); 11 | 12 | beforeEach(function() { 13 | var test = this; 14 | 15 | return Repository.open(reposPath).then(function(repository) { 16 | test.repository = repository; 17 | }); 18 | }); 19 | 20 | it("can be initialized", function() { 21 | var packBuilder = Packbuilder.create(this.repository); 22 | 23 | assert(packBuilder instanceof Packbuilder); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /vendor/openssl/asm_obsolete/x64-win32-masm/bn/rsaz-avx2.asm: -------------------------------------------------------------------------------- 1 | OPTION DOTNAME 2 | .text$ SEGMENT ALIGN(256) 'CODE' 3 | 4 | PUBLIC rsaz_avx2_eligible 5 | 6 | rsaz_avx2_eligible PROC PUBLIC 7 | xor eax,eax 8 | DB 0F3h,0C3h ;repret 9 | rsaz_avx2_eligible ENDP 10 | 11 | PUBLIC rsaz_1024_sqr_avx2 12 | PUBLIC rsaz_1024_mul_avx2 13 | PUBLIC rsaz_1024_norm2red_avx2 14 | PUBLIC rsaz_1024_red2norm_avx2 15 | PUBLIC rsaz_1024_scatter5_avx2 16 | PUBLIC rsaz_1024_gather5_avx2 17 | 18 | rsaz_1024_sqr_avx2 PROC PUBLIC 19 | rsaz_1024_mul_avx2:: 20 | rsaz_1024_norm2red_avx2:: 21 | rsaz_1024_red2norm_avx2:: 22 | rsaz_1024_scatter5_avx2:: 23 | rsaz_1024_gather5_avx2:: 24 | DB 00fh,00bh 25 | DB 0F3h,0C3h ;repret 26 | rsaz_1024_sqr_avx2 ENDP 27 | 28 | .text$ ENDS 29 | END 30 | -------------------------------------------------------------------------------- /lib/object.js: -------------------------------------------------------------------------------- 1 | var NodeGit = require("../"); 2 | 3 | var Obj = NodeGit.Object; 4 | 5 | /** 6 | * Is this object a blob? 7 | * @return {Boolean} 8 | */ 9 | Obj.prototype.isBlob = function() { 10 | return this.type() == Obj.TYPE.BLOB; 11 | }; 12 | 13 | /** 14 | * Is this object a commit? 15 | * @return {Boolean} 16 | */ 17 | Obj.prototype.isCommit = function() { 18 | return this.type() == Obj.TYPE.COMMIT; 19 | }; 20 | 21 | /** 22 | * Is this object a tag? 23 | * @return {Boolean} 24 | */ 25 | Obj.prototype.isTag = function() { 26 | return this.type() == Obj.TYPE.TAG; 27 | }; 28 | 29 | /** 30 | * Is this object a tree? 31 | * @return {Boolean} 32 | */ 33 | Obj.prototype.isTree = function() { 34 | return this.type() == Obj.TYPE.TREE; 35 | }; 36 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/crypto/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_direct_tcpip.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_direct_tcpip 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_direct_tcpip - convenience macro for \fIlibssh2_channel_direct_tcpip_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | LIBSSH2_CHANNEL * 8 | libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session, const char *host, int port); 9 | 10 | .SH DESCRIPTION 11 | This is a macro defined in a public libssh2 header file that is using the 12 | underlying function \fIlibssh2_channel_direct_tcpip_ex(3)\fP. 13 | .SH RETURN VALUE 14 | See \fIlibssh2_channel_direct_tcpip_ex(3)\fP 15 | .SH ERRORS 16 | See \fIlibssh2_channel_direct_tcpip_ex(3)\fP 17 | .SH SEE ALSO 18 | .BR libssh2_channel_direct_tcpip_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_get_exit_status.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_get_exit_status - get the remote exit code 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int 8 | libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel) 9 | 10 | .SH DESCRIPTION 11 | \fIchannel\fP - Closed channel stream to retrieve exit status from. 12 | 13 | Returns the exit code raised by the process running on the remote host at 14 | the other end of the named channel. Note that the exit status may not be 15 | available if the remote end has not yet set its status to closed. 16 | 17 | .SH RETURN VALUE 18 | Returns 0 on failure, otherwise the \fIExit Status\fP reported by remote host 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_poll_channel_read.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_poll_channel_read 3 "14 Dec 2006" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_poll_channel_read - check if data is available 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_poll_channel_read(LIBSSH2_CHANNEL *channel, int extended); 8 | .SH DESCRIPTION 9 | This function is deprecated. Do note use. 10 | 11 | \fIlibssh2_poll_channel_read(3)\fP checks to see if data is available in the 12 | \fIchannel\fP's read buffer. No attempt is made with this method to see if 13 | packets are available to be processed. For full polling support, use 14 | \fIlibssh2_poll(3)\fP. 15 | .SH RETURN VALUE 16 | Returns 1 when data is available and 0 otherwise. 17 | .SH SEE ALSO 18 | .BR libssh2_poll(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_session_free.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_session_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_session_free - frees resources associated with a session instance 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int 8 | libssh2_session_free(LIBSSH2_SESSION *session); 9 | .SH DESCRIPTION 10 | Frees all resources associated with a session instance. Typically called after 11 | .BR libssh2_session_disconnect_ex(3) 12 | .SH RETURN VALUE 13 | Return 0 on success or negative on failure. It returns 14 | LIBSSH2_ERROR_EAGAIN when it would otherwise block. While 15 | LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se. 16 | .SH SEE ALSO 17 | .BR libssh2_session_init_ex(3) 18 | .BR libssh2_session_disconnect_ex(3) 19 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_session_get_timeout.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_session_get_timeout 3 "4 May 2011" "libssh2 1.2.9" "libssh2 manual" 2 | .SH NAME 3 | libssh2_session_get_timeout - get the timeout for blocking functions 4 | .SH SYNOPSIS 5 | #include 6 | .nf 7 | long libssh2_session_get_timeout(LIBSSH2_SESSION *session); 8 | .SH DESCRIPTION 9 | Returns the \fBtimeout\fP (in milliseconds) for how long a blocking the 10 | libssh2 function calls may wait until they consider the situation an error and 11 | return LIBSSH2_ERROR_TIMEOUT. 12 | 13 | By default libssh2 has no timeout (zero) for blocking functions. 14 | .SH RETURN VALUE 15 | The value of the timeout setting. 16 | .SH AVAILABILITY 17 | Added in 1.2.9 18 | .SH SEE ALSO 19 | .BR libssh2_session_set_timeout(3) 20 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_tell.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_tell 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_tell - get the current read/write position indicator for a file 4 | .SH SYNOPSIS 5 | #include 6 | #include 7 | 8 | size_t 9 | libssh2_sftp_tell(LIBSSH2_SFTP_HANDLE *handle); 10 | 11 | .SH DESCRIPTION 12 | \fIhandle\fP - SFTP File Handle as returned by \fBlibssh2_sftp_open_ex(3)\fP. 13 | 14 | Returns the current offset of the file handle's internal pointer. Note that 15 | this is now deprecated. Use the newer \fBlibssh2_sftp_tell64(3)\fP instead! 16 | .SH RETURN VALUE 17 | Current offset from beginning of file in bytes. 18 | .SH SEE ALSO 19 | .BR libssh2_sftp_open_ex(3), 20 | .BR libssh2_sftp_tell64(3) 21 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/d2i_X509_SIG.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | d2i_X509_SIG, i2d_X509_SIG - DigestInfo functions. 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | X509_SIG *d2i_X509_SIG(X509_SIG **a, unsigned char **pp, long length); 12 | int i2d_X509_SIG(X509_SIG *a, unsigned char **pp); 13 | 14 | =head1 DESCRIPTION 15 | 16 | These functions decode and encode an X509_SIG structure which is 17 | equivalent to the B structure defined in PKCS#1 and PKCS#7. 18 | 19 | Othewise these behave in a similar way to d2i_X509() and i2d_X509() 20 | described in the L manual page. 21 | 22 | =head1 SEE ALSO 23 | 24 | L 25 | 26 | =head1 HISTORY 27 | 28 | TBA 29 | 30 | =cut 31 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/include/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | # define HEADER_EBCDIC_H 5 | 6 | # include 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Avoid name clashes with other applications */ 13 | # define os_toascii _openssl_os_toascii 14 | # define os_toebcdic _openssl_os_toebcdic 15 | # define ebcdic2ascii _openssl_ebcdic2ascii 16 | # define ascii2ebcdic _openssl_ascii2ebcdic 17 | 18 | extern const unsigned char os_toascii[256]; 19 | extern const unsigned char os_toebcdic[256]; 20 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 21 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_sftp_readlink.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_sftp_readlink 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_sftp_readlink - convenience macro for \fIlibssh2_sftp_symlink_ex(3)\fP 4 | .SH SYNOPSIS 5 | .nf 6 | #include 7 | 8 | #define libssh2_sftp_readlink(sftp, path, target, maxlen) \\ 9 | libssh2_sftp_symlink_ex((sftp), (path), strlen(path), (target), (maxlen), \\ 10 | LIBSSH2_SFTP_READLINK) 11 | .SH DESCRIPTION 12 | This is a macro defined in a public libssh2 header file that is using the 13 | underlying function \fIlibssh2_sftp_symlink_ex(3)\fP. 14 | .SH RETURN VALUE 15 | See \fIlibssh2_sftp_symlink_ex(3)\fP 16 | .SH ERRORS 17 | See \fIlibssh2_sftp_symlink_ex(3)\fP 18 | .SH SEE ALSO 19 | .BR libssh2_sftp_symlink_ex(3) 20 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/BIO_f_null.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | BIO_f_null - null filter 6 | 7 | =head1 SYNOPSIS 8 | 9 | #include 10 | 11 | BIO_METHOD * BIO_f_null(void); 12 | 13 | =head1 DESCRIPTION 14 | 15 | BIO_f_null() returns the null filter BIO method. This is a filter BIO 16 | that does nothing. 17 | 18 | All requests to a null filter BIO are passed through to the next BIO in 19 | the chain: this means that a BIO chain containing a null filter BIO 20 | behaves just as though the BIO was not there. 21 | 22 | =head1 NOTES 23 | 24 | As may be apparent a null filter BIO is not particularly useful. 25 | 26 | =head1 RETURN VALUES 27 | 28 | BIO_f_null() returns the null filter BIO method. 29 | 30 | =head1 SEE ALSO 31 | 32 | TBA 33 | -------------------------------------------------------------------------------- /vendor/openssl/openssl/doc/crypto/OPENSSL_Applink.pod: -------------------------------------------------------------------------------- 1 | =pod 2 | 3 | =head1 NAME 4 | 5 | OPENSSL_Applink - glue between OpenSSL BIO and Win32 compiler run-time 6 | 7 | =head1 SYNOPSIS 8 | 9 | __declspec(dllexport) void **OPENSSL_Applink(); 10 | 11 | =head1 DESCRIPTION 12 | 13 | OPENSSL_Applink is application-side interface which provides a glue 14 | between OpenSSL BIO layer and Win32 compiler run-time environment. 15 | Even though it appears at application side, it's essentially OpenSSL 16 | private interface. For this reason application developers are not 17 | expected to implement it, but to compile provided module with 18 | compiler of their choice and link it into the target application. 19 | The referred module is available as /ms/applink.c. 20 | 21 | =cut 22 | -------------------------------------------------------------------------------- /vendor/libssh2/docs/libssh2_channel_request_pty_size.3: -------------------------------------------------------------------------------- 1 | .TH libssh2_channel_request_pty_size 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2 manual" 2 | .SH NAME 3 | libssh2_channel_request_pty_size - convenience macro for \fIlibssh2_channel_request_pty_size_ex(3)\fP calls 4 | .SH SYNOPSIS 5 | #include 6 | 7 | int libssh2_channel_request_pty_size(LIBSSH2_CHANNEL *channel, int width, int height); 8 | 9 | .SH DESCRIPTION 10 | This is a macro defined in a public libssh2 header file that is using the 11 | underlying function \fIlibssh2_channel_request_pty_size_ex(3)\fP. 12 | .SH RETURN VALUE 13 | See \fIlibssh2_channel_request_pty_size_ex(3)\fP 14 | .SH ERRORS 15 | See \fIlibssh2_channel_request_pty_size_ex(3)\fP 16 | .SH SEE ALSO 17 | .BR libssh2_channel_request_pty_size_ex(3) 18 | --------------------------------------------------------------------------------